AT Commands for Delivery or Status report indication

AT Commands for Delivery or Status report indication SearchSearch
Author Message
eBank Works Team
New member
Username: Ebankworks

Post Number: 1
Registered: 12-2006
Posted on Thursday, December 07, 2006 - 12:02 pm:   

Hello Sir or Madam,

Our team has developed an application that will send and receive SMS via Nokia30 GSM Modem. The messages are send through PDU mode i.e AT+CMGF=0
We have initialised the paramters for the modem such as the Service Center number SCSA, the type of modem [GSM or CDMA etc] and other commands.
Now when we send a PDU message using the command

AT+CMGS=<pdu length><CR>
<pdu message. . . ><CTRL-Z>

The message is send [i.e to the service provider]and the response that we receive through the HyperTerminal software was

OK
+CMGS=<some index>

The mobile number to which the message was send was switched ON. The message has reached the mobile. So we were supposed to receive delivery report from the other end to our newly developed application. But this did not happen. We were unable to receive the status or Delivery report.


You people discuss and write whether is there any AT command to be exceuted to initialise the delivery report via HYPER TERMINAL application.
If you people can indeed help my team it would be grateful for me.
Hope I get the answer soon. . sir or madam.
Malcolm - Now Support
New member
Username: Malcolm

Post Number: 13
Registered: 12-2006
Posted on Friday, December 15, 2006 - 08:27 pm:   

Hi,

This is the support forum for the Now SMS/MMS Gateway software product.

You can request delivery receipts when submitting messages via NowSMS, and NowSMS will return back an SMPP format delivery receipt if supported by the modem and network.

I can offer technical support on using NowSMS ... but I can't help you write your own GSM modem handling software.

--
Malcolm
Now Wireless Support
Darek Chorazewicz
Frequent Contributor
Username: Daro

Post Number: 53
Registered: 03-2004
Posted on Monday, December 18, 2006 - 04:36 pm:   

I would like to know how to setup delivery reports for sms in NowSMS software.

Regards
Dariusz
Malcolm - Now Support
New member
Username: Malcolm

Post Number: 24
Registered: 12-2006
Posted on Monday, December 18, 2006 - 05:46 pm:   

Hi Dariusz,

You can find a lot of details searching the discussion board here with a keyword of ReceiptRequested (all one word). I mention this in case my brief reply leaves you wanting more information.

Delivery receipts are supported when NowSMS is configured to submit outbound messages via SMPP connection(s) and/or GSM modem(s). (There is also experimental support for UCP/EMI, but we are presently looking for additional feedback to confirm that this works properly outside of our limited test environment.)

HTTP clients can request a delivery receipt by including "&ReceiptRequested=Yes" in the URL request.

HTTP clients can receive delivery receipts back through the 2-way command interface, using a "Command Prefix" of "id:*". A @@RECEIPTMESSAGEID@@ variable contains the message id for which the receipt applies.

Bryce provides a good description of receipt processing for HTTP clients in the 8th posting of the following thread: http://support.nowsms.com/discus/messages/1/10825.h tml

For SMPP clients, they just set the "registered_delivery" flag to 1 ... and any receipts get routed back to the "SMS Users" account associated with that SMPP client.

A few other notes ...

"Receive SMS" should be checked for the "Properties" of the connection in the SMSC list.

Not all GSM modems support delivery receipts (and not all operator networks). With some GSM modems, you need to set "SMS Message Storage" to be "Direct to Modem" in order for delivery receipts to work properly.

--
Malcolm
Now Wireless Support
Darek Chorazewicz
Frequent Contributor
Username: Daro

Post Number: 54
Registered: 03-2004
Posted on Monday, December 18, 2006 - 06:14 pm:   

I did as you mentioned but delivery reports still don't work by sending sms thru http or smpp.
We use gsm modem option globetrotter gt max.
I'm able to send sms with delivery report thru mobility manager (default software for this modem) so I think that this modem supports delivery reports.
Have no idea why NowSMS doesn't process them.
I can't find any information that DR are received in nowsms logs.

Can you tell step by step what should be set to request DR and get them using HTTP interface and SMPP?

Regards
Dariusz
Malcolm - Now Support
New member
Username: Malcolm

Post Number: 29
Registered: 12-2006
Posted on Monday, December 18, 2006 - 06:42 pm:   

Hi Dariusz,

There is not much more to tell.

HTTP clients can request a delivery receipt by including "&ReceiptRequested=Yes" in the URL request.

For SMPP clients, they just set the "registered_delivery" flag to 1.

It is possible that the modem does not forward delivery reports to the GSM modem interface. But, the best way to determine what is going on is to enable the SMSDEBUG.LOG. Submit one or more messages with delivery receipt requested, and then reply back with the SMSDEBUG.LOG as an attachment.

--
Malcolm
Now Wireless Support

Darek Chorazewicz
Frequent Contributor
Username: Daro

Post Number: 55
Registered: 03-2004
Posted on Monday, December 18, 2006 - 06:59 pm:   

I sent couple of msg with dr request for all but as I see from smsdebug file no dr are received but I hear incoming dr's (bad signal in radio)

application/octet-streamsmsdebug
SMSDEBUG.LOG (11.7 k)