Delivery reports over MM7 | Search |
NowSMS Support Forums ⬆ MMS & SMS Technical Discussions (unsupported) ⬆ Archive through June 02, 2011 ⬆ |
◄ ► |
Author | Message | |||
Fernando ML Alves New member Username: Fernando7 Post Number: 1 Registered: 07-2010 |
Hi, I've got a NowSMS/MMS gateway connected to a MMSC via MM7 and I'm able to send MMS messages sucessfully from a PHP interface that communicates with the NowSMS interface. I'm sending DeliveryReport=true to NowSMS (from PHP) during my MMS submittion but I can't tell if I'm receiving DLRs back. What do I need to have configured in NowSMS for calling a php script back for delivery reports processment? I need to receive my delivery report in a php script. My current configurations are: -In NowSMS/MMS I have a MMSC Routing configuration for the operator MMSC and this is set as default. -I've got a MMSC VASP account that allows sending MMSs from the PHP script. -I have configure $mmsMessage = $this->MmsAddField($mmsMessage, "MMSDeliveryReport", "true"); in the php, as well. Thanks, Fernando | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 2380 Registered: 08-2008 |
Hi Fernando, Unfortunately, I'm not aware of any options to route an MMS delivery report back to a PHP script. We have defined an interface to allow received MMS messages to be routed to a PHP script (http://www.nowsms.com/support/bulletins/tb-nowsms-016.htm). However, if a delivery report gets routed back via that type of path, NowSMS will discard it, because we don't have a delivery report format defined for the PHP interface. I'm going to refer this back to our engineering team and see if they have any suggestions. There is a file based interface that you could use for receiving delivery reports, but it would require your app scanning the MMS-IN directory on the NowSMS server. Any received MMS messages would also have to be routed to this interface. To use this interface, note that you need to have things setup to receive MMS messages from the operator MMSC. (Delivery reports come in from the operator MMSC using the same path as a mobile originated MMS would.) There are some notes about setting this part of an operator MM7 connection up in the following article: http://blog.nowsms.com/2009/02/connecting-to-operator-mmsc-with-mm7.html It basically involves defining another "MMSC VASP" account that the operator uses when they have a message or delivery report to post to you. If you configure this "MMSC VASP" to "Receive to MMS-IN Directory", you'll see delivery reports as ".hdr" files in the MMS-IN directory that look like this: X-NowMMS-Received-From-VASP: inbound From: +999999999999/TYPE=PLMN To: +999999999997/TYPE=PLMN Message-type: m-delivery-ind MMS-version: 1.0 Message-id: 20090320/12/8E72CB1B@bigkahuna Date: Fri, 20 Mar 2009 17:35:33 GMT Status: Retrieved Maybe that would work for your needs? -- Des NowSMS Support | |||
Fernando ML Alves New member Username: Fernando7 Post Number: 2 Registered: 07-2010 |
I guess your suggestion will work for me. I will configure it with the operator and let you know. When talking about processing MMS DLRs probably doing it via a costum script will be one of the most wanted scenarios. Kannel allows this (via a HTTP GET). Regards, |