Skip to main content


The MM7 MT Submit Response Hook is invoked following the parsing of an MM7 response to an MM7 MT message and before regular processing of the response. It enables inspection of message submission response status for the purposes of initiating requeue/retry of failed message submissions and other business logic if required. This hook has ec_message as input and therefore has full access to the context variables such as MM7_Response_Message_ID. The following context variables are assigned or modified by this hook in order to affect subsequent processes:

Context Key Name"#define" nameDescription
MM7_Response_StatusVCTX_KEY_MM7_RESPONSE_STATUSvalue of MM7 in the response
MM7_Response_Status_DetailVCTX_KEY_MM7_RESPONSE_STATUS_DETAILvalue of MM7 status
in the response.The significance of this value is for logging only
MM7_Response_Message_IDVCTX_KEY_MM7_RESPONSE_MESSAGE_IDthe remote MM7 in the response.It will be logged and used to identify the linked request (e.g. DeliveryReport from remote MMSC)
Was this page helpful?