| 3852 | } |
| 3853 | |
| 3854 | static int |
| 3855 | rtpengine_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 | |
| 3869 | static int |
| 3870 | rtpengine_delete_af(struct sip_msg *msg, async_ctx *ctx, str *flags, pv_spec_t *spvar) |
nothing calls this directly
no test coverage detected