returning actual SMPP SMSC accept/deny status when using HTTP interface

Yang Zhao <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization EQO Communications Inc.
Message-ID <1212614147.8579.145.camel@yang>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.