Hello Yang,

this is what DLR's are for - you get an asynchronous callback to
dlr_url when the SMSC has accepted or rejected the message (the
bitfield values for DLR MASK are 8+16, if you're only interested in
those 'local' dlr's). For more on this topic, see
http://www.kannel.org/download/1.4.1/userguide-1.4.1/userguide.html#DELIVERY-REPORTS

Wednesday, June 4, 2008, 11:15:47 PM, you wrote:

YZ> Greetings,

YZ> Currently, the HTTP interface for sending SMS returns the SUCCESSFUL
YZ> status when a request is queued with Kannel, not when it is actually
YZ> accepted and passed on by a SMSC. Comments in smsbox.c indicates that
YZ> this is a known issue, but there doesn't seem to have been any attempts
YZ> to rectify the situation.

YZ> What, exactly, is required to add such a feature? Is this something that
YZ> can be done with some additions to the current codebase, or does the
YZ> architecture prohibit it from being implemented without intrusive
YZ> alterations?

YZ> Namely, I would like to be able to retrieve the message_id field
YZ> returned by a SMPP server, or a the fact that the submit_sm request
YZ> failed, at HTTP sendsms request time.

YZ> Although I have attempted to add this myself, I could not determine the
YZ> correct way, if any, to propagate a message from handle_pdu() back to
YZ> smsbox so that an ACK can be properly sent with all the required
YZ> information after being delayed.

YZ> Some clarification and insight would be much appreciated.

YZ> Thanks,
YZ> Yang Zhao

YZ> EQO Communications



-- 
Best regards,
 Thomas                            mailto:[EMAIL PROTECTED]


Reply via email to