Hello,
I eventually managed to configure Kannel as a Push Proxy Gateway
(PPG), interconnect it
with a NOKIA SMS-C (which understands CIMD2), and a MySQL database for
storing the SMS
level delivery reports (DLR). I also have to thank Stipe Tolj for his
valuable help. Please find
attached the configuration file and a PAP/HTTP request.
Note that if you define the "default-dlr-url" attribute of the group
"ppg" in the Kannel's
configuration file, there is no need to define the "X-Kannel-DLR-Url"
header in the PAP/HTTP
request. However, if you neither define a "X-Kannel-DLR-Url" header, nor
the "default-dlr-url"
attribute, Kannel will not request a DLR from SMS-C. You should also
note the value of the header
"X-Kannel-DLR-Mask": I've only got DLR for specific values of that
header. However, I didn't deal
with what the reason was: either Kannel didn't request DLR, or the SMS-C
didn't send DLR.
Finally, I have two issues:
1. I send Unicode messages, so Kannel sends 3 CIMD2 messages to
SMS-C for each PAP
message. When I send a PAP message to Kannel, Kannel inserts a
record in database,
as soon as it sends the first CIMD2 message. On the other hand,
I receive at the DLR-URL
(defined with either "X-Kannel-DLR-Url", or "default-dlr-url") a
HTTP request with
status=8.
When I send another PAP message, Kannel does the same, but now I
receive an additional
HTTP request at the DLR-URL with status=1, and the corresponding
record in the database
is removed. This procedure is repeated for PAP message by PAP
message.
2. Does anyone know what is the maximum number of recipients that
Kannel supports in case
of a PAP message destined to multiple recipients?
Dimitris
wapkannel.conf
Description: wapkannel.conf
POST http://172.16.15.30:7080/push/miep_normal User-Agent: wap_push/1.0 Content-Type: multipart/related; boundary=PMasdfglkjhqwert; type="application/xml" X-Kannel-DLR-Mask: 31
--PMasdfglkjhqwert Content-Type: application/xml <?xml version="1.0"?> <!DOCTYPE pap PUBLIC "-//WAPFORUM//DTD PAP 1.0//EN" "http://www.wapforum.org/DTD/pap_1.0.dtd"> <pap product-name="MyPushInitiator"> <push-message push-id="PerlScript_PI/ffac461935b91fc2fbc51f2b6cc3dde7" source-reference="PerlScript_PI" ppg-notify-requested-to="http://172.17.60.28" progress-notes-requested="false"> <address address-value="wappush=+306973983868/[EMAIL PROTECTED]"/> <quality-of-service delivery-method="unconfirmed" network="GSM" network-required="true" bearer="SMS" bearer-required="true" priority="low"/> </push-message> </pap> --PMasdfglkjhqwert Content-Type: text/vnd.wap.si <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE si PUBLIC "-//WAPFORUM//DTD SI 1.0//EN" "http://www.wapforum.org/DTD/SI.dtd"> <si> <indication href="http://wap.mycosmos.gr/CasinoRoyale.asp" si-id="PerlScript_SI/ffac461935b91fc2fbc51f2b6cc3dde7" created="2006-12-06T16:48:39Z" si-expires="2006-12-09T16:48:39Z" action="signal-high">This is a Kannel test!</indication> </si> --PMasdfglkjhqwert--
