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

Function rtpengine_answer_f

modules/rtpengine/rtpengine.c:3992–4005  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3990}
3991
3992static int
3993rtpengine_answer_f(struct sip_msg *msg, str *flags, pv_spec_t *spvar,
3994 pv_spec_t *bpvar, str *body)
3995{
3996 if (set_rtpengine_set_from_avp(msg) == -1)
3997 return -1;
3998
3999 if (msg->first_line.type == SIP_REQUEST)
4000 if (msg->first_line.u.request.method_value != METHOD_ACK &&
4001 msg->first_line.u.request.method_value != METHOD_PRACK)
4002 return -1;
4003
4004 return rtpengine_offer_answer(msg, flags, NULL, spvar, bpvar, body, OP_ANSWER);
4005}
4006
4007static int
4008rtpengine_offer_answer_body(struct sip_msg *msg, str *flags, str *node,

Callers

nothing calls this directly

Calls 2

rtpengine_offer_answerFunction · 0.85

Tested by

no test coverage detected