Interface
Function Interface and Parameters
15.2.1.1. Function Interface for Luafunction mod:smpp_MT_pdu_eval (pdu)
15.2.1.2. Function Interface for C
static int demo_MT_pdu_eval (generic_module_infrastructure *gself, SMPP_PDU *pdu)
Parameters
SMPP_PDU.
Return Values
-
SMPP_CONTINUE – continue normal processing
-
SMPP_DELIVERED – drop the message. Consider it "delivered" and do not process as a failure.
-
SMPP_TEMPFAILED – tempfail the message.
-
SMPP_PERMFAILED – permfail the message.