Search code examples
javasmsreportkannel

java for kannel delivery report


I have successfully written a class for sending SMS over kannel in Java. But I have big problems to write a delivery report class. Any idea how to write it?


Solution

  • Kannel will send you back the delivery reports in the url you specify in the dlr-url parameter in the SMS submission, for example example.com/DLR?outgoing_id=123&status=%d.

    What language you write it in is irrelevant. All you need is an HTTP page that accepts specific parameters via HTTP GET. Kannel will add parameters for the delivery status, time, et al, and you will link them to your SMS submission via its id as above.

    This discussion has a clear example.