Delivery receit questions

Delivery receit questions SearchSearch
Author Message
Adrian Schauer
New member
Username: Adrian_schauer

Post Number: 18
Registered: 07-2006
Posted on Tuesday, June 05, 2007 - 12:35 am:   

Hi Bryce,

Hope all is well. It has been some time since I've posted on the board.

I have been trying to obtain MMS delivery receits using NOW SMS and have stumbled onto some questions to which I have been unable to come up with conclusive answers.

(1)I know that when an MMS is sent, a message id is returned, for instance something that looks like: 20070604/11/7AB19DD7.
(2)I know that delivery receits come in as SMS and therefore to handle them a nowsms user should set up the 2-way SMS feature.
(3)I have done this with the following settings:
SMS Command Prefix: *
Receive Phone Numbers: *
Command to Execute: http://[OUR SERVER IP]/mms_delivery.aspx?phonenumber=@@SENDER@@&mms_messageid=@@RECEIPTMESSAGEID@@

Questions:

Will @@SENDER@@ hold the mobile number of the recipient of the initial mms message?

Will @@RECEIPTMESSAGEID@@ hold the message id returned during the initial mms submission to NowSMS (ie. 20070604/11/7AB19DD7)?

If My initial HTTP GET request included the parameter "ReceiptRequested=Yes", should I always expect a receipt to come?

Thanks,
Adrian
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7160
Registered: 10-2002
Posted on Thursday, June 14, 2007 - 07:17 pm:   

Hi Adrian,

You're mixing two different things here in looking for SMS delivery receipts for MMS messages.

You can get SMS delivery receipts for SMS messages ... or MMS delivery receipts for MMS messages.

The SMS delivery receipts for SMS messages works pretty much like you describe above ... with the exception that @@RECEIPTMESSAGEID@@ contains the original SMS message id.

And ... if you want the command to only process delivery receipts, put id:* as the "SMS Command Prefix:".

Note that SMS delivery receipt support requires a GSM modem or an SMPP SMSC connection ... and it requires that the GSM modem and/or network and/or provider support delivery receipts. (In particular, some phones with GSM modem capability do not support delivery receipts. Similarly, not all SMPP providers support delivery receipts.)

MMS delivery receipts are more complex. Historically we haven't supported them when sending via a GPRS modem. With the upcoming release of NowSMS 2007, we do (pre-release is currently available at http://support.nowsms.com/discus/nowsms2007.zip).

The support that we have in place is primarily designed to work with MM7 applications. You would submit the message to NowSMS via MM7 with <DeliveryReport>true</DeliveryReport> to request it.

Delivery reports would come back via MM7 (<DeliveryReportReq>).

Note that NowSMS separates inbound vs. outbound account definition for MMS message routing. When you submit a message to NowSMS via MM7, you are using an "MMSC VASP" account. When the delivery report is routed back to you via MM7, it is routed through an "MMSC Routing" definition. In order to have the DeliveryReportReq routed to the correct "MMSC Routing" definition, the "MMSC VASP" and "MMSC Routing" definitions should have the same "Account Name" defined in NowSMS.

If you're not using MM7, and all of what I've described here sounds too complicated, the new version can also support delivery reports coming back to the MMS-IN directory via the file based interface. If you submit an MMS message to NowSMS, and include MMSDeliveryReport=Yes in the submit request, this sets the flag to request a delivery report.

If the delivery report comes back in via the modem, it will appear in the "MMS-IN" directory with "Message-type: m-delivery-ind" in the header.

Unfortunately, when it comes to MMS, at this point the delivery report handling is all pretty complicated.

The description above is primarily talking about routing MMS messages for delivery via an external connection (like a GPRS modem). If you're talking about a configuration where NowSMS is the MMSC, there is a simple HTTP accounting callback that can be configured.

-bn
Duncan MacPherson
New member
Username: Tighnagala

Post Number: 1
Registered: 07-2007
Posted on Thursday, July 12, 2007 - 06:37 pm:   

I have a Nokia 6820a and can not work out how to switch on Delivery Reports for SMS? ?.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7363
Registered: 10-2002
Posted on Thursday, July 12, 2007 - 09:08 pm:   

Hi Duncan,

This is the support forum for the Now SMS/MMS Gateway software product. Your question does not seem to be related to our product.

But I looked at a similar model mobile phone and found the relevant setting under Messages/Message Settings/Text Messages/Sending Profile/Select/Delivery Reports.

Note ... however, that most mobile phones use firmware that has been customised for the mobile operator through which the phone was sold/subsidised. And the ability to request delivery reports is a feature that is often removed in some operator firmware customisation ... so the setting might not be present in your phone.