Hi,
 
Just hooked up another SMPP connection, and they use rather large message ids. For example:
 
00047274 20031223170148.364
 
Kannel is inserting this whole value (including characters after the space) into the ts field on the dlr table. However, when it comes to receiving the delivery report, it's truncating the message id after the first space, so it does:
 
 DLR[mysql]: Looking for DLR smsc=XXXX, ts=00047274, dst=44xxxxxxxxxx, type=1
 
Which of course it won't find, as it's lost the rest of the message id.
 
My C coding skills aren't up to much, but I would imagine it requires something that tests the first character after the space to see if it's numeric.
 
Alex

Reply via email to