function mod:smpp_log_status(conn, msg, error)
static void sample_smpp_log_status_hook (void *closure, smpp_conn* conn, ec_message * m, const char* error)
Parameters passed into this hook:
-
a reference to the smpp_conn structure
-
an ec_message
-
an error description carried in the deliver receipt if there is one
The ec_message context variables carry the following extra information from the delivery receipt:
Context Key Name | Description |
---|---|
#mess_stat | string description of the message_state in delivery receipt, e.g. "Scheduled", "Delivered", "Expired", etc |
#mess_id | remote message id allocated to the message by the SMSC when originally submitted |
#mess_type | string description of the esm_class in delivery receipt |
NONE
Was this page helpful?