i am using  user-->[opensmppbox-bearerbox]-->smsc

opensmppbox got a pdu from user

2016-04-21 14:27:57 [1614] [4] DEBUG: SMPP[SMPP]: Got PDU:
2016-04-21 14:27:57 [1614] [4] DEBUG: SMPP PDU 0x7f129802b9e0 dump:
2016-04-21 14:27:57 [1614] [4] DEBUG:   type_name: submit_sm
2016-04-21 14:27:57 [1614] [4] DEBUG:   command_id: 4 = 0x00000004
2016-04-21 14:27:57 [1614] [4] DEBUG:   command_status: 0 = 0x00000000
2016-04-21 14:27:57 [1614] [4] DEBUG:   sequence_number: 8071288 = 
0x007b2878
2016-04-21 14:27:57 [1614] [4] DEBUG:   service_type: NULL
2016-04-21 14:27:57 [1614] [4] DEBUG:   source_addr_ton: 1 = 0x00000001
2016-04-21 14:27:57 [1614] [4] DEBUG:   source_addr_npi: 1 = 0x00000001
2016-04-21 14:27:57 [1614] [4] DEBUG:   source_addr: "12345""

--
--
we got error

Mallformed addr `12345', expected at least 7 digits.

i know the reason. it is because source_addr_ton: 1 mean international 
number  assumed > 7 char

what is the solution for it?

user want to use all type of sender id: alpha, long numeric code, short 
numeric code, international format

Thanks 


Reply via email to