Help with sms delivery receipts

Help with sms delivery receipts SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through October 19, 2005 » Help with sms delivery receipts « Previous || Next »
Author Message
Anonymous
 
Posted on Wednesday, August 10, 2005 - 12:08 pm:   

Im using a Sony Ericsson K700 with the trial version of NowSMS 5.1b and am having problems recieving delivery reports.

I realized after looking at smsdebug that the modem wasn't initializing properly, something like

00:23:23:977 [2] ThreadProcessModem: AT+CSMS=1
00:23:24:097 [2] ThreadProcessModem: +CSMS: ERROR

00:23:23:536 [2] ThreadProcessModem: AT+CNMI=2,2,2,1,0
00:23:23:626 [2] ThreadProcessModem: +CMS ERROR: 303

00:23:23:626 [2] ThreadProcessModem: AT+CNMI=2,2
00:23:23:716 [2] ThreadProcessModem: +CMS ERROR: 303

So after looking through some other posts and geting an AT command spec I modified smsgw.INI and added the following lines to the modem section

CommandPostInit1=AT+CSMS=0
CommandPostInit2=AT+CNMI=2,0,0,1,0
CommandPostInit3=AT+CSMS?
CommandPostInit4=AT+CNMI?

Where 1 in CNMI equals recieve and process reports

The new response from smsdebug was

00:23:23:977 [2] ThreadProcessModem: AT+CSMS=0
00:23:24:097 [2] ThreadProcessModem: +CSMS: 1, 1, 1 OK

00:23:24:097 [2] ThreadProcessModem: AT+CNMI=2,3,2,1,0
00:23:24:207 [2] ThreadProcessModem: OK

00:23:24:207 [2] ThreadProcessModem: AT+CSMS?
00:23:24:327 [2] ThreadProcessModem: +CSMS: 0, 1, 1, 1 OK

When I send a request to send a message including ReceiptRequested=Yes, eg

00:23:41:873 [5] ThreadProcessConnection: Processing request /?Sender=%2xxxxxxxxxxxxx&PhoneNumber=%2B2xxxxxxxxxxx&Text=xxxxxxxxxxxxxxxxx&Rece iptRequested=Yes

It sends the message but I dont recieve a status report in SMSIN, I do however find the following lines in smsdebug about 10 seconds latter

00:23:59:017 [2] ModemReceiveMessages: 06380C9152745351172750800100129400508001001265000000000012
00:23:59:017 [2] ModemReceiveMessages: SMSC address len = 6
00:23:59:017 [2] ModemReceiveMessages: SMSC Address = C019254735
00:23:59:017 [2] ModemReceiveMessages: SMS Message type = 01

My question is, is this a receipt?? I've tried converting it, looks like hex, but dont get anything usefull. What am I doing wrong? Shouldn't I be recieving receipts as messages in SMSIN with a prefix id:??

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 4770
Registered: 10-2002
Posted on Tuesday, August 16, 2005 - 12:21 pm:   

http://support.nowsms.com/discus/messages/1/10793.html

Login Login / Register Logout Logout Search Last 30 Days Topics Topics