As per smpp specifications registered_delivery can only be 0 or 1.
Other values don't exist in smpp, but they are handled by Kannel.
== Rene
From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Gabriel Augusto Diaz Zapata
Sent: Tuesday, 23 August, 2011 07:27
To: users@kannel.org
Subject: Kannel and dlr-mask
Hello.
Im using Kannel. Im sending some messages with DLR Flag, but the problem is
that always Kannel sent to SMPP the SAME dlr-mask
If we put 2 at dlr-mask, kannel sent 1.. If I put 1, kannel sent 1.
My Logs:
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: XML: <Prueba Entrega con Mask 2
10:00broadcastbroadcas
t1
2http://127.0.0.1/Aplicaciones/dlr.asp?phone=%p
<http://127.0.0.1/Aplicaciones/dlr.asp?phone=%25p&text=%25a&receiver=%25P&fl
ag=%25F&smsc_id=%25i>
&text=%a&receiver=%P&flag=%F&smsc_id=%i
>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
<xx1<
coding>2http://127.0.0.1/Aplicaciones/dlr
.asp?phone=%p
<http://127.0.0.1/Aplicaciones/dlr.asp?phone=%25p&text=%25a&receiver=%25P&fl
ag=%25F&smsc_id=%25i>
&text=%a&receiver=%P&flag=%F&smsc_id=%i>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
<XX>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
<X>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
<1>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value <1>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value <>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value <>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value <>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value <>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
<2http://127.0.0.1/Aplicaciones/dlr.asp?phone=%p
<http://127.0.0.1/Aplicaciones/dlr.asp?phone=%25p&text=%25a&receiver=%25P&fl
ag=%25F&smsc_id=%25i> &text=%a&receiver=%P&flag=%F&smsc_id=%i>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value <2>
2011-08-22 21:59:03 [26476] [3] DEBUG: XMLParsing: tag value
http://127.0.0.1/Aplicaciones/dlr.asp?phone=%25p&text=%25a&receiver=%25P&fl
ag=%25F&smsc_id=%25i> &text=%a&receiver=%P&flag=%F&smsc_id=%i>
Please note that dlr_mask is 2
BUT, at SMPP PDU..
2011-08-22 21:59:03 [26439] [16] DEBUG: SMPP PDU 0x19275e0 dump:
2011-08-22 21:59:03 [26439] [16] DEBUG: type_name: submit_sm
2011-08-22 21:59:03 [26439] [16] DEBUG: command_id: 4 = 0x0004
2011-08-22 21:59:03 [26439] [16] DEBUG: command_status: 0 = 0x
2011-08-22 21:59:03 [26439] [16] DEBUG: sequence_number: 9 = 0x0009
2011-08-22 21:59:03 [26439] [16] DEBUG: service_type: NULL
2011-08-22 21:59:03 [26439] [16] DEBUG: source_addr_ton: 2 = 0x0002
2011-08-22 21:59:03 [26439] [16] DEBUG: source_addr_npi: 1 = 0x0001
2011-08-22 21:59:03 [26439] [16] DEBUG: source_addr: "90515"
2011-08-22 21:59:03 [26439] [16] DEBUG: dest_addr_ton: 2 = 0x0002
2011-08-22 21:59:03 [26439] [16] DEBUG: dest_addr_npi: 1 = 0x0001
2011-08-22 21:59:03 [26439] [16] DEBUG: destination_addr: ""
2011-08-22 21:59:03 [26439] [16] DEBUG: esm_class: 3 = 0x0003
2011-08-22 21:59:03 [26439] [16] DEBUG: protocol_id: 0 = 0x
2011-08-22 21:59:03 [26439] [16] DEBUG: priority_flag: 0 = 0x
2011-08-22 21:59:03 [26439] [16] DEBUG: schedule_delivery_time: NULL
2011-08-22 21:59:03 [26439] [16] DEBUG: validity_period: NULL
2011-08-22 21:59:03 [26439] [16] DEBUG: registered_delivery: 1 =
0x0001
2011-08-22 21:59:03 [26439] [16] DEBUG: replace_if_present_flag: 0 =
0x
2011-08-22 21:59:03 [26439] [16] DEBUG: data_coding: 241 = 0x00f1
2011-08-22 21:59:03 [26439] [16] DEBUG: sm_default_msg_id: 0 = 0x
2011-08-22 21:59:03 [26439] [16] DEBUG: sm_length: 31 = 0x001f
2011-08-22 21:59:03 [26439] [16] DEBUG: short_message:
2011-08-22 21:59:03 [26439] [16] DEBUG:Octet string at 0x19207d0:
2011-08-22 21:59:03 [26439] [16] DEBUG: len: 31
2011-08-22 21:59:03 [26439] [16] DEBUG: size: 32
2011-08-22 21:59:03 [26439] [16] DEBUG: immutable: 0
Can you help me, please? Are some parameter to change to avoid this error (I
think is a bug )
Let me know and thank you in advanced
Gabriel