this feature exists, even though not in the way you might think.
You can ask for a delivery report being sent to you when the SMSC has
accepted it (smpp submit_response)
from Kannel's user guide
dlr-mask number (bit mask) Optional. Request for delivery reports
with the state of the sent message. The value is a bit mask composed of:
1: Delivered to phone
2: Non-Delivered to Phone
4: Queued on SMSC
8: Delivered to SMSC
16: Non-Delivered to SMSC
So if you add 8 and 16 to your dlr-mask, you are being called back for
when the message has been sent to the SMSC.
On 04.06.2008, at 23:15, Yang Zhao wrote:
Greetings,
Currently, the HTTP interface for sending SMS returns the SUCCESSFUL
status when a request is queued with Kannel, not when it is actually
accepted and passed on by a SMSC. Comments in smsbox.c indicates that
this is a known issue, but there doesn't seem to have been any
attempts
to rectify the situation.
What, exactly, is required to add such a feature? Is this something
that
can be done with some additions to the current codebase, or does the
architecture prohibit it from being implemented without intrusive
alterations?
Namely, I would like to be able to retrieve the message_id field
returned by a SMPP server, or a the fact that the submit_sm request
failed, at HTTP sendsms request time.
Although I have attempted to add this myself, I could not determine
the
correct way, if any, to propagate a message from handle_pdu() back to
smsbox so that an ACK can be properly sent with all the required
information after being delayed.
Some clarification and insight would be much appreciated.
Thanks,
Yang Zhao
EQO Communications
Andreas Fink
Fink Consulting GmbH
Global Networks Schweiz AG
BebbiCell AG
IceCell ehf
---------------------------------------------------------------
Tel: +41-61-6666330 Fax: +41-61-6666331 Mobile: +41-79-2457333
Address: Clarastrasse 3, 4058 Basel, Switzerland
E-Mail: [EMAIL PROTECTED]
www.finkconsulting.com www.global-networks.ch www.bebbicell.ch
---------------------------------------------------------------
ICQ: 8239353 MSN: [EMAIL PROTECTED] AIM: smsrelay Skype: andreasfink
Yahoo: finkconsulting SMS: +41792457333