Hi,

 

I’ve got kannel connected to two SMSCs. DLRs are working correctly on one SMSC but not on the other one.

 

The first SMSC connection log looks like this:

 

2006-09-18 13:26:59 [4137] [7] DEBUG: DLR[internal]: Adding DLR smsc=SMPP:smpp.*****.com:8010/8010:*****:*****, ts=10505A2A, src="" dst=+491727*****, mask=31, boxc=

2006-09-18 13:26:59 [4137] [7] DEBUG: SMSC[SMPP:smpp.*****.com:8010/8010:*****:*****]: creating DLR message

2006-09-18 13:826:59 [4137] [7] DEBUG: SMSC[SMPP:smpp.*****.com:8010/8010: *****:*****]: DLR = http://localhost:13113/dlr? msisdn=+491727******&slot=0&dlrstatus=%d

2006-09-18 13:27:09 [4137] [8] DEBUG: SMPP[SMPP:smpp.******.com:8010/8010: *****:*****] handle_pdu, got DLR

2006-09-18 13:27:09 [4137] [8] DEBUG: DLR[internal]: Looking for DLR smsc=SMPP:smpp.*****.com:8010/8010:*****:*****, ts=10505A2A, dst=491727*****, type=1

2006-09-18 13:27:09 [4137] [8] DEBUG: DLR[internal]: created DLR message for URL <http://localhost:13113/dlr?msisdn=+491727******&slot=0& dlrstatus=%d>

 

As you can see it had found the matching ts (10505A2A) correctly and proceeds to call the DLR URL.

 

Now, the second SMSC log looks like this:

 

2006-09-14 09:49:22 [17276] [7] DEBUG: DLR[internal]: Adding DLR smsc=****, ts=09573EF8, src="" dst=6421*****, mask=31, boxc=

2006-09-14 09:49:22 [17276] [1] DEBUG: Dumping 0 messages and 0 acks to store

2006-09-14 09:49:22 [17276] [7] DEBUG: SMSC[*****]: creating DLR message

2006-09-14 09:49:22 [17276] [7] DEBUG: SMSC[*****]: DLR = ://localhost:13113/dlr?msisdn=6421*****&slot=0&dlrstatus=%d

2006-09-14 09:49:25 [17276] [8] DEBUG: SMPP[****] handle_pdu, got DLR

2006-09-14 09:49:25 [17276] [8] DEBUG: DLR[internal]: Looking for DLR smsc=****, ts=0156712696, dst=6421*****, type=1

2006-09-14 09:49:25 [17276] [8] WARNING: DLR[internal]: DLR for DST<6421*****> not found.

2006-09-14 09:49:25 [17276] [8] ERROR: SMPP[****]: got DLR but could not find message or was not interested in it id<0156712696> dst<6421******>, type<1>

 

In this case, the SMSC converts the hex ts (09573EF8) to decimal (0156712696) – which causes kannel to not match the DLR correctly.

 

Is there a config option or workaround to change this behaviour? I’m using kannel 1.4.0.

 

Thanks in advance,

Cyrus

 

Cyrus Patel

Senior Software Engineer

Seeker Wireless

 

TEL:   +61 2 9499 9848

FAX:  +61 2 9499 9845

MOB: +61 413 685 795

[EMAIL PROTECTED]

 

 

Seeker Wireless Pty. Ltd., ABN 95 106 550 805. This electronic mail includes information from Seeker Wireless Pty Ltd which may be privileged or confidential. This information is for the use of the individual(s) or entity named in the greeting above. If you are not the intended recipient please be aware that any use of this information is prohibited. If you have received this electronic mail in error, please notify the sender (above) by return email.

 

Reply via email to