Hello list,

I'm having issues of implementing special source_addr_ton which is required for certain "Virtual SMSC" scenario.

source_addr_ton should be 0x14 and dest_addr_ton 0x1

When I set at kannel.conf:

source-addr-ton = 14
dest-addr-ton = 1


result is this (The source address is correct, it should be in format <sender>0<certain idcode got from the received message>:


2004-03-31 12:22:16 [10] DEBUG: SMPP[lmt-v]: Sending PDU:
2004-03-31 12:22:16 [10] DEBUG: SMPP PDU 0x8122bb0 dump:
2004-03-31 12:22:16 [10] DEBUG: type_name: submit_sm
2004-03-31 12:22:16 [10] DEBUG: command_id: 4 = 0x00000004
2004-03-31 12:22:16 [10] DEBUG: command_status: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: sequence_number: 1 = 0x00000001
2004-03-31 12:22:16 [10] DEBUG: service_type: NULL
2004-03-31 12:22:16 [10] DEBUG: source_addr_ton: 2 = 0x00000002
2004-03-31 12:22:16 [10] DEBUG: source_addr_npi: 1 = 0x00000001
2004-03-31 12:22:16 [10] DEBUG: source_addr: "XXXXXXXX0102421255"
2004-03-31 12:22:16 [10] DEBUG: dest_addr_ton: 2 = 0x00000002
2004-03-31 12:22:16 [10] DEBUG: dest_addr_npi: 1 = 0x00000001
2004-03-31 12:22:16 [10] DEBUG: destination_addr: "371XXXXXX"
2004-03-31 12:22:16 [10] DEBUG: esm_class: 67 = 0x00000043
2004-03-31 12:22:16 [10] DEBUG: protocol_id: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: priority_flag: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: schedule_delivery_time: NULL
2004-03-31 12:22:16 [10] DEBUG: validity_period: NULL
2004-03-31 12:22:16 [10] DEBUG: registered_delivery: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: replace_if_present_flag: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: data_coding: 245 = 0x000000f5
2004-03-31 12:22:16 [10] DEBUG: sm_default_msg_id: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: sm_length: 0 = 0x00000000
2004-03-31 12:22:16 [10] DEBUG: SMPP PDU dump ends.
2004-03-31 12:22:16 [10] DEBUG: SMPP[lmt-v]: Got PDU:
2004-03-31 12:22:16 [10] DEBUG: SMPP PDU 0x8122bb0 dump:
2004-03-31 12:22:16 [10] DEBUG: type_name: submit_sm_resp
2004-03-31 12:22:16 [10] DEBUG: command_id: 2147483652 = 0x80000004
2004-03-31 12:22:16 [10] DEBUG: command_status: 10 = 0x0000000a
2004-03-31 12:22:16 [10] DEBUG: sequence_number: 1 = 0x00000001
2004-03-31 12:22:16 [10] DEBUG: message_id: NULL
2004-03-31 12:22:16 [10] DEBUG: SMPP PDU dump ends.
2004-03-31 12:22:16 [10] ERROR: SMPP[lmt-v]: SMSC returned error code 0x0000000a in response to submit_sm.



In short, source_addr_ton is set as 2(?) and therefor smsc rejects the request. Am I missing something on the configuration or why it isnt 14?


Big appreciate for help,

Regards,

Jani





Reply via email to