Skip to main content

Function Interface and Parameters

14.2.1.1. Function Interface for Luafunction mod:smpp_MO_pdu_eval (pdu) 14.2.1.2. Function Interface for C

static int sample_MO_pdu_eval (generic_module_infrastructure
  *gself, SMPP_PDU *pdu)

14.2.1.3. Parameters

SMPP_PDU structure.

Return Values

A non-negative return value is the response command status code. Any non-zero return value causes processing to cease for the current PDU. The special return value of -1 means that SMPP_ESME_OK(0) will be used for the command status code in the SMPP response but also causes processing to cease for the current PDU.

Return ValueResponse Command Status CodePDU Disposition
00continue
>0return valuedrop
-10drop
Was this page helpful?