**>To: [email protected]
**>From: Matthew Hixson <[EMAIL PROTECTED]>
**>Subject: receiving notifications from Kannel
**>Date: Mon, 24 Jan 2005 18:35:17 -0800
**>
**>We are currently using Kannel 1.3.1. Our sysadmins say they are unable
**>to get Kannel to send a notification to a URL that we supply. Is this
**>functionality supposed to be working in 1.3.1? I see in the current
**>documentation for 1.4.0 that I should be able to set an HTTP header on
**>the request sent to Kannel, X-Kannel-DLR-Url, but this doesn't seem to
**>cause a notification to be returned to the URL I've specified. Do I
**>need to upgrade to 1.4.0?
You only receive notifications if you set the DLR mask as well as the
DLR URL. Therefore, in your case, you will need to also set the the
DLR mask via the HTTP Optional Header:
X-Kannel-DLR-Mask
The DLR mask represents the type of DLR notifications you want:
1: Delivery Successful
The SMS was sent from the SMSC to the mobile device and the mobile
device has acknowledged receipt of the SMS.
2: Delivery Failed
The SMS was not received by the mobile device. Some possible causes
are: mobile device refused acceptance because it's SMS memory capacity
is full or SMS expired before the SMS could be sent to the mobile device.
4: Message Buffered
The SMS has been queued onto the SMSC's buffer and will be delivered
as soon as the SMSC can contact the mobile phone.
8: SMSC Submitted
The SMS was submitted to the SMSC and was accepted for delivery.
The SMSC now takes responsibility for sending the SMS to the proper
destination.
16: SMSC Rejected
The SMS was rejected by the SMSC for delivery. Possible causes of
the rejection might be the queue for the mobile device might be full,
the Origination Address (OA) could not be used with the SMSC, etc.
If you want multiple report types, you simply add the values together.
For example, if you want to get delivery success and/or failure you
set the dlr-mask value of 3 (1+2). If you specify dlr-mask on the URL
you pass on to Kannel, you also need to specify dlr-url. dlr-url should
contain the URL to which Kannel should place an HTTP_GET requests once
the delivery report is ready to be delivered back to your system.
For more information, try searching the [email protected] mailing
list with the following search terms:
dlr-url dlr-mask davy chan
See ya...
d.c.