Hi all,

My apologies for the previous message, I think I don't need that method anymore. Now I am receiving the DLR statussen, by setting the msg-id-type to 0x00. But with two different SMSC's, I receive different responses. I write the responses to XML, this is the result:

<?xml version="1.0" encoding="UTF-8"?>
<DELIVERY_REPORT><RECEIVED>03-03-2008 18:12:52</RECEIVED><mtid>47546961</mtid><smsc>1</smsc><status>2</status><answer>id:0319037263 submit date:0803031212 done date:0803031212 stat:DELIVRD</answer></DELIVERY_REPORT>


<?xml version="1.0" encoding="UTF-8"?>
<DELIVERY_REPORT><RECEIVED>03-03-2008 18:13:30</RECEIVED><mtid>47546994</mtid><smsc>2</smsc><status>1</status><answer>id:1079306272 sub:001 dlvrd:001 submit date:0803031159 done date:0803031206 stat:DELIVRD err:000 text:Necesito de buena co</answer></DELIVERY_REPORT>


As you can see, both carriers return the string DELIVRD. But Kannel parses the message differently. At smsc 1, it parses as status 2 (failed), at sms2 it parses as status 1 (delivered, as it should be).

What can I do about this?

Thanks!

Kind regards,
Roland.


Reply via email to