Hi,

http://www.weethet.nl/english/gsm_smscnumbers.php

11 digit numbers don't seem very unusal....

/ Hakan

On 27 Nov, 18:30, Digiloo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Yepp, Now it works. Thank you
>
> / Hakan
>
> On 27 Nov, 17:02, Digiloo <[EMAIL PROTECTED]> wrote:
>
>
>
> > Ok, I try that tonight!
>
> > / Hakan
>
> > / Hakan
>
> > On 27 Nov, 16:46, Jeff <[EMAIL PROTECTED]> wrote:
>
> > > try the following:
>
> > > In protected void initPduObject(SmsSubmitPdu pdu, String smscNumber)
> > > of OutboundMessage.java
>
> > > change the following line
>
> > > pdu.setSmscInfoLength(1 + (smscNumber.length() / 2));
>
> > > to
>
> > > pdu.setSmscInfoLength(1 + (smscNumber.length() / 2) +
> > > ((smscNumber.length() % 2 == 1) ? 1 : 0));
>
> > > and see if the code will work now.  This code was not tested against
> > > 11-digit (odd numbered) smsc numbers only 12-digit ones
>
> > > On Nov 27, 10:35 pm, Digiloo <[EMAIL PROTECTED]> wrote:
>
> > > > Here It comes..
>
> > > > +46705008999 (Telia Sweden)
>
> > > > / Hakan
>
> > > > On 27 Nov, 14:53, Thanasis <[EMAIL PROTECTED]> wrote:
>
> > > > > Digiloo, can you post the full SMSC number of your network?
>
> > > > > 2008/11/27 Thanasis <[EMAIL PROTECTED]>
>
> > > > > > 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 -- Dölj citerad text -
>
> > > > > - Visa citerad text -- Dölj citerad text -
>
> > > - Visa citerad text -- Dölj citerad text -
>
> > - Visa citerad text -- 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