Hi,

Comment msg-id-type and give a try. Maybe you have to leave the default
value

On Tue, Jan 26, 2010 at 10:44 AM, hafez ahmad <[email protected]> wrote:

>  Dears,
>
> Please can anyone help me to know how kannel matched the received DLR with
> the stored DLR, I get sometimes the error got DLR but could not find
> message or was not interested in it id<1983706424> dst<955342324564>,
> type<1>  , I checked the msg-id-type and it is set correct but as you note
> that I add the DLR with MSISDN start with +
>
>  SMSC[MT_BILLING]: DLR =
> http://HOST/PATH/dlr_script.php?delivery_val=%d&act_val=%A&msisdn_val=+955342324564<http://host/PATH/dlr_script.php?delivery_val=%d&act_val=%A&msisdn_val=+955342324564>
>
> but wen I receive the DLR I get the msisdn without + like this955342324564
>
> is the ton /npi  setting important for the DLR matching ?
>
> Any Idea please?
>
> Please find my setting and log below:
>
>  group = smsc
> smsc = smpp
> smsc-id = MT_BILLING
> host = XXX.XXX.XXX.XXX
> port = XXXXX
> transceiver-mode = 1
> smsc-username = "xxxx"
> smsc-password = xxxxxxx
> system-type = "xxxxx"
> allowed-smsc-id = MT_BILLING
> interface-version = 34
> reconnect-delay = 30
> source-addr-ton = 5
> source-addr-npi = 0
> dest-addr-ton = 1
> dest-addr-npi = 1
> bind-addr-ton = 1
> bind-addr-npi = 1
> wait-ack = 1
> wait-ack-expire = 0x02
> msg-id-type = 0x00
> log-file = /var/log/my.log
> log-level = 0
>
>
> 2010-01-23 22:20:43 [31246] [8] DEBUG: SMPP[MT_BILLING]: Sending enquire
> link:
> 2010-01-23 22:20:43 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:20:43 [31246] [8] DEBUG:   type_name: enquire_link
> 2010-01-23 22:20:43 [31246] [8] DEBUG:   command_id: 21 = 0x00000015
> 2010-01-23 22:20:43 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:20:43 [31246] [8] DEBUG:   sequence_number: 13348 =
> 0x00003424
> 2010-01-23 22:20:43 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:20:55 [31246] [8] WARNING: SMPP: PDU NULL terminated string
> (message_id) has no NULL.
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP[MT_BILLING]: Got PDU:
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   type_name: submit_sm_resp
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_id: 2147483652 =
> 0x80000004
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_status: 69 = 0x00000045
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sequence_number: 13346 =
> 0x00003422
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   message_id: NULL
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:20:55 [31246] [8] ERROR: SMPP[MT_BILLING]: SMSC returned
> error code 0x00000045 (Submit failed) in response to submit_sm.
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMSC[MT_BILLING]: creating DLR
> message
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMSC[MT_BILLING]: DLR =
> http://HOST/PATH/dlr_script.php?delivery_val=%d&act_val=%A&msisdn_val=+955342324564<http://host/PATH/dlr_script.php?delivery_val=%d&act_val=%A&msisdn_val=+955342324564>
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP[MT_BILLING]: Got PDU:
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   type_name: enquire_link_resp
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sequence_number: 13347 =
> 0x00003423
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP[MT_BILLING]: Got PDU:
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   type_name: enquire_link_resp
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_id: 2147483669 =
> 0x80000015
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sequence_number: 13348 =
> 0x00003424
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter tag (0x000e)
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter length read as 1
> 2010-01-23 22:20:55 [31246] [8] WARNING: SMPP: Unknown
> TLV(0x000e,0x0001,01) for PDU type (deliver_sm) received!
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter tag (0x0006)
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter length read as 1
> 2010-01-23 22:20:55 [31246] [8] WARNING: SMPP: Unknown
> TLV(0x0006,0x0001,01) for PDU type (deliver_sm) received!
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter tag (0x001e)
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter length read as 9
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter tag (0x0427)
> 2010-01-23 22:20:55 [31246] [8] DEBUG: Optional parameter length read as 1
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP[MT_BILLING]: Got PDU:
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   type_name: deliver_sm
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_id: 5 = 0x00000005
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sequence_number: 26 = 0x0000001a
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   service_type: NULL
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   source_addr_ton: 1 = 0x00000001
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   source_addr: "955342324564"
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   dest_addr_ton: 5 = 0x00000005
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   dest_addr_npi: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   destination_addr: "SP30563"
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   esm_class: 4 = 0x00000004
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   protocol_id: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   priority_flag: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   schedule_delivery_time: NULL
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   validity_period: NULL
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   registered_delivery: 0 =
> 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   replace_if_present_flag: 0 =
> 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   data_coding: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sm_length: 110 = 0x0000006e
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   short_message:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:    Octet string at 0x7f178c138e20:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      len:  110
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      size: 111
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      immutable: 0
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 69 64 3a 31 39 38 33 37
> 30 36 34 32 34 20 73 75   id:1983706424 su
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 62 3a 30 30 31 20 64 6c
> 76 72 64 3a 30 30 31 20   b:001 dlvrd:001
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 73 75 62 6d 69 74 20 64
> 61 74 65 3a 31 30 30 31   submit date:1001
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 32 33 32 32 32 30 20 64
> 6f 6e 65 20 64 61 74 65   232220 done date
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 3a 31 30 30 31 32 33 32
> 32 32 30 20 73 74 61 74   :1001232220 stat
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 3a 44 45 4c 49 56 52 44
> 20 65 72 72 3a 30 30 30   :DELIVRD err:000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:      data: 20 74 65 78 74 3a 06 27
> 06 47 06 44 06 27          text:.'.G.D.'
> 2010-01-23 22:20:55 [31246] [8] DEBUG:    Octet string dump ends.
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   message_state: 2 = 0x00000002
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   receipted_message_id: "763cf538"
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP[MT_BILLING] handle_pdu, got DLR
> 2010-01-23 22:20:55 [31246] [8] DEBUG: DLR[internal]: Looking for DLR
> smsc=MT_BILLING, ts=1983706424, dst=955342324564, type=1
> 2010-01-23 22:20:55 [31246] [8] WARNING: DLR[internal]: DLR from
> SMSC<MT_BILLING> for DST<955342324564> not found.
> 2010-01-23 22:20:55 [31246] [8] ERROR: SMPP[MT_BILLING]: got DLR but could
> not find message or was not interested in it id<1983706424>
> dst<955342324564>, type<1>
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP[MT_BILLING]: Sending PDU:
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU 0x7f178c14a2a0 dump:
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   type_name: deliver_sm_resp
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_id: 2147483653 =
> 0x80000005
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   sequence_number: 26 = 0x0000001a
> 2010-01-23 22:20:55 [31246] [8] DEBUG:   message_id: NULL
> 2010-01-23 22:20:55 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:21:13 [31246] [8] DEBUG: SMPP[MT_BILLING]: Sending enquire
> link:
> 2010-01-23 22:21:13 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:21:13 [31246] [8] DEBUG:   type_name: enquire_link
> 2010-01-23 22:21:13 [31246] [8] DEBUG:   command_id: 21 = 0x00000015
> 2010-01-23 22:21:13 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:21:13 [31246] [8] DEBUG:   sequence_number: 13349 =
> 0x00003425
> 2010-01-23 22:21:13 [31246] [8] DEBUG: SMPP PDU dump ends.
> 2010-01-23 22:21:16 [31246] [8] DEBUG: SMPP[MT_BILLING]: Manually forced
> source addr ton = 5, source add npi = 0
> 2010-01-23 22:21:16 [31246] [8] DEBUG: SMPP[MT_BILLING]: Manually forced
> dest addr ton = 1, dest add npi = 1
> 2010-01-23 22:21:16 [31246] [8] DEBUG: SMPP[MT_BILLING]: Sending PDU:
> 2010-01-23 22:21:16 [31246] [8] DEBUG: SMPP PDU 0x7f178c16cbf0 dump:
> 2010-01-23 22:21:16 [31246] [8] DEBUG:   type_name: submit_sm
> 2010-01-23 22:21:16 [31246] [8] DEBUG:   command_id: 4 = 0x00000004
> 2010-01-23 22:21:16 [31246] [8] DEBUG:   command_status: 0 = 0x00000000
> 2010-01-23 22:21:16 [31246] [8] DEBUG:   sequence_number: 13350 =
> 0x00003426
> 2010-01-23 22:21:16 [31246] [8] DEBUG:   service_type: NULL
>
>
> Regards,
> Hafez
>

Reply via email to