My messages to SMPP SMSC (Orange) are failing because the dest_addr_ton is
set to 2 rather than 1. (This example shows sending from a short code number,
hence the source_addr_ton is set to 3; normally it is 1 for long
outgoing numbers).
The dest-addr-ton parameter doesn't seem to be working.
Thanks for any help
Rory
######################
# SMSC CONFIG
######################
group = smsc
smsc-id = orangeshort
smsc = smpp
host = xxxxxxxxxxxx
port = 8000
receive-port = 8000
smsc-username = "xxxxxx"
smsc-password = xxxxxxxx
system-type = "SMPP"
dest-addr-ton = 1 # <-------- not working!!!
source-addr-ton = 3
source-addr-npi = 1
DEBUG: SMPP[orangeshort]: Manually forced source addr ton = 3, source add npi = 1
DEBUG: SMPP[orangeshort]: Sending PDU:
DEBUG: SMPP PDU 0x8124208 dump:
DEBUG: type_name: submit_sm
DEBUG: command_id: 4 = 0x00000004
DEBUG: command_status: 0 = 0x00000000
DEBUG: sequence_number: 2 = 0x00000002
DEBUG: service_type: NULL
DEBUG: source_addr_ton: 3 = 0x00000003
DEBUG: source_addr_npi: 1 = 0x00000001
DEBUG: source_addr: "xxxxx"
!-> DEBUG: dest_addr_ton: 2 = 0x00000002
DEBUG: dest_addr_npi: 1 = 0x00000001
DEBUG: destination_addr: "xxxxxxxxxxxx"
DEBUG: esm_class: 3 = 0x00000003
DEBUG: protocol_id: 0 = 0x00000000
DEBUG: priority_flag: 0 = 0x00000000
DEBUG: schedule_delivery_time: NULL
DEBUG: validity_period: NULL
DEBUG: registered_delivery: 0 = 0x00000000
DEBUG: replace_if_present_flag: 0 = 0x00000000
DEBUG: data_coding: 0 = 0x00000000
DEBUG: sm_default_msg_id: 0 = 0x00000000
DEBUG: sm_length: 11 = 0x0000000b
DEBUG: short_message: "kannel test"
DEBUG: SMPP PDU dump ends.
WARNING: SMPP: PDU NUL terminated string has no NUL.
DEBUG: SMPP[orangeshort]: Got PDU:
DEBUG: SMPP PDU 0x8124760 dump:
DEBUG: type_name: submit_sm_resp
DEBUG: command_id: 2147483652 = 0x80000004
DEBUG: command_status: 11 = 0x0000000b
DEBUG: sequence_number: 2 = 0x00000002
DEBUG: message_id: NULL
DEBUG: SMPP PDU dump ends.
ERROR: SMPP[orangeshort]: SMSC returned error code 0x0000000b in response to
submit_sm.
--
Rory Campbell-Lange
<[EMAIL PROTECTED]>
<www.campbell-lange.net>