Q1) Write a .php, .asp or cgi script that writes the dlr into a database.
Then, point dlr-url (in the sendsms request) to your script.
Dont forget to include a unique ID in the dlr-url and also dont forget to
urlencode the url when you pass it to sendsms..

Q2) Write a .php, .asp or cgi script that accepts the parameters as you
want. Then -in the script- mangle the parameters such as Kannel (sendsms)
accepts them.

Rene Kluwen
Chimit

> Hi All,
> I have two questions as below. I would appreciate someone helping me with
> correct inputs.
>
> I run Kannel on Redhat Linux 9. I am configuring Kannel to be used as a
> SMS
> gateway. I have configured one SMPP SMSC and couple of sendsms users.
> Kannel
> binds to the SMSC properly without any errors. I am sending an SMS through
> the HTTP interface sendsms.php and the message gets delivered to the
> handset.
>
> Q1) I want Kannel to receive the delivery receipt and write it into a
> MySQL
> table. For achieving this, kannel has to submit_sm with
> registered_delivery
> = 1. When I try to set msg-id-type to 1 or 2 or 3, there is no change in
> the
> behavior. How do I make Kannel receive the delivery receipt and write it
> into the mysql table?
>
> Q2) I am also configuring a HTTP gateway to which SMS has to be sent. The
> parameters of the http gateway are different from that expected by the
> sendsms.php. How do I synchronize both?
>
> regards
> ravi
>
>
>
>
>


Reply via email to