Hi people! I am developing an application that receives SMS, then it processes it and replies with another SMS according to what has been received. The problem is that I cannot get the phone number that has sent the SMS, since I obtain a null value for the originator:
I thought it was a programming error, but I have also tried with the ReadMessages example but I get the same (see below). Does anybody know what can be the error? I tried this a few weeks ago and worked fine! Thanks, Marc Example: Read messages from a serial gsm modem. SMSLib: A Java API library for sending and receiving SMS via a GSM modem or other supported gateways. This software is distributed under the terms of the Apache v2.0 License. Web Site: http://smslib.org Version: 3.3.3 >>> Gateway Status change for modem.com1, OLD: STOPPED -> NEW: RUNNING Modem Information: Manufacturer: SIEMENS Model: MC35i Serial No: 351247003126309 SIM IMSI: ** MASKED ** Signal Level: 61% Battery Level: 0% Messages : 1 [=============================================================================== << InboundMessage >> ------------------------------------------------------------------------------- Gateway Id: modem.com1 Encoding: 7-bit Date: Mon Jun 15 09:48:36 CEST 2009 Text: Thanks for testing Clickatell's gateway coverage. You will be able to change the content of your message after your initial purchase of message credits. PDU data: 5474D8BD9E83CC6F39885E9ED3D3EE3368C84E8FD7617A99CD3ECD41E730BD7C0FE741E3B7BD2C0F9FCB2E50F65D07DDD36C36485C0685C5EC3288FE068DD161F7B90CA2A3CBA0F1DB4D2FBBE9A0B719947FD7E5A076793E0F9FCBA0B0995E9683F2EFBA1C9476A7E9E9301B04AFCBC7E8F0BC0C7A9B41EDF27C1E3E97416379999CA6CF5D Originator: null Memory Index: 1 Multi-part Memory Index: Memory Location: MT Source / Destination Ports: -1 / -1 =============================================================================== ] Message Text: Thanks for testing Clickatell's gateway coverage. You will be able to change the content of your message after your initial purchase of message credits. Message Originator: null Message Date: Mon Jun 15 09:48:36 CEST 2009 Now Sleeping - Hit <enter> to terminate. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SMSLib User Group" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/SMSLib?hl=en -~----------~----~----~----~------~----~------~--~---
