I have one of my SMSC (Motricity) is requiring me to pass
registered_delivery=0x1D. I figured that I could achieve this by
using the "msg-id-type = 0x10" but it gave me an error (PANIC). Then,
I tried to set "msg-id-type = 1" but I got registered_delivery: 1 =
0x00000001. How can I pass the registered_delivery=0x1D?
I'm sending the MT via sendsms this way:
Sending SMS to Kannel
url=http://xxx.xxx.xxx.xxx:13013/cgi-bin/sendsms?username=tester&password=foobar&from=55225&to=12242011056&text=DOS+MOSCAS+DISFRUTABAN+SU+PLATO+PREFERIDO%2C+O+SEA+CACA%2C+CUANDO+UNA+DE+ELLAS+SE+HECHA+UN+PEDO%2C+
Y+LA+OTRA+LE+DICE%3A+COCHINA%2C+QUE+NO+VES+QUE+ESTAMOS+COMIENDO
%3F&smsc=MOTRICITY&dlr-url=http%3A%2F%2Fxxx.xxx.xxx.xxx%3A9090%2Fmidcgw
%2Fdlr%3Fuuid%3D0d579fc8-c72e-403e-940f-67e31e6d9345%26dlr-status%3D
%25d%26dlr-errcode%3D%25B%26dlr-tlvs%3D%
25D&dlr-mask=31&metadata=%3Fsmpp%3FGPW_CarrierID%3D45%26GPW_ProductID
%3D1375%26GPW_ActionID%3D8
The configuration I used was the following:
group = smsc
smsc = smpp
smsc-id = MOTRICITY
host = xxx.xxx.xxx.xxx
# this is the transmitter bind only
port = xxxxx
receive-port = 0
smsc-username = smscuser
smsc-password = smscpassword
system-type = ""
alt-charset = latin1
allowed-smsc-id = MOTRICITY
msg-id-type = 1
log-file = "/opt/kannel/logs/smsc/MOTRICITY.log"
log-level = 0
###
# RCVR BIND
###
group = smsc
smsc = smpp
smsc-id = MOTRICITY
host = xxx.xxx.xxx.xxx
port = 0
receive-port = xxxxx
smsc-username = smscuser
smsc-password = smscpassword
system-type = ""
alt-charset = latin1
allowed-smsc-id = MOTRICITY
msg-id-type = 1
log-file = "/opt/kannel/logs/smsc/MOTRICITY.log"
log-level = 0
TCP DUMP
2009-09-02 13:52:31 [27161] [39] DEBUG: SMPP PDU 0x9af9e88 dump:
2009-09-02 13:52:31 [27161] [39] DEBUG: type_name: submit_sm
2009-09-02 13:52:31 [27161] [39] DEBUG: command_id: 4 = 0x00000004
2009-09-02 13:52:31 [27161] [39] DEBUG: command_status: 0 = 0x00000000
2009-09-02 13:52:31 [27161] [39] DEBUG: sequence_number: 12 =
0x0000000c
2009-09-02 13:52:31 [27161] [39] DEBUG: service_type: NULL
2009-09-02 13:52:31 [27161] [39] DEBUG: source_addr_ton: 2 =
0x00000002
2009-09-02 13:52:31 [27161] [39] DEBUG: source_addr_npi: 1 =
0x00000001
2009-09-02 13:52:31 [27161] [39] DEBUG: source_addr: "55225"
2009-09-02 13:52:31 [27161] [39] DEBUG: dest_addr_ton: 2 = 0x00000002
2009-09-02 13:52:31 [27161] [39] DEBUG: dest_addr_npi: 1 = 0x00000001
2009-09-02 13:52:31 [27161] [39] DEBUG: destination_addr:
"19706199567"
2009-09-02 13:52:31 [27161] [39] DEBUG: esm_class: 3 = 0x00000003
2009-09-02 13:52:31 [27161] [39] DEBUG: protocol_id: 0 = 0x00000000
2009-09-02 13:52:31 [27161] [39] DEBUG: priority_flag: 0 = 0x00000000
2009-09-02 13:52:31 [27161] [39] DEBUG: schedule_delivery_time: NULL
2009-09-02 13:52:31 [27161] [39] DEBUG: validity_period: NULL
2009-09-02 13:52:31 [27161] [39] DEBUG: registered_delivery: 1 =
0x00000001
2009-09-02 13:52:31 [27161] [39] DEBUG: replace_if_present_flag: 0 =
0x00000000
2009-09-02 13:52:31 [27161] [39] DEBUG: data_coding: 0 = 0x00000000
2009-09-02 13:52:31 [27161] [39] DEBUG: sm_default_msg_id: 0 =
0x00000000
2009-09-02 13:52:31 [27161] [39] DEBUG: sm_length: 108 = 0x0000006c
2009-09-02 13:52:31 [27161] [39] DEBUG: short_message:
2009-09-02 13:52:31 [27161] [39] DEBUG: Octet string at 0x9a71c70:
2009-09-02 13:52:31 [27161] [39] DEBUG: len: 108
2009-09-02 13:52:31 [27161] [39] DEBUG: size: 109
2009-09-02 13:52:31 [27161] [39] DEBUG: immutable: 0
...
2009-09-02 13:52:31 [27161] [39] DEBUG: Octet string dump ends.
2009-09-02 13:52:31 [27161] [39] DEBUG: GPW_ActionID: "8"
2009-09-02 13:52:31 [27161] [39] DEBUG: GPW_CarrierID: "45"
2009-09-02 13:52:31 [27161] [39] DEBUG: GPW_ProductID: "1375"
2009-09-02 13:52:31 [27161] [39] DEBUG: SMPP PDU dump ends.