Added here for review: http://code.google.com/p/smslib/issues/detail?id=152


2008/11/27 Digiloo <[EMAIL PROTECTED]>

>
> Hi,
>
> I tested with '+46708...' and '46708...'  and both tries gave the
> above error.
>
> And if I didn't use setSmsc() at all, I didn't get this fault
>
> / Hakan
>
>
> On 27 Nov, 07:53, Thanasis <[EMAIL PROTECTED]> wrote:
> > It should be the same as the originator number.
> > Is this what you have done?
> >
> > 2008/11/26 Digiloo <[EMAIL PROTECTED]>
> >
> >
> >
> >
> >
> > > Hi,
> >
> > > What format is expeced for the phone number sent via gateway.Smsc(). ?
> >
> > > I got this then trying to end an SMS after explicit setting the SMSC
> > > number:
> >
> > > java.lang.NullPointerException
> > > at org.ajwcc.pduUtils.gsm3040.Pdu.setAddress(Pdu.java:233)
> > > at org.ajwcc.pduUtils.gsm3040.PduParser.parseSmsSubmitMessage
> > > (PduParser.java:306)
> > > at org.ajwcc.pduUtils.gsm3040.PduParser.parsePdu(PduParser.java:166)
> > > at org.smslib.modem.ModemGateway.sendMessagePDU(ModemGateway.java:329)
> > > at org.smslib.modem.ModemGateway.sendMessage(ModemGateway.java:173)
> > > at org.smslib.Service.sendMessage(Service.java:537)
> >
> > > / Hakan- Dölj citerad text -
> >
> > - Visa citerad text -
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SMSLib Users 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