Skip to main content

Function Interface for Lua

function mod:mms_log_tempfail(msg)

Function Interface for C

static void sample_mm7_log_tempfail_hook (void  *closure,
ec_message * m)

The C hook must be registered as mms_log_tempfail, for example, register_mms_log_tempfail_hook_first(sampel_mm7_log_tempfail, ...). See “MM7 Log Tempfail Hook: C Example”.

Parameters

The parameter passed into this hook is:

  • ec_message – Most MM7-related data are stored in context variables as key/value pairs. All the data stored in ec_message are accessible from this hook and can be logged as needed.

Return Values

NONE

Was this page helpful?