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

Function rtpengine_answer_af

modules/rtpengine/rtpengine.c:3854–3867  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3852}
3853
3854static int
3855rtpengine_answer_af(struct sip_msg *msg, async_ctx *ctx, str *flags, pv_spec_t *spvar, pv_spec_t *bpvar, str *body)
3856{
3857 LM_DBG("Async rtpengine_answer\n");
3858
3859 if (set_rtpengine_set_from_avp(msg) == -1)
3860 return -1;
3861
3862 if (msg->first_line.type == SIP_REQUEST)
3863 if (msg->first_line.u.request.method_value != METHOD_ACK)
3864 return -1;
3865
3866 return rtpe_function_call_async(msg, ctx, flags, spvar, bpvar, body, OP_ANSWER);
3867}
3868
3869static int
3870rtpengine_delete_af(struct sip_msg *msg, async_ctx *ctx, str *flags, pv_spec_t *spvar)

Callers

nothing calls this directly

Calls 2

rtpe_function_call_asyncFunction · 0.85

Tested by

no test coverage detected