[sr-dev] git:master:6c94217d: Merge pull request #1593 from adil-mafzool/master

GitHub noreply at github.com
Wed Jul 18 12:04:05 CEST 2018


Module: kamailio
Branch: master
Commit: 6c94217d68bdde980bd4b77bdc6d22062bd650ee
URL: https://github.com/kamailio/kamailio/commit/6c94217d68bdde980bd4b77bdc6d22062bd650ee

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: GitHub <noreply at github.com>
Date: 2018-07-18T12:03:59+02:00

Merge pull request #1593 from adil-mafzool/master

kamailio always retries deleted RTPEngine Nodes which generates PDD

---

Modified: src/modules/rtpengine/rtpengine.c

---

Diff:  https://github.com/kamailio/kamailio/commit/6c94217d68bdde980bd4b77bdc6d22062bd650ee.diff
Patch: https://github.com/kamailio/kamailio/commit/6c94217d68bdde980bd4b77bdc6d22062bd650ee.patch

---

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;
 }




More information about the sr-dev mailing list