Java for Kannel交付报告 [英] java for kannel delivery report

查看:86
本文介绍了Java for Kannel交付报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用Java成功编写了一个用于通过Kannel发送SMS的类.但是我在编写交付报告类时遇到了很大的问题.知道怎么写吗?

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?

推荐答案

Kannel将通过您在SMS提交的dlr-url参数中指定的url(例如example.com/DLR?outgoing_id=123&status=%d)中向您发送传递报告.

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.

您所用的语言是无关紧要的.您只需要一个HTTP页面即可通过HTTP GET接受特定参数. Kannel会为交货状态,时间等添加参数,然后通过上述ID将其链接到您的SMS提交中.

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.

此讨论有一个清楚的例子.

这篇关于Java for Kannel交付报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆