Interface
March 26, 2020
Function Interface for Lua
function mod:smpp_log_reception(conn, msg, error)
Function Interface for C
static void sample_smpp_log_reception_hook (void *closure, smpp_conn* conn, ec_message * m, const char* error)
Parameters
Parameters passed into this hook:
-
a reference to the smpp_conn structure
-
an ec_message
-
a string value of the error message if failed to process the MO message. For a successfully processed MO, an empty string is passed in.
Return Values
NONE