Can anybody help me about question on delivery reports for WAP pushes, thanks!
"Ramon Wang" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all:
I have read the user guide about how to configure delivery
reports for WAP pushes, but there are still some question with me. Can
any body help me to figure it out, thanks.
The question is when I want to get some delivery reports about
a short message, from the guide I know if you configure the follow
information:
http_header_add(push_headers, "X-Kannel-SMSC",
"link0");
http_header_add(push_headers, "X-Kannel-DLR-Url",
"http://193.53.0.56:8001/notification-dlr?smsc-id=%i"
"&status=%d&answer=%A&to=%P&from=%p&ts=%t);
http_header_add(push_headers, "X-Kannel-DLR-Mask",
octstr_get_cstr(dos = octstr_format("%d", 31)));
http_header_add(push_headers, "X-Kannel-Smsbox-Id", "dlrbox"));
You can get the report you want from the URL you specified in
variable "X-Kannel-DLR-Url", the information you can get from the report
are "status" and "answer", but how do you know this report is for which
short message you send, for case you send two short messages to the same
phone number, how do you identify the delivery report you received is
for which message you send, the first one? The second one? This is a
huge problem which should face, please help me thanks!
Bitfone Corporation
Ramon Wang
Tel:86-10-65159776*1802
Fax:86-10-65156595
[email protected] <mailto:[email protected]>