Skip to main content

Function Interface for Lua

function mod:smpp_log_bounce_outband(conn, msg, error)

Lua implementations must use the function name mod:smpp_log_bounce_outband.

Function Interface for C

static void sample_mm7_log_bounce_outband_hook (void  *closure,
smpp_conn* conn, ec_message * m, const char* error)

This hook is the same as the other C hooks. The function name is not significant as long as it is registered as smpp_log_bounce_outband (for example, "register_smpp_log_bounce_outband_hook_first(sample_smpp_log_bounce_outband_hook, ...)" during module initialization as shown in “SMPP Log Outband Bounce Hook: C Example”.

Parameters

  1. A reference to the smpp_conn structure

  2. An ec_message: the context variables #mess_xx have the same significance for this hook as for the smpp_log_status hook.

  3. A string value of the error description if there is one.

Return Values

NONE

Was this page helpful?