Delivery Reports and 2 way with unicode

Delivery Reports and 2 way with unicode SearchSearch
Author Message
Omar
New member
Username: Kfsmart

Post Number: 35
Registered: 01-2008
Posted on Monday, September 01, 2008 - 07:15 am:   

I have 2 commands in the 2 ways sms one is for delivery reports and the other for sending 2 ways SMS.
I mention the command Prefix="Id:*" for delivery and comand prefix="*" for the 2 way.
I have as strange problem that when I 'm sending unicode (like Arabic)bulk SMS ,it executed the second one which has command prefix ("*") although In english it works fine executing that which has command prefix="Id:*"
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 74
Registered: 08-2008
Posted on Monday, September 01, 2008 - 01:39 pm:   

Hi Omar,

It sounds like your provider is returning a slightly different receipt message format when you send in Unicode.

I've got a couple of ideas of what might be happening. But I can really only guess.

Could you enable the SMSDEBUG.LOG, and then either reply back here or e-mail me the SMSDEBUG.LOG and SMPPDEBUG.LOG that shows at least one of these receipts coming back into your system.

If you send it via e-mail, send to nowsms@nowsms.com with (Des) in the subject line (keep the paretheses around my name) ... and this will make sure that the log files get routed to my attention.

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 77
Registered: 08-2008
Posted on Tuesday, September 02, 2008 - 02:24 pm:   

Hi Omar,

I've looked over all of the received messages in the debug logs that you sent, but none of them are delivery receipts.

They don't have the header flag set to indicate that they are a receipt. And they don't include any information that looks like a message id.

Is it possible that you did not receive any during the time period for which this log covered? I don't see any delivery receipts being received for english messages either.

Could you do a sending test where you send a Unicode and an english message with receipts requested, and then send debug logs that include these messages being sent, as well as the received delivery receipts?

--
Des
NowSMS Support
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 85
Registered: 08-2008
Posted on Wednesday, September 10, 2008 - 10:55 pm:   

Hi Omar,

Apologies for the delay in response. I was out of the office for a couple days, and it has been difficult to get caught back up. (And for others who are waiting for responses here, I promise I will be full on tomorrow.)

I ran this by one of my colleagues, and he told me that the problem appears to be that the service provider is setting the data_coding field to 8. This indicates that the message is in Unicode format. However, an analysis of the text reveals that the message is definitely not in Unicode ... at least the first part, which includes the message id, is not.

They are also failing to set the esm_class flag properly to indicate that the message is a delivery receipt. (Instead, they are setting the flag to indicate that they are requesting a delivery receipt for this message.)

Because of these issues, NowSMS is not recognising that the message is actually very poorly formatted delivery receipt.

We've produced an update that performs some additional analysis on incoming messages, so that NowSMS can recognise these messages as delivery receipts, and fix some of the message flags that are not set correctly. This update can be downloaded at http://www.nowsms.com/download/nowsmsupdate.zip.

--
Des
NowSMS Support