Franco,
Interesting, I knew it was in the specs, but had not come across any
use for it. The source network is passed to me via TLV, but again as
thats not a standard use its not supported in kannel.
Regards
Ben
On 22 May 2007, at 09:32, Franco Mattarini wrote:
Hi Ben
Thanks for replying. dest_subaddress is an SMPP (3.4) optional
parameter.
In the specification, it's defined as:
"
Tag | Value | Wireless Network Technology
dest_subaddress | 0x0203 | CDMA, TDMA
"
"The dest_subaddress parameter specifies a subaddress associated
with the
destination of the message".
In this case, our supplier uses it to pass along a code that
represents the
originating network of the MO. An example:
=======================
2007-05-15 10:40:23 [806] [7] DEBUG: SMPP PDU 0x8195d38 dump:
2007-05-15 10:40:23 [806] [7] DEBUG: type_name: deliver_sm
2007-05-15 10:40:23 [806] [7] DEBUG: command_id: 5 = 0x00000005
2007-05-15 10:40:23 [806] [7] DEBUG: command_status: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: sequence_number: 1028680 =
0x000fb248
2007-05-15 10:40:23 [806] [7] DEBUG: service_type: NULL
2007-05-15 10:40:23 [806] [7] DEBUG: source_addr_ton: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: source_addr_npi: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: source_addr: "447XXXXXXXXX"
2007-05-15 10:40:23 [806] [7] DEBUG: dest_addr_ton: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: dest_addr_npi: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: destination_addr: "28338"
2007-05-15 10:40:23 [806] [7] DEBUG: esm_class: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: protocol_id: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: priority_flag: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: schedule_delivery_time: NULL
2007-05-15 10:40:23 [806] [7] DEBUG: validity_period: NULL
2007-05-15 10:40:23 [806] [7] DEBUG: registered_delivery: 0 =
0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: replace_if_present_flag: 0 =
0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: data_coding: 0 = 0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: sm_default_msg_id: 0 =
0x00000000
2007-05-15 10:40:23 [806] [7] DEBUG: sm_length: 17 = 0x00000011
2007-05-15 10:40:23 [806] [7] DEBUG: short_message: "07XXXXXXXXX
hello"
2007-05-15 10:40:23 [806] [7] DEBUG: source_subaddress:
"447XXXXXXXXX"
2007-05-15 10:40:23 [806] [7] DEBUG: dest_subaddress: "32F456"
2007-05-15 10:40:23 [806] [7] DEBUG: SMPP PDU dump ends.
=======================================