Yes, the previous version (3.3.3) worked well, I could get the
originator number. But then it stopped working and got null value. I
don't know why. I didn't change modem, I guess I probably changed
something else from the code without noticing

Anyway, now I have recently updated to the current version and works
fine.

Thanks!!!!

Marc

On 16 Juny, 11:10, Thanasis <[email protected]> wrote:
> You could always quickly try the newest version - the ReadMessages for
> example.
> But when you say "it used to work" what do you mean? What has changed?
> New modem or anything?
>
> On Jun 16, 10:23 am, Marc <[email protected]> wrote:
>
> > Ok...so what should I do?? Any clue?
>
> > I will try and update to the last version, although I think it is not
> > the problem, it used to work with SMSLib 3.3.3, and will tell you what
> > happens
>
> > Thanks again!
>
> > Marc
>
> > On 16 Juny, 07:18, Thanasis <[email protected]> wrote:
>
> > > Sorry, I cannot understand how this can happen.
> > > Of course, you are using an old version, but what you describe is a
> > > major fault which I would remember...
>
> > > On Jun 15, 1:54 pm, Marc <[email protected]> wrote:
>
> > > > Hi Thanasis,
>
> > > > how can I enable the log? I'm working with eclipse. Have already tried
> > > > the "java -Dsmslib.debug examples.modem.ReadMessages" command-line
> > > > option, but without useful results.
>
> > > > The complete PDU string is there, in the first message.
>
> > > > No, it happens whatever the sending way I try. I have used the
> > > > clickatell sending engine so to save money. I also tried sending from
> > > > "normal" SIMs but didn't work. However, it did work some days before.
>
> > > > Thanks for the help,
>
> > > > Marc
>
> > > > On 15 Juny, 12:20, Thanasis <[email protected]> wrote:
>
> > > > > Hi,
>
> > > > > Can you enable the log please? I need the full PDU string.
> > > > > Furthermore, is this happening from Clickatell only? If you send a
> > > > > message from your mobile phone, do you still get empty originator?
>
> > > > > On Jun 15, 11:17 am, Marc <[email protected]> wrote:
>
> > > > > > 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:
> > > > > > 5474D8BD9E83CC6F39885E9ED3D3EE3368C84E8FD7617A99CD3ECD41E730BD7C0FE741E3B7B
> > > > > >  
> > > > > > D2C0F9FCB2E50F65D07DDD36C36485C0685C5EC3288FE068DD161F7B90CA2A3CBA0F1DB4D2F
> > > > > >  
> > > > > > BBE9A0B719947FD7E5A076793E0F9FCBA0B0995E9683F2EFBA1C9476A7E9E9301B04AFCBC7E
> > > > > >  8F0BC0C7A9B41EDF27C1E3E97416379999CA6CF5D
> > > > > >  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
-~----------~----~----~----~------~----~------~--~---

Reply via email to