Re: FW: SMPP PDU unpacking errors

Andreas Fink <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <p05101400b8be25417df5@[200.226.207.9]>
>Thanks very much for the info., I'll check with them.
>
>On another note, the '+' comparison checks in smsc_smpp.c never seem to
>work as the source address appears to be stripped of the + before it
>reaches the check.
>
>>From some debugging yesterday using ABC, 123 and +123
>
>2002-03-18 16:15:22 [8] DEBUG: boxc_receiver: sms received
>2002-03-18 16:15:22 [5] DEBUG: First character = A and 2nd character = B
>2002-03-18 16:15:22 [5] DEBUG: source addr = ABC
>
>2002-03-18 16:15:27 [8] DEBUG: boxc_receiver: sms received
>2002-03-18 16:15:27 [5] DEBUG: First character = 1 and 2nd character = 2
>2002-03-18 16:15:27 [5] DEBUG: source addr = 123
>
>2002-03-18 16:15:31 [8] DEBUG: boxc_receiver: sms received
>2002-03-18 16:15:31 [5] DEBUG: First character =   and 2nd character = 1
>2002-03-18 16:15:31 [5] DEBUG: source addr =  123
>
>As you can see the +123 is already <space>123 by the time it reaches the
>check which would mean that any sourceaddress of +9999 will have the wrong
>TON and NPI generated.
>
>Alex

well then you most probably have the + not URL encoded as + in an URL 
means space.
-- 

Andreas Fink
Fink-Consulting

------------------------------------------------------------------
Tel: +41-61-6932730 Fax: +41-61-6932729  Mobile: +41-79-2457333
Address: A. Fink, Schwarzwaldallee 16, 4058 Basel, Switzerland
E-Mail:  [email protected]  Homepage: http://www.finkconsulting.com
------------------------------------------------------------------
Something urgent? Try http://www.smsrelay.com/  Nickname afink
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.