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

Function rtpengine_api_copy_answer

modules/rtpengine/rtpengine.c:5293–5303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5291}
5292
5293static int rtpengine_api_copy_answer(struct rtp_relay_session *sess,
5294 struct rtp_relay_server *server, void *subs, str *flags, str *body)
5295{
5296 bencode_item_t *ret;
5297 ret = rtpengine_api_copy_op(sess, OP_SUBSCRIBE_ANSWER,
5298 server, subs, flags, 0, body);
5299 if (!ret)
5300 return -1;
5301 bencode_buffer_free(bencode_item_buffer(ret));
5302 return ret != NULL;
5303}
5304
5305static int rtpengine_api_copy_delete(struct rtp_relay_session *sess,
5306 struct rtp_relay_server *server, void *subs, str *flags)

Callers

nothing calls this directly

Calls 3

rtpengine_api_copy_opFunction · 0.85
bencode_buffer_freeFunction · 0.85
bencode_item_bufferFunction · 0.85

Tested by

no test coverage detected