Module: kamailio
Branch: master
Commit: 0771960358b6450af8e1f75f838915f366f04a95
URL:
https://github.com/kamailio/kamailio/commit/0771960358b6450af8e1f75f838915f…
Author: Muhammad Zaka <muhammad.zaka(a)synety.com>
Committer: Muhammad Zaka <muhammad.zaka(a)synety.com>
Date: 2018-07-13T18:17:54+01:00
rtpenegine: fixed rtpp_node permanent deletion causing PDD
rtpp_node->rn_recheck_ticks was never set this means in-memory rtpengine were
never permanently deletion causing PDD for the calls requiring rtpengine
---
Modified: src/modules/rtpengine/rtpengine.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0771960358b6450af8e1f75f838915f…
Patch:
https://github.com/kamailio/kamailio/commit/0771960358b6450af8e1f75f838915f…
---
diff --git a/src/modules/rtpengine/rtpengine.c b/src/modules/rtpengine/rtpengine.c
index 7ce81f7de6..0b52e239e0 100644
--- a/src/modules/rtpengine/rtpengine.c
+++ b/src/modules/rtpengine/rtpengine.c
@@ -454,7 +454,8 @@ static int is_queried_node(struct rtpp_node *node, struct rtpp_node
**queried_no
int rtpengine_delete_node(struct rtpp_node *rtpp_node)
{
rtpp_node->rn_displayed = 0;
- rtpp_node->rn_disabled = RTPENGINE_MAX_RECHECK_TICKS;
+ rtpp_node->rn_disabled = 1;
+ rtpp_node->rn_recheck_ticks = RTPENGINE_MAX_RECHECK_TICKS;
return 1;
}