Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can someone please explaind me what is DLR and how it used in sms gateways?

Can someone please explaind me what is DLR and how it used in sms gateways?

like image 212
Verbose Avatar asked Jul 11 '10 09:07

Verbose


People also ask

What is dlr SMS?

What is DLR (Delivery Reporting)? Delivery reporting is a feature of SMS MT that reports back on the delivery status of every SMS message that has been sent. A DLR is generated when the recipient mobile device acknowledges that it has received the message.

What is dlr URL?

DLRURL is the URL from which you can get the delivery reports if requested through an API. To request such delivery reports, you need to pass "DLRURL" parameter in the API URL.

How can I use my Android phone as SMS gateway?

In order to turn your Android phone into a SMS gateway, you will need to install the free app myMobKit available at Google Play Store. After installing, start the control panel service, and you should be able to see the URL to access the hosted website. The hosted website shows the available APIs and their usage.


1 Answers

It is a URL callback for Delivery Reports. Instead of the gateway logging the activity it will callback the provided URL using a querystring at the end with the parameters of the delivery report.

So in order for the URL callback to work you'll need a HTTP webserver with a URL that listens for incoming GET requests:

http://www.example.com/dlr.php

then requests are sent to it like so

"http://example.com/dlr.php?page=dlr&status=[status]&answer=[answer]&to=[to]&ts=[ts]&id=[id]"

The full listing of documentation can be found here.

like image 175
Metalshark Avatar answered Oct 20 '22 00:10

Metalshark