Skip to main content

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 passed into this hook:

  1. a reference to the smpp_conn structure

  2. an ec_message

  3. 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


Was this page helpful?