Hello, users! I have a problem matching a DLR to the original message. Here's what happens: I send a message to an smsc with international msisdn (+97250...), and get back DLR for local number (050... ) Is there anything i can do on my side?
Here's transaction dump from the log: 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP[smsc_pelephone_mt]: Manually forced source addr ton = 1, source add npi = 1 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP[smsc_pelephone_mt]: Sending PDU: 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP PDU 0x81bda20 dump: 2009-09-16 10:30:46 [4977] [6] DEBUG: type_name: submit_sm 2009-09-16 10:30:46 [4977] [6] DEBUG: command_id: 4 = 0x00000004 2009-09-16 10:30:46 [4977] [6] DEBUG: command_status: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: sequence_number: 67 = 0x00000043 2009-09-16 10:30:46 [4977] [6] DEBUG: service_type: NULL 2009-09-16 10:30:46 [4977] [6] DEBUG: source_addr_ton: 1 = 0x00000001 2009-09-16 10:30:46 [4977] [6] DEBUG: source_addr_npi: 1 = 0x00000001 2009-09-16 10:30:46 [4977] [6] DEBUG: source_addr: "1234" 2009-09-16 10:30:46 [4977] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 2009-09-16 10:30:46 [4977] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2009-09-16 10:30:46 [4977] [6] DEBUG: destination_addr: "*972507867645*" 2009-09-16 10:30:46 [4977] [6] DEBUG: esm_class: 3 = 0x00000003 2009-09-16 10:30:46 [4977] [6] DEBUG: protocol_id: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: priority_flag: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: schedule_delivery_time: NULL 2009-09-16 10:30:46 [4977] [6] DEBUG: validity_period: NULL 2009-09-16 10:30:46 [4977] [6] DEBUG: registered_delivery: 1 = 0x00000001 2009-09-16 10:30:46 [4977] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: data_coding: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: sm_length: 4 = 0x00000004 2009-09-16 10:30:46 [4977] [6] DEBUG: short_message: "test" 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP PDU dump ends. 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP[smsc_pelephone_mt]: Got PDU: 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP PDU 0x81bda20 dump: 2009-09-16 10:30:46 [4977] [6] DEBUG: type_name: submit_sm_resp 2009-09-16 10:30:46 [4977] [6] DEBUG: command_id: 2147483652 = 0x80000004 2009-09-16 10:30:46 [4977] [6] DEBUG: command_status: 0 = 0x00000000 2009-09-16 10:30:46 [4977] [6] DEBUG: sequence_number: 67 = 0x00000043 2009-09-16 10:30:46 [4977] [6] DEBUG: message_id: "FF0208008043" 2009-09-16 10:30:46 [4977] [6] DEBUG: SMPP PDU dump ends. 2009-09-16 10:30:46 [4977] [6] DEBUG: DLR[internal]: Adding DLR smsc=smsc_pelephone_mt, ts=FF0208008043, src=1234, *dst=+972507867645*, mask=31, boxc= 2009-09-16 10:30:46 [4977] [6] DEBUG: SMSC[smsc_pelephone_mt]: creating DLR message 2009-09-16 10:30:46 [4977] [6] DEBUG: SMSC[smsc_pelephone_mt]: DLR = http://127.0.0.1/imsc/interfaces/kannel_http/dlr.php?msg_id=1287&dlr=%d&reason=%A ...and then comes the DLR... 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP[smsc_pelephone_mt]: Got PDU: 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP PDU 0x81c0000 dump: 2009-09-16 10:30:49 [4977] [6] DEBUG: type_name: deliver_sm 2009-09-16 10:30:49 [4977] [6] DEBUG: command_id: 5 = 0x00000005 2009-09-16 10:30:49 [4977] [6] DEBUG: command_status: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: sequence_number: 64 = 0x00000040 2009-09-16 10:30:49 [4977] [6] DEBUG: service_type: NULL 2009-09-16 10:30:49 [4977] [6] DEBUG: source_addr_ton: 1 = 0x00000001 2009-09-16 10:30:49 [4977] [6] DEBUG: source_addr_npi: 1 = 0x00000001 2009-09-16 10:30:49 [4977] [6] DEBUG: source_addr: "*0507867645*" 2009-09-16 10:30:49 [4977] [6] DEBUG: dest_addr_ton: 1 = 0x00000001 2009-09-16 10:30:49 [4977] [6] DEBUG: dest_addr_npi: 1 = 0x00000001 2009-09-16 10:30:49 [4977] [6] DEBUG: destination_addr: "1234" 2009-09-16 10:30:49 [4977] [6] DEBUG: esm_class: 4 = 0x00000004 2009-09-16 10:30:49 [4977] [6] DEBUG: protocol_id: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: priority_flag: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: schedule_delivery_time: NULL 2009-09-16 10:30:49 [4977] [6] DEBUG: validity_period: NULL 2009-09-16 10:30:49 [4977] [6] DEBUG: registered_delivery: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: replace_if_present_flag: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: data_coding: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: sm_default_msg_id: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: sm_length: 111 = 0x0000006f 2009-09-16 10:30:49 [4977] [6] DEBUG: short_message: 2009-09-16 10:30:49 [4977] [6] DEBUG: Octet string at 0x81c3fa0: 2009-09-16 10:30:49 [4977] [6] DEBUG: len: 111 2009-09-16 10:30:49 [4977] [6] DEBUG: size: 112 2009-09-16 10:30:49 [4977] [6] DEBUG: immutable: 0 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 69 64 3a 32 38 30 33 38 34 31 38 39 32 36 38 30 id:2803841892680 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 33 35 20 73 75 62 3a 30 30 31 20 64 6c 76 72 64 35 sub:001 dlvrd 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 3a 30 30 31 20 73 75 62 6d 69 74 20 64 61 74 65 :001 submit date 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 3a 30 39 30 39 31 36 31 30 33 39 20 64 6f 6e 65 :0909161039 done 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 20 64 61 74 65 3a 30 39 30 39 31 36 31 30 33 39 date:0909161039 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 20 73 74 61 74 3a 44 45 4c 49 56 52 44 20 65 72 stat:DELIVRD er 2009-09-16 10:30:49 [4977] [6] DEBUG: data: 72 3a 30 30 30 20 74 65 78 74 3a 74 65 73 74 r:000 text:test 2009-09-16 10:30:49 [4977] [6] DEBUG: Octet string dump ends. 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP PDU dump ends. 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP[smsc_pelephone_mt] handle_pdu, got DLR 2009-09-16 10:30:49 [4977] [6] DEBUG: DLR[internal]: Looking for DLR smsc=smsc_pelephone_mt, ts=280384189268035, *dst=0507867645*, type=1 2009-09-16 10:30:49 [4977] [6] WARNING: DLR[internal]: DLR for DST<0507867645> not found. 2009-09-16 10:30:49 [4977] [6] ERROR: SMPP[smsc_pelephone_mt]: got DLR but could not find message or was not interested in it id<280384189268035> dst<0507867645>, type<1> 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP[smsc_pelephone_mt]: Sending PDU: 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP PDU 0x81bda20 dump: 2009-09-16 10:30:49 [4977] [6] DEBUG: type_name: deliver_sm_resp 2009-09-16 10:30:49 [4977] [6] DEBUG: command_id: 2147483653 = 0x80000005 2009-09-16 10:30:49 [4977] [6] DEBUG: command_status: 0 = 0x00000000 2009-09-16 10:30:49 [4977] [6] DEBUG: sequence_number: 64 = 0x00000040 2009-09-16 10:30:49 [4977] [6] DEBUG: message_id: NULL 2009-09-16 10:30:49 [4977] [6] DEBUG: SMPP PDU dump ends. I think this is because of ton/npi misconfiguration on the remote. am i right? Regards, Konstantin
