Hello Dave,

thanks for your answer,

Here is a dump of the smpp transactions, hopefully this will shed some
more light on what's going wrong ;
I'm wondering, maybe kannel does not find the right DLR because the DLR
for the message sent via <smsc> is returned to kannel via <smsc-rec>
.....?
Thx,



2005-02-01 16:36:52 [6120] [8] DEBUG: SMPP[<smsc>]: Manually forced source
addr ton = 0, source add npi = 82005-02-01 16:36:52 [6120] [8] DEBUG: 
SMPP[<smsc>]: Manually forced dest
addr ton = 0, dest add npi = 82005-02-01 16:36:52 [6120] [8] DEBUG: 
SMPP[<smsc>]: Sending PDU:
2005-02-01 16:36:52 [6120] [8] DEBUG: SMPP PDU 0x81b6710 dump:
2005-02-01 16:36:52 [6120] [8] DEBUG:   type_name: submit_sm
2005-02-01 16:36:52 [6120] [8] DEBUG:   command_id: 4 = 0x00000004
2005-02-01 16:36:52 [6120] [8] DEBUG:   command_status: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   sequence_number: 2 = 0x00000002
2005-02-01 16:36:52 [6120] [8] DEBUG:   service_type: NULL
2005-02-01 16:36:52 [6120] [8] DEBUG:   source_addr_ton: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   source_addr_npi: 8 = 0x00000008
2005-02-01 16:36:52 [6120] [8] DEBUG:   source_addr: "32XXXXXXXX"
2005-02-01 16:36:52 [6120] [8] DEBUG:   dest_addr_ton: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   dest_addr_npi: 8 = 0x00000008
2005-02-01 16:36:52 [6120] [8] DEBUG:   destination_addr: "32YYYYYYYY"
2005-02-01 16:36:52 [6120] [8] DEBUG:   esm_class: 3 = 0x00000003
2005-02-01 16:36:52 [6120] [8] DEBUG:   protocol_id: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   priority_flag: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   schedule_delivery_time: NULL
2005-02-01 16:36:52 [6120] [8] DEBUG:   validity_period: NULL
2005-02-01 16:36:52 [6120] [8] DEBUG:   registered_delivery: 1 = 0x00000001
2005-02-01 16:36:52 [6120] [8] DEBUG:   replace_if_present_flag: 0 =
0x000000002005-02-01 16:36:52 [6120] [8] DEBUG:   data_coding: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   sm_length: 11 = 0x0000000b
2005-02-01 16:36:52 [6120] [8] DEBUG:   short_message: "Hello world"
2005-02-01 16:36:52 [6120] [8] DEBUG: SMPP PDU dump ends.
2005-02-01 16:36:52 [6120] [8] DEBUG: SMPP[<smsc>]: Got PDU:
2005-02-01 16:36:52 [6120] [8] DEBUG: SMPP PDU 0x81b6710 dump:
2005-02-01 16:36:52 [6120] [8] DEBUG:   type_name: submit_sm_resp
2005-02-01 16:36:52 [6120] [8] DEBUG:   command_id: 2147483652 = 0x80000004
2005-02-01 16:36:52 [6120] [8] DEBUG:   command_status: 0 = 0x00000000
2005-02-01 16:36:52 [6120] [8] DEBUG:   sequence_number: 2 = 0x00000002
2005-02-01 16:36:52 [6120] [8] DEBUG:   message_id: "459D58BB"
2005-02-01 16:36:52 [6120] [8] DEBUG: SMPP PDU dump ends.
2005-02-01 16:36:52 [6120] [8] DEBUG: DLR[internal]: Adding DLR
smsc=<smsc>, ts=459, src=32XXXXXXXX, dst=32478587118, mask=31, boxc=
2005-02-01 16:36:52 [6120] [8] DEBUG: SMSC[<smsc>]: creating DLR message
2005-02-01 16:36:52 [6113] [1] DEBUG: Dumping 34 messages and 0 acks to store
2005-02-01 16:36:52 [6120] [8] DEBUG: SMSC[<smsc>]: DLR =
2005-02-01 16:36:57 [6119] [7] DEBUG: SMPP[<smsc-rec>]: Got PDU:
2005-02-01 16:36:57 [6119] [7] DEBUG: SMPP PDU 0x81b71d8 dump:
2005-02-01 16:36:57 [6119] [7] DEBUG:   type_name: deliver_sm
2005-02-01 16:36:57 [6119] [7] DEBUG:   command_id: 5 = 0x00000005
2005-02-01 16:36:57 [6119] [7] DEBUG:   command_status: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   sequence_number: 1 = 0x00000001
2005-02-01 16:36:57 [6119] [7] DEBUG:   service_type: "NOREP"
2005-02-01 16:36:57 [6119] [7] DEBUG:   source_addr_ton: 1 = 0x00000001
2005-02-01 16:36:57 [6119] [7] DEBUG:   source_addr_npi: 1 = 0x00000001
2005-02-01 16:36:57 [6119] [7] DEBUG:   source_addr: "32YYYYYYYY"
2005-02-01 16:36:57 [6119] [7] DEBUG:   dest_addr_ton: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   dest_addr_npi: 8 = 0x00000008
2005-02-01 16:36:57 [6119] [7] DEBUG:   destination_addr: "32XXXXXXXX"
2005-02-01 16:36:57 [6119] [7] DEBUG:   esm_class: 4 = 0x00000004
2005-02-01 16:36:57 [6119] [7] DEBUG:   protocol_id: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   priority_flag: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   schedule_delivery_time: NULL
2005-02-01 16:36:57 [6119] [7] DEBUG:   validity_period: NULL
2005-02-01 16:36:57 [6119] [7] DEBUG:   registered_delivery: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   replace_if_present_flag: 0 =
0x000000002005-02-01 16:36:57 [6119] [7] DEBUG:   data_coding: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2005-02-01 16:36:57 [6119] [7] DEBUG:   sm_length: 113 = 0x00000071
2005-02-01 16:36:57 [6119] [7] DEBUG:   short_message:
2005-02-01 16:36:57 [6119] [7] DEBUG:    Octet string at 0x81b61b0:
2005-02-01 16:36:57 [6119] [7] DEBUG:      len:  113
2005-02-01 16:36:57 [6119] [7] DEBUG:      size: 114
2005-02-01 16:36:57 [6119] [7] DEBUG:      immutable: 0
2005-02-01 16:36:57 [6119] [7] DEBUG:      data: 69 64 3a 31 31 36 37 39
33 39 37 37 31 20 73 75   id:116793977 1 su2005-02-01 16:36:57 [6119] [7] 
DEBUG:      data: 62 3a 30 30 31 20 64 6c
76 72 64 3a 30 30 31 20   b:001 dlvrd: 0012005-02-01 16:36:57 [6119] [7] DEBUG: 
     data: 73 75 62 6d 69 74 20 64
61 74 65 3a 30 35 30 32   submit date: 05022005-02-01 16:36:57 [6119] [7] 
DEBUG:      data: 30 31 31 36 33 36 20 64
6f 6e 65 20 64 61 74 65   011636 done date2005-02-01 16:36:57 [6119] [7] DEBUG: 
     data: 3a 30 35 30 32 30 31 31
36 33 36 20 73 74 61 74   :0502011636 stat2005-02-01 16:36:57 [6119] [7] DEBUG: 
     data: 3a 44 45 4c 49 56 52 44
20 65 72 72 3a 30 30 30   :DELIVRD err :0002005-02-01 16:36:57 [6119] [7] 
DEBUG:      data: 20 74 65 78 74 3a 48 65
6c 6c 6f 20 77 6f 72 6c    text:Hello worl2005-02-01 16:36:57 [6119] [7] DEBUG: 
     data: 64                       
                        d2005-02-01 16:36:57 [6119] [7] DEBUG:    Octet string 
dump ends.
2005-02-01 16:36:57 [6119] [7] DEBUG: SMPP PDU dump ends.
2005-02-01 16:36:57 [6119] [7] DEBUG: SMPP[<smsc-rec>] handle_pdu, got DLR
2005-02-01 16:36:57 [6119] [7] DEBUG: DLR[internal]: Looking for DLR
smsc=<smsc-rec>, ts=1167939771, dst=32XXXXXXXX, type=12005-02-01 16:36:57 
[6119] [7] WARNING: DLR[internal]: DLR for
DST<32XXXXXXXX> not found.2005-02-01 16:36:57 [6119] [7] ERROR: 
SMPP[<smsc-rec>]: got DLR but could
not find message or was not interestedin it ts<1167939771>
dst<32XXXXXXXX>, type<1>

Regards,

Tom


> **>Date: Tue, 1 Feb 2005 14:42:47 +0100 (CET)
> **>Subject: smpp DLR problem
> **>From: <[EMAIL PROTECTED]>
> **>To: <[email protected]>
> **>
> **>i have this weird problem with DLR reports and SMPP that is breaking
> my **>head. DLR reporting seems to work fine for the other EMI
> connections but **>the SMPP connection however gives
> **>WARNING: DLR[internal]: DLR for DST<32XXXXXXXX> not found.
> **>2005-02-01 13:51:16 [15102] [7] ERROR: SMPP[<smsc-rec>]: got DLR but
> could **>not find message or was not interestedin it ts<1167675259>
> **>dst<32XXXXXXXX>, type<1>
> **>after calling
> **>
> **>links
> **>http://localhost:20003/cgi-bin/sendsms?user=tester&password=lalaa&to=32XXXXXXXXX&from=32YYYYYYYY&text=Hello+world&smsc=<smsc>&dlr-mask=31>
>  **>in the debuglogs. I've tried setting the msg-id-type to all possible
> **>values but without any difference...
> **>I've got following stuff for the smpp connection in my kannel config
> **>
> **>group = smsc
> **>smsc = smpp
> **>smsc-id = <smsc-rec>
> **>host = A.B.C.D
> **>port = 0
> **>receive-port = 8100
> **>interface-version = 34
> **>smsc-username = "USER"
> **>smsc-password = "PASSWD"
> **>system-type = "OK"
> **>address-range = ""
> **>source-addr-autodetect = false
> **>source-addr-ton = 0
> **>source-addr-npi = 8
> **>dest-addr-ton = 0
> **>dest-addr-npi = 8
> **>msg-id-type = 0x00
> **>my-number = IIII
> **>
> **>group = smsc
> **>smsc = smpp
> **>smsc-id = <smsc>
> **>host = A.B.C.E
> **>port = 8100
> **>receive-port = 0
> **>interface-version = 34
> **>smsc-username = "USER"
> **>smsc-password = "PASSWD"
> **>system-type = "OK"
> **>address-range = ""
> **>source-addr-autodetect = false
> **>source-addr-ton = 0
> **>source-addr-npi = 8
> **>dest-addr-ton = 0
> **>dest-addr-npi = 8
> **>msg-id-type = 0x00
> **>my-number = IIII
> **>
> **>Any advice on what i could try greatly appreciated,
>
> It would be very useful to get a debug level logfile of your
> bearerbox interactions with the SMPP server.  In particular,
> the things of most interest:
>  - Any logs pertaining to the DLR being added to the dlr_entry
>  - The decoded SMPP PDU of your submit_sm_resp and deliver_sm.
>  - Any log entry indicating Kannel received a DLR but was not
>    interested in it.
>
> Based off of the limited debug log you presented, it indicates
> it me that your message-id types are mismatching. Most likely
> the submit_sm_resp was sending a hexadecimal representation of the
> mesage-id '1167675259' (which in the submit_sm_resp would look like
> '45994F7B').
>
> Again, a dump of the logs from your bearerbox would be most helpful.
>
> See ya...
>
> d.c.





Reply via email to