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

-- 
Alex Judd
http://www.skywire.co.uk


Reply via email to