MR(s);
we try to get delivery report from kannel i found away on
kannel 1.4. user's guide using the dlr-mask and dlr-url (in chapter 9 sms
delivery report).
i have some questions hope to get answers.
1: shall we make a URL to to get delivery reports on it?
2: written in user's guide URL for example dlr-url=
http://www.xyz.com/cgi/dlr.php?type=%d what is d? is it the number
referred to delivery report type and if it_ shall we make
number of web pages equivalent to kind of delivery reports we
need please explain that?
3:shall we pass the dlr-url in the link of sending message beside
dlr_mask?
4:if the answer of 1 is yes here some code of java script that
some one who use kannel published it on line i want also some explain. on
it
*
*
*// This is an imaginary phone number*
*var number = "+222222222222222222" // shall it change to the number we
send to after sending or we change it before or what?
*
* *
*// This is the SMS content*
*var text = encodeURIComponent("Hello World!") // ** shall it change to
the message we send to after sending or we change it before or what?**
*
* *
*// This is the URL that is called when the deliver report is received*
*var dlr_url = encodeURIComponent("
http://localhost/my_app/recieve_delivery_report?status=%d")*
* *
*// This is the default send_sms url defined by kannel*
*var send_url = "
http://localhost:13001/cgi-bin/sendsms?username=tester&password=foobar"*
* *
*// This is the final send_sms link *
*var link = send_url + "&to=" + number + "&text=" + text +
"&dlr-mask=31&dlr-url=" +dlr_url*
* *
*window.location = *link
finally is it work with Quescom 400 gate way device?
please answer me urgently as quickly as you can
hope i help improving kannel.
with all my best wishes and thanks.
Eng: khaled mohamed
Razytech. compnay
cairo Egypt