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

Function timeout_async_send_rtpe_command

modules/rtpengine/rtpengine.c:3621–3635  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3619}
3620
3621enum async_ret_code timeout_async_send_rtpe_command(int fd, struct sip_msg *msg, void *_param)
3622{
3623 rtpe_async_param *param = (rtpe_async_param *)_param;
3624 LM_ERR("can't read reply from a RTP proxy - TIMEOUT on %s\n",param->node->rn_url.s);
3625
3626 param->node->rn_disabled = 1;
3627 param->node->rn_recheck_ticks = get_ticks() + rtpengine_disable_tout;
3628
3629 pkg_free(param->cookie);
3630 bencode_buffer_free(param->bencbuf);
3631 pkg_free(param->bencbuf);
3632 pkg_free(param);
3633 async_status = ASYNC_DONE_CLOSE_FD;
3634 return -1;
3635}
3636
3637static int start_async_send_rtpe_command(struct rtpe_node *node, bencode_item_t *dict, char* cookie, enum async_ret_code *out_fd)
3638{

Callers

nothing calls this directly

Calls 2

get_ticksFunction · 0.85
bencode_buffer_freeFunction · 0.85

Tested by

no test coverage detected