Dear all,

Running kannel 1.4 on redhat 7.2. I connect to SMSC through
SMPP. My problem is, i am unable to send '+' sign in the
from/to number field. Even if I send '+' in URL encoded
format(%2B), the bearerbox strips the plus before sending it
the SMSC.

The HTTP request I use is
http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&;
smsc=mysmsc&to=%2B917654321&from=%2B91441234567&text=hello+world

But the bearerbox when sending the message to the SMSC in
the submit_sm PDU doesnt send the '+' i.e it sends
91441234567 instead of +91441234567. My log file output
is,
2006-01-20 06:09:39 [7600] [7] DEBUG:   source_addr: "91441234567"
2006-01-20 07:03:39 [7600] [7] DEBUG:   source_addr_ton: 2 = 0x00000002
2006-01-20 07:03:39 [7600] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
2006-01-20 07:06:39 [7600] [7] DEBUG:   dest_addr_ton: 2 = 0x00000002
2006-01-20 07:06:39 [7600] [7] DEBUG:   dest_addr_npi: 1 = 0x00000001
2006-01-19 17:12:02 [7600] [7] DEBUG:   destination_addr: "917654321"

In my configuration file, I have given the sendsms-char 
properly. say i have given
sendsms-char="0123456789 +-"

I would be happy, if i get any help.

-- 
K Naren,    MeTel Team.
http://www.midascomm.com/

Someone is boring me, I think its myself.




Reply via email to