Any non-zero value for command-status would be interpreted by kannel as a failed message. Some specific errors (SMPP_ESME_RMSGQFUL:, SMPP_ESME_RTHROTTLED, SMPP_ESME_RX_T_APPN and SMPP_ESME_RSYSERR) will be treated as temporary failures (message will be retried later) all the rest is considered a final failure and the message is discarded. However, kannel also generates a "fake" dlr for these messages, though it doesn't carry the value of command_status anywhere. It could be patched to do it of course. Otherwise, you only can tell if the message was successful or not, but not the reason.
Regards, Alejandro On Sun, Aug 30, 2009 at 10:26 AM, Dante Moreno <[email protected]>wrote: > Hi list, > Is there any way to "grab" the command_status value from the submit_sm_resp > PDU so it can be stored in the dlr table(dlr-url field)? I need this because > my smsc uses the command_status value for billing purposes(ie: 0x0400 means > no funds, etc). They don't use dlr :(. > Thanks! > Dante >
