Dave,

Add "msg-id-type = 0x01" to the smsc group where you've got your MBlox
connections, and it should do the trick.

Alex

----- Original Message ----- 
From: "Dave Holmes" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 30, 2004 12:28 PM
Subject: DLR problems....


> Guys,
>
> Hopefully you may be able to help me with something I have been tearing my
> hair out about all morning,
> I have compiled, configured and installed Kannel on one of our servers,
> hooked it up to our SMSC and
> been able to send SMS messages using the HTTP interface
>
> No problems so far :)
>
> I can't however seem to get the delivery notifications to work properly, I
> have run the bearer box in
> debug mode, which shows the message going through and the DLR being
created
> with my URL. The SMSC then
> sends the delivery reports for ACKED and DELIVERED
>
> It would appear that Kannel unpacks the PDU no problem but then fails to
> find the DLR within the internal
> storage, and does not make the callback to my URL
>
> Has anybody got any suggestions where to start looking !
>
> Thanks in advance
>
> Dave Holmes
>
>
> 2004-01-30 11:46:52 [7] DEBUG: boxc_receiver: sms received
> 2004-01-30 11:46:52 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: Sending PDU:
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU 0x80d10b0 dump:
> 2004-01-30 11:46:52 [5] DEBUG:   type_name: submit_sm
> 2004-01-30 11:46:52 [5] DEBUG:   command_id: 4 = 0x00000004
> 2004-01-30 11:46:52 [5] DEBUG:   command_status: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sequence_number: 5 = 0x00000005
> 2004-01-30 11:46:52 [5] DEBUG:   service_type: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   source_addr_ton: 2 = 0x00000002
> 2004-01-30 11:46:52 [5] DEBUG:   source_addr_npi: 1 = 0x00000001
> 2004-01-30 11:46:52 [5] DEBUG:   source_addr: "13013"
> 2004-01-30 11:46:52 [5] DEBUG:   dest_addr_ton: 2 = 0x00000002
> 2004-01-30 11:46:52 [5] DEBUG:   dest_addr_npi: 1 = 0x00000001
> 2004-01-30 11:46:52 [5] DEBUG:   destination_addr: "447966013309"
> 2004-01-30 11:46:52 [5] DEBUG:   esm_class: 3 = 0x00000003
> 2004-01-30 11:46:52 [5] DEBUG:   protocol_id: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   priority_flag: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   schedule_delivery_time: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   validity_period: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   registered_delivery: 1 = 0x00000001
> 2004-01-30 11:46:52 [5] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   data_coding: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sm_length: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   short_message: "this is anther test"
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU dump ends.
> 2004-01-30 11:46:52 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: Got PDU:
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU 0x80d10b0 dump:
> 2004-01-30 11:46:52 [5] DEBUG:   type_name: submit_sm_resp
> 2004-01-30 11:46:52 [5] DEBUG:   command_id: 2147483652 = 0x80000004
> 2004-01-30 11:46:52 [5] DEBUG:   command_status: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sequence_number: 5 = 0x00000005
> 2004-01-30 11:46:52 [5] DEBUG:   message_id: "0026e9ece"
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU dump ends.
> 2004-01-30 11:46:52 [5] DEBUG: Adding DLR
> smsc=SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:, ts=0026e9ece, src=13013,
> dst=447966013309, mask=31
> 2004-01-30 11:46:52 [5] DEBUG: Looking for DLR
> smsc=SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:, ts=0026e9ece,
> dst=447966013309, type=12
> 2004-01-30 11:46:52 [5] DEBUG: created DLR message for URL
> <http://smsrelay.e-msg.co.uk/testing.php?callbacktype=>
> 2004-01-30 11:46:52 [5] INFO: dlr not destroyed, still waiting for other
> delivery report
> 2004-01-30 11:46:52 [8] DEBUG: boxc_sender: sent message to <127.0.0.1>
> 2004-01-30 11:46:52 [7] DEBUG: boxc_receiver: got ack
> 2004-01-30 11:46:52 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: Got PDU:
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU 0x80d1cf8 dump:
> 2004-01-30 11:46:52 [5] DEBUG:   type_name: deliver_sm
> 2004-01-30 11:46:52 [5] DEBUG:   command_id: 5 = 0x00000005
> 2004-01-30 11:46:52 [5] DEBUG:   command_status: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sequence_number: 1 = 0x00000001
> 2004-01-30 11:46:52 [5] DEBUG:   service_type: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   source_addr_ton: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   source_addr_npi: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   source_addr: "447966013309"
> 2004-01-30 11:46:52 [5] DEBUG:   dest_addr_ton: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   dest_addr_npi: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   destination_addr: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   esm_class: 4 = 0x00000004
> 2004-01-30 11:46:52 [5] DEBUG:   protocol_id: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   priority_flag: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   schedule_delivery_time: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   validity_period: NULL
> 2004-01-30 11:46:52 [5] DEBUG:   registered_delivery: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   data_coding: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sm_length: 102 = 0x00000066
> 2004-01-30 11:46:52 [5] DEBUG:   short_message:
> 2004-01-30 11:46:52 [5] DEBUG:    Octet string at 0x80d1a50:
> 2004-01-30 11:46:52 [5] DEBUG:      len:  102
> 2004-01-30 11:46:52 [5] DEBUG:      size: 103
> 2004-01-30 11:46:52 [5] DEBUG:      immutable: 0
> 2004-01-30 11:46:52 [5] DEBUG:      data: 69 64 3a 34 30 38 30 34
id:40804
> 2004-01-30 11:46:52 [5] DEBUG:      data: 30 34 36 20 73 75 62 3a   046
sub:
> 2004-01-30 11:46:52 [5] DEBUG:      data: 30 30 31 20 64 6c 76 72   001
dlvr
> 2004-01-30 11:46:52 [5] DEBUG:      data: 64 3a 30 30 31 20 73 75   d:001
su
> 2004-01-30 11:46:52 [5] DEBUG:      data: 62 6d 69 74 20 64 61 74   bmit
dat
> 2004-01-30 11:46:52 [5] DEBUG:      data: 65 3a 30 34 30 31 33 30
e:040130
> 2004-01-30 11:46:52 [5] DEBUG:      data: 31 32 31 34 20 64 6f 6e   1214
don
> 2004-01-30 11:46:52 [5] DEBUG:      data: 65 20 64 61 74 65 3a 30   e
date:0
> 2004-01-30 11:46:52 [5] DEBUG:      data: 34 30 31 33 30 31 32 31
40130121
> 2004-01-30 11:46:52 [5] DEBUG:      data: 34 20 73 74 61 74 3a 41   4
stat:A
> 2004-01-30 11:46:52 [5] DEBUG:      data: 43 4b 45 44 20 20 20 65   CKED
e
> 2004-01-30 11:46:52 [5] DEBUG:      data: 72 72 3a 30 30 33 20 74   rr:003
t
> 2004-01-30 11:46:52 [5] DEBUG:      data: 65 78 74 3a 20 00         ext: .
> 2004-01-30 11:46:52 [5] DEBUG:    Octet string dump ends.
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU dump ends.
> 2004-01-30 11:46:52 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:] handle_pdu, got DLR
> 2004-01-30 11:46:52 [5] DEBUG: Looking for DLR
> smsc=SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:, ts=40804046, dst=(null),
> type=2
> 2004-01-30 11:46:52 [5] DEBUG: DLR not found!
> 2004-01-30 11:46:52 [5] ERROR:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: got DLR but could not
find
> message or was not interested in it
> 2004-01-30 11:46:52 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: Sending PDU:
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU 0x80d17b0 dump:
> 2004-01-30 11:46:52 [5] DEBUG:   type_name: deliver_sm_resp
> 2004-01-30 11:46:52 [5] DEBUG:   command_id: 2147483653 = 0x80000005
> 2004-01-30 11:46:52 [5] DEBUG:   command_status: 0 = 0x00000000
> 2004-01-30 11:46:52 [5] DEBUG:   sequence_number: 1 = 0x00000001
> 2004-01-30 11:46:52 [5] DEBUG:   message_id: NULL
> 2004-01-30 11:46:52 [5] DEBUG: SMPP PDU dump ends.
> 2004-01-30 11:46:54 [3] DEBUG: HTTP: Resetting HTTPClient for
> `217.35.98.29'.
> 2004-01-30 11:46:55 [3] DEBUG: HTTP: Resetting HTTPClient for
> `217.35.98.29'.
> 2004-01-30 11:46:59 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: Got PDU:
> 2004-01-30 11:46:59 [5] DEBUG: SMPP PDU 0x80d10b0 dump:
> 2004-01-30 11:46:59 [5] DEBUG:   type_name: deliver_sm
> 2004-01-30 11:46:59 [5] DEBUG:   command_id: 5 = 0x00000005
> 2004-01-30 11:46:59 [5] DEBUG:   command_status: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   sequence_number: 2 = 0x00000002
> 2004-01-30 11:46:59 [5] DEBUG:   service_type: NULL
> 2004-01-30 11:46:59 [5] DEBUG:   source_addr_ton: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   source_addr_npi: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   source_addr: "447966013309"
> 2004-01-30 11:46:59 [5] DEBUG:   dest_addr_ton: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   dest_addr_npi: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   destination_addr: NULL
> 2004-01-30 11:46:59 [5] DEBUG:   esm_class: 4 = 0x00000004
> 2004-01-30 11:46:59 [5] DEBUG:   protocol_id: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   priority_flag: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   schedule_delivery_time: NULL
> 2004-01-30 11:46:59 [5] DEBUG:   validity_period: NULL
> 2004-01-30 11:46:59 [5] DEBUG:   registered_delivery: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   replace_if_present_flag: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   data_coding: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   sm_default_msg_id: 0 = 0x00000000
> 2004-01-30 11:46:59 [5] DEBUG:   sm_length: 102 = 0x00000066
> 2004-01-30 11:46:59 [5] DEBUG:   short_message:
> 2004-01-30 11:46:59 [5] DEBUG:    Octet string at 0x80d1898:
> 2004-01-30 11:46:59 [5] DEBUG:      len:  102
> 2004-01-30 11:46:59 [5] DEBUG:      size: 103
> 2004-01-30 11:46:59 [5] DEBUG:      immutable: 0
> 2004-01-30 11:46:59 [5] DEBUG:      data: 69 64 3a 34 30 38 30 34
id:40804
> 2004-01-30 11:46:59 [5] DEBUG:      data: 30 34 36 20 73 75 62 3a   046
sub:
> 2004-01-30 11:46:59 [5] DEBUG:      data: 30 30 31 20 64 6c 76 72   001
dlvr
> 2004-01-30 11:46:59 [5] DEBUG:      data: 64 3a 30 30 31 20 73 75   d:001
su
> 2004-01-30 11:46:59 [5] DEBUG:      data: 62 6d 69 74 20 64 61 74   bmit
dat
> 2004-01-30 11:46:59 [5] DEBUG:      data: 65 3a 30 34 30 31 33 30
e:040130
> 2004-01-30 11:46:59 [5] DEBUG:      data: 31 32 31 34 20 64 6f 6e   1214
don
> 2004-01-30 11:46:59 [5] DEBUG:      data: 65 20 64 61 74 65 3a 30   e
date:0
> 2004-01-30 11:46:59 [5] DEBUG:      data: 34 30 31 33 30 31 32 31
40130121
> 2004-01-30 11:46:59 [5] DEBUG:      data: 34 20 73 74 61 74 3a 44   4
stat:D
> 2004-01-30 11:46:59 [5] DEBUG:      data: 45 4c 49 56 52 44 20 65   ELIVRD
e
> 2004-01-30 11:46:59 [5] DEBUG:      data: 72 72 3a 30 30 30 20 74   rr:000
t
> 2004-01-30 11:46:59 [5] DEBUG:      data: 65 78 74 3a 20 00         ext: .
> 2004-01-30 11:46:59 [5] DEBUG:    Octet string dump ends.
> 2004-01-30 11:46:59 [5] DEBUG: SMPP PDU dump ends.
> 2004-01-30 11:46:59 [5] DEBUG:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:] handle_pdu, got DLR
> 2004-01-30 11:46:59 [5] DEBUG: Looking for DLR
> smsc=SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:, ts=40804046, dst=(null),
> type=1
> 2004-01-30 11:46:59 [5] DEBUG: DLR not found!
> 2004-01-30 11:46:59 [5] ERROR:
> SMPP[SMPP:smpp1.mblox.com:3200/3200:EurSoftDev:]: got DLR but could not
find
> message or was not interested in it
> 2
>
>
>
>


Reply via email to