MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / mi_tm_reply_4

Function mi_tm_reply_4

modules/tm/mi.c:765–778  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

763}
764
765mi_response_t *mi_tm_reply_4(const mi_params_t *params,
766 struct mi_handler *async_hdl)
767{
768 str new_headers;
769 str body;
770
771 if (get_mi_string_param(params, "new_headers",
772 &new_headers.s, &new_headers.len) < 0)
773 return init_mi_param_error();
774 if (get_mi_string_param(params, "body", &body.s, &body.len) < 0)
775 return init_mi_param_error();
776
777 return mi_tm_reply(params, &new_headers, &body);
778}

Callers

nothing calls this directly

Calls 3

get_mi_string_paramFunction · 0.85
init_mi_param_errorFunction · 0.85
mi_tm_replyFunction · 0.85

Tested by

no test coverage detected