Check your ID numbering bases for submit_sm and deliver_sm. Looks like you are 
not using the same base for submit and deliver.

3188534916 = 83101780110

Msg-id-type is the parameter you should be looking at

Davor Spasoski

From: users [mailto:users-boun...@kannel.org] On Behalf Of Wan Md Arif Noor 
Bin. Wan Nizam
Sent: Wednesday, August 16, 2017 11:40 AM
To: users@kannel.org
Subject: Wrong DLR ID.

Hi Users,

I found weird thing with kannel today, where when submit an MT it was tagged 
with different ID but when I checked inside debug log, the ID was correct. This 
causing "got DLR but could not find message or was not interested in it 
id<31943697>" error. I don't know where this  831017801 come from. Appreciate 
your help on this.

Kannel bearerbox version `svn-r5186M'.

Logs :

2017-08-16 17:11:28 [SMSC:6SeriesConn13] [from:*****] [to:**********] 
[msg:82:RM0: To unsubscribe, send OUT 69111..Tel] [FID:831017801] 
[State:?smpp_resp?]
2017-08-16 17:11:32 [SMSC:6SeriesConn13] [from:+**********] [to:*****] [msg:0:] 
[FID:31885349] [State:?smpp?Message+State=2&]

1687656:2017-08-16 17:11:28 [3552] [22] DEBUG:   type_name: submit_sm
1687657:2017-08-16 17:11:28 [3552] [22] DEBUG:   command_id: 4 = 0x00000004
1687658:2017-08-16 17:11:28 [3552] [22] DEBUG:   command_status: 0 = 0x00000000
1687659:2017-08-16 17:11:28 [3552] [22] DEBUG:   sequence_number: 619 = 
0x0000026b
1687660:2017-08-16 17:11:28 [3552] [22] DEBUG:   service_type: NULL
1687661:2017-08-16 17:11:28 [3552] [22] DEBUG:   source_addr_ton: 0 = 0x00000000
1687662:2017-08-16 17:11:28 [3552] [22] DEBUG:   source_addr_npi: 1 = 0x00000001
1687663:2017-08-16 17:11:28 [3552] [22] DEBUG:   source_addr: "*****"
1687664:2017-08-16 17:11:28 [3552] [22] DEBUG:   dest_addr_ton: 1 = 0x00000001
1687665:2017-08-16 17:11:28 [3552] [22] DEBUG:   dest_addr_npi: 1 = 0x00000001
1687666:2017-08-16 17:11:28 [3552] [22] DEBUG:   destination_addr: "*******"
1687667:2017-08-16 17:11:28 [3552] [22] DEBUG:   esm_class: 0 = 0x00000000
1687668:2017-08-16 17:11:28 [3552] [22] DEBUG:   protocol_id: 0 = 0x00000000
1687669:2017-08-16 17:11:28 [3552] [22] DEBUG:   priority_flag: 0 = 0x00000000
1687670:2017-08-16 17:11:28 [3552] [22] DEBUG:   schedule_delivery_time: NULL
1687671:2017-08-16 17:11:28 [3552] [22] DEBUG:   validity_period: NULL
1687672:2017-08-16 17:11:28 [3552] [22] DEBUG:   registered_delivery: 1 = 
0x00000001
1687673:2017-08-16 17:11:28 [3552] [22] DEBUG:   replace_if_present_flag: 0 = 
0x00000000
1687674:2017-08-16 17:11:28 [3552] [22] DEBUG:   data_coding: 0 = 0x00000000
1687675:2017-08-16 17:11:28 [3552] [22] DEBUG:   sm_default_msg_id: 0 = 
0x00000000
1687676:2017-08-16 17:11:28 [3552] [22] DEBUG:   sm_length: 82 = 0x00000052
1687677:2017-08-16 17:11:28 [3552] [22] DEBUG:   short_message:
1687678:2017-08-16 17:11:28 [3552] [22] DEBUG:    Octet string at 
0x7f32c4000b30:
1687679:2017-08-16 17:11:28 [3552] [22] DEBUG:      len:  82
1687680:2017-08-16 17:11:28 [3552] [22] DEBUG:      size: 83
1687681:2017-08-16 17:11:28 [3552] [22] DEBUG:      immutable: 0
1687682:2017-08-16 17:11:28 [3552] [22] DEBUG:      data: 52 4d 30 3a 20 54 6f 
20 75 6e 73 75 62 73 63 72   RM0: To unsubscr
1687683:2017-08-16 17:11:28 [3552] [22] DEBUG:      data: 69 62 65 2c 20 73 65 
6e 64 20 4f 55 54 20 36 39   ibe, send OUT 69
1687684:2017-08-16 17:11:28 [3552] [22] DEBUG:      data: 31 31 31 2e 0a 54 65 
6c 3a 20 36 30 33 38 36 30   111..Tel: 603860
1687685:2017-08-16 17:11:28 [3552] [22] DEBUG:      data: 31 30 31 30 37 2c 49 
6e 6x 6x 6x 6x 7x 2x 4x 7x   10107
1687686:2017-08-16 17:11:28 [3552] [22] DEBUG:      data: 69 61 20 50 61 63 69 
66 69 63 20 53 64 6e 20 42   <removed>
1687687:2017-08-16 17:11:28 [3552] [22] DEBUG:      data: 68 64
1687688:2017-08-16 17:11:28 [3552] [22] DEBUG:    Octet string dump ends.
1687689:2017-08-16 17:11:28 [3552] [22] DEBUG: SMPP PDU dump ends.
1687692:2017-08-16 17:11:28 [3552] [22] DEBUG: SMPP[6SeriesConn13]: Got PDU:
1687693:2017-08-16 17:11:28 [3552] [22] DEBUG: SMPP PDU 0x7f32c4001e40 dump:
1687694:2017-08-16 17:11:28 [3552] [22] DEBUG:   type_name: submit_sm_resp
1687695:2017-08-16 17:11:28 [3552] [22] DEBUG:   command_id: 2147483652 = 
0x80000004
1687696:2017-08-16 17:11:28 [3552] [22] DEBUG:   command_status: 0 = 0x00000000
1687697:2017-08-16 17:11:28 [3552] [22] DEBUG:   sequence_number: 619 = 
0x0000026b
1687698:2017-08-16 17:11:28 [3552] [22] DEBUG:   message_id: "31885349"
1687699:2017-08-16 17:11:28 [3552] [22] DEBUG: SMPP PDU dump ends.


1687802:2017-08-16 17:11:32 [3552] [22] DEBUG: SMPP PDU 0x7f32c4006850 dump:
1687803:2017-08-16 17:11:32 [3552] [22] DEBUG:   type_name: deliver_sm
1687804:2017-08-16 17:11:32 [3552] [22] DEBUG:   command_id: 5 = 0x00000005
1687805:2017-08-16 17:11:32 [3552] [22] DEBUG:   command_status: 0 = 0x00000000
1687806:2017-08-16 17:11:32 [3552] [22] DEBUG:   sequence_number: 31885417 = 
0x01e68869
1687807:2017-08-16 17:11:32 [3552] [22] DEBUG:   service_type: NULL
1687808:2017-08-16 17:11:32 [3552] [22] DEBUG:   source_addr_ton: 1 = 0x00000001
1687809:2017-08-16 17:11:32 [3552] [22] DEBUG:   source_addr_npi: 1 = 0x00000001
1687810:2017-08-16 17:11:32 [3552] [22] DEBUG:   source_addr: "*******"
1687811:2017-08-16 17:11:32 [3552] [22] DEBUG:   dest_addr_ton: 0 = 0x00000000
1687812:2017-08-16 17:11:32 [3552] [22] DEBUG:   dest_addr_npi: 1 = 0x00000001
1687813:2017-08-16 17:11:32 [3552] [22] DEBUG:   destination_addr: "*****"
1687814:2017-08-16 17:11:32 [3552] [22] DEBUG:   esm_class: 4 = 0x00000004
1687815:2017-08-16 17:11:32 [3552] [22] DEBUG:   protocol_id: 0 = 0x00000000
1687816:2017-08-16 17:11:32 [3552] [22] DEBUG:   priority_flag: 0 = 0x00000000
1687817:2017-08-16 17:11:32 [3552] [22] DEBUG:   schedule_delivery_time: NULL
1687818:2017-08-16 17:11:32 [3552] [22] DEBUG:   validity_period: NULL
1687819:2017-08-16 17:11:32 [3552] [22] DEBUG:   registered_delivery: 0 = 
0x00000000
1687820:2017-08-16 17:11:32 [3552] [22] DEBUG:   replace_if_present_flag: 0 = 
0x00000000
1687821:2017-08-16 17:11:32 [3552] [22] DEBUG:   data_coding: 0 = 0x00000000
1687822:2017-08-16 17:11:32 [3552] [22] DEBUG:   sm_default_msg_id: 0 = 
0x00000000
1687823:2017-08-16 17:11:32 [3552] [22] DEBUG:   sm_length: 0 = 0x00000000
1687824:2017-08-16 17:11:32 [3552] [22] DEBUG:   short_message: ""
1687825:2017-08-16 17:11:32 [3552] [22] DEBUG:   message_state: 2 = 0x00000002
1687826:2017-08-16 17:11:32 [3552] [22] DEBUG:   receipted_message_id: 
"31885349"
1687827:2017-08-16 17:11:32 [3552] [22] DEBUG:   Message State: "2"
1687828:2017-08-16 17:11:32 [3552] [22] DEBUG: SMPP PDU dump ends.


Thank you and Regards,
Arif Noor


________________________________

Disclaimer: one.Vip DOO Skopje
This e-mail (including any attachments) is confidential and may be protected by 
legal privilege. If you are not the intended recipient, you should not copy it, 
re-transmit it, use it or disclose its contents, but should return it to the 
sender immediately and delete your copy from your system. Any unauthorized use 
or dissemination of this message in whole or in part is strictly prohibited. 
Please note that e-mails are susceptible to change. one.Vip DOO Skopje shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system.
Please, do not print this e-mail unless it is necessary! Think about saving the 
environment!

????????: ???.??? ??? ??????
???? ??????????? ?????? (??????????? ?? ? ?????????) ? ????????? ? ???? ?? ???? 
????????? ?? ?????? ??????????. ??????? ?? ??? ?????? ?? ??? ??? ?? ? ???????? 
????????, ?? ????? ?? ?? ????????, ????????????? ??? ?? ?? ????????? ????????? 
????????, ???? ?????? ?? ?? ?????????? ?? ?????????? ? ?? ?? ????????? 
???????????? ?????? ? ???? ??????? ????? ?? ?????? ???????????? ??????. ????? 
??????????? ????????? ?? ???? ?????? ?? ?????? ??? ?????? ?? ?????? ? ?????? 
?????????. ?? ?????? ?? ?????????? ???? ????????????? ?????? ?? ???????? ?? 
???????. ???.??? ??? ?????? ?? ??????? ??????????? ?? ??????????? ??? ????????? 
??????????? ?? ???????????? ???????? ?? ???? ????????????, ???? ??? ?? ???? 
????? ??????????? ?? ??????? ??? ?????????? ?? ?????? ??????.
?? ?????? ?? ?? ???????? ???? ?????? ????? ??? ?? ? ?????????! ????????? ?? 
?????????!

Reply via email to