Hi all
I am having a problem I don“t know how to work around.
My kannel is in between an SMSC (smpp 3.4) and the application that
handles the SMS requests.
MO works great.
MT is a problem in the case the SMSC rejects de SMS.
The problem situation arises when the application sends the SMS, it
gets "0: Accepted for delivery" from the smsbox, but when kannel sends
it to the SMSC, it gets rejected (permanent).
The problem is that my application thinks that the SMS was correctly
delivered, but it was not. Because it can only see the smsbox reply.
What I saw, is that the DLR comes in to solve the problem.
This problem is because of this?
(
smsbox.c, line 185
/* XXX this should be fixed so that we really wait for DLR
* SMSC accept/deny before doing this - but that is far
* more slower, a bit more complex, and is done later on
*/
)
How should I use DLR to help me solve this problem?
The application must to send the SMS and then wait for the DLR status?
This DLR depends on SMSCs DLR capability, or is a kannel side DLR that
confirms that SMS was correctly delivered and accepted by the SMSC?
Witch is the right way to solve this issue?
Hope someone can help me on this
Thanks in advance
Emiliano