function mod:smpp_log_conversion(conn, msg, event)
1static void sample_smpp_log_conversion_hook (void *closure, 2smpp_conn* conn, ec_message * m, const char* event)
This interface is the same as other C hooks. The function name is not significant as long as it is registered as smpp_log_conversion as "register_smpp_log_conversion_hook_first(sample_smpp_log_conversion, ...)" during module initialization. See “Examples”.
a reference to the smpp_conn structure
an event string: "smpp to ec_message" for MO, and "ec_message to smpp" for MT