Receive API HTTP Post Fields
- This topic has 11 replies, 3 voices, and was last updated 10 years, 1 month ago by
fleure fleure.
-
AuthorPosts
-
November 9, 2012 at 7:12 am #2852
Sando Johnson
ParticipantHi, is it possible to change the HTTP Post fields to replace the XMLDATA field so that messages can properly post to my HTTP Server? And also, can I possible convert it to a HTTP GET instead?
Sando
November 9, 2012 at 8:34 pm #4375Bryon Davis
ModeratorHi Sando,
Sorry, it’s not currently possible to change the format of Receive API data.
Regards,
Bryon
January 26, 2015 at 10:40 am #6194fleure fleure
Participanthollo , can you help me please to configure multimodem isms for Receive API ( with TCP) and how i can test this please.
thank you.January 26, 2015 at 11:00 am #6196Bryon Davis
ModeratorHi fleure,
Which Receive API mode do you want to use, Polling or Non-Polling?With Non-Polling, the iSMS will automatically deliver incoming messages to a server when they are received.
With Polling, your software would need to send a recvmsg request to get the unread incoming sms messages.
For more information see the MultiModem iSMS Administrator’s Guide’s “Appendix A – Application Programming Interface (API)” section. See link below.
http://www.multitech.com/manuals/s000461f.pdf
Regards,
BryonJanuary 27, 2015 at 4:46 am #6201fleure fleure
ParticipantHello and thank you for your return;
here is the My Test :
I send an SMS via my phone to number configured on the modem and I run a telnet recvmsg command to see what I recovers but I get an error (System Busy)January 27, 2015 at 9:23 am #6203Bryon Davis
Moderatorfleure,
It looks like you are using Polling mode for the Receive API. Make sure that “Non Polling Receive API Status” is disabled in the SMS API menu. If using TCP, also select TCP as the Protocol and click save.In my testing I would receive a “System Busy” error when sending a TCP recvmsg request if “Non Polling Receive API Status” was enabled. Once I disabled this, then I was able to successfully send the TCP recvmsg request.
The format of the recvmsg request is:
GET /recvmsg?user=admin&passwd=admin[&count=][&from][&fdate=][&tdate=][&ftime=][&ttime=][&text=]
An example of a simple TCP recvmsg request would be (requests all unread received sms messages):
/recvmsg?user=admin&passwd=admin
Note: that the above request must end with a carriage return and linefeed.
Bryon
February 4, 2015 at 8:02 am #6221fleure fleure
ParticipantHello, i use the non polling mode to receive message ( using TCP socket) but i must answer the mutiModem isms and send an ok response for it stop to send me all the old messages.
can you give me the format of response to send to the Multimodem isms.
thank you.February 4, 2015 at 9:09 am #6224Bryon Davis
Moderatorfleure,
The TCP response should be “OK” (without the quotes).What firmware version are you using? There is a known issue with v1.50.7 where the OK response isn’t always recognized, and the same messages are repeatedly sent.
The firmware at the links below is the latest firmware and includes a fix for this:
Bryon
February 4, 2015 at 10:37 am #6259fleure fleure
Participantthank you bryon. i want juste the format of response to send to multi Modem isms if this possible to send ot me please.
thank you.February 16, 2015 at 3:02 am #6349fleure fleure
Participanthello, i d’ont find the solution for my problem. i d’ont know how send ok respons to multimodem isms.
please can you help me.
thank you.February 16, 2015 at 9:11 am #6351Bryon Davis
Moderatorfleure,
What programming language are you using?Bryon
February 16, 2015 at 9:28 am #6354fleure fleure
Participanti use java language.
i juste search the format of answer to send to the multi modem for the ok response. -
AuthorPosts
- You must be logged in to reply to this topic.