| 3619 | } |
| 3620 | |
| 3621 | enum 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 | |
| 3637 | static int start_async_send_rtpe_command(struct rtpe_node *node, bencode_item_t *dict, char* cookie, enum async_ret_code *out_fd) |
| 3638 | { |
nothing calls this directly
no test coverage detected