No data

Home Forums iSMS No data

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #4693
    Stuart Bercun
    Participant

    I am using a 4 channel unit. The message is received per the log:

    Sep 16 21:51:30 boa: recvlivelog: Non-polling message [index: 1]: 21:51:28, 13/09/16, +16093347339, Twentyone
    Sep 16 21:51:30 boa: recvlivelog: Non-Polling delivery response from server: HTTP/1.1 200 OK
    Sep 16 21:51:30 boa: recvlivelog: Non-Polling Receive API Delivery was successful.

    However the receive.txt only contains the delimiters as if no data was passed.

    Any ideas?

    #4694
    Bryon Davis
    Moderator

    Hi Stuart,
    It’s difficult to tell with the limited information. It appears from the logs that the message Twentyone was received and delivered.

    Is this a new setup? Has it ever successfully delivered a message to your Non-polling server?

    Regards,
    Bryon

    #4695
    Stuart Bercun
    Participant

    Thank you for the response.
    This is a brand new installation.

    I am trying to determine if it is the Apache server that is causing the problem. I am now looking in the manual to see if I can simulate a message to the server, properly formatted, to see if it functions.

    The messages are being received properly at the device, but something during the transmission to the Apache seems to be going awry.

    #4696
    Bryon Davis
    Moderator

    We have some sample code on the FTP site. Try using the PHP sample code as a test. It is a simple program that uses Apache. The HowTo.rtf file explains how to use the sample code.

    The PHP sample code it in the folder at the link below:
    https://webfiles.multitech.com/engineering/sample-code/sms-finder/PHP/

    #4697
    Stuart Bercun
    Participant

    I should have been clearer.

    I am using the sample code from the web site.

    It is interesting that the receive.txt file IS being written, so I am comfortable the the php script is running. I believe that the $data is blank.

    Can you point me to the format of the http syntax that the device sends Apache?

    Many thanks.

    #4698
    Bryon Davis
    Moderator

    Here’s an example of the XML data that is sent:

    XMLDATA=<?xml version=”1.0″ encoding=”ISO-8859-1″?>
    <Response>
    <Msg_Count>1</Msg_Count>
    <MessageNotification>
    <Message_Index>1</Message_Index>
    <ModemNumber>1</ModemNumber>
    <SenderNumber>17637425555</SenderNumber>
    <Date>13/09/03</Date>
    <Time>16:16:01</Time>
    <EncodingFlag>ASCII</EncodingFlag>
    <Message>TestSMS00002</Message>
    </MessageNotification>
    </Response>

    Wireshark IP captures would show you the exact format that was sent and whether the message’s text was included.

    #4699
    Stuart Bercun
    Participant

    Excellent, thank you.
    I see that Wireshark is get a properly formatted message.

    It still appears that $data is blank in the sample ismsResponse.php.

    I have not modified the code at all. To be sure, I copied the php from the zip and placed it in the directory. I know that it is being called because I see the creation of the receive.txt.

    #4700
    Bryon Davis
    Moderator

    What are the versions of Apache and iSMS are you using?

    Perhaps there has been a change made in the Apache version you are using. I can try testing it and see if it works for me.

    #4701
    Stuart Bercun
    Participant

    I am using
    MultiModemâ„¢ iSMS
    Web Management – Version 1.51.21

    and Apache version 2.44

    Your help is greatly appreciated.

    #4702
    Stuart Bercun
    Participant

    The issue resolved itself.

    Not sure why, but I am no longer getting empty fields.

    Thank you for your help.

    #4703
    Bryon Davis
    Moderator

    Hi Stuart,
    Thanks for the update. Glad to here it’s working now.

    Regards,
    Bryon

    #6340
    fleure fleure
    Participant

    hello all , i send a response to answer the Receive api message with this format :

    XMLDATA=<?xml version=”1.0″ encoding=”ISO-8859-1″?>\r\n
    <MessageNotification>\r\n
    <ModemNumber>nnnnn</ModemNumber>\r\n
    <SenderNumber>xxxx</SenderNumber>\r\n
    <Date>08/03/10</Date>\r\n
    <Time>09:05:30</Time>\r\n
    <Message>Here is a test message</Message>\r\n
    </MessageNotification>\r\n

    is this the good format please.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.