[Asterisk-code-review] res rtp asterisk: Reset all settings on module reload (asterisk[13])

Sean Bright asteriskteam at digium.com
Thu Sep 20 15:28:35 CDT 2018


Sean Bright has uploaded this change for review. ( https://gerrit.asterisk.org/10228


Change subject: res_rtp_asterisk: Reset all settings on module reload
......................................................................

res_rtp_asterisk: Reset all settings on module reload

'rtpchecksums' and 'rtcpinterval' are not being reset to their defaults
if they are not present in the updated configuration file.

Change-Id: I1162e40199314d46cf3225d5e1271c4c81176670
---
M res/res_rtp_asterisk.c
1 file changed, 5 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/28/10228/1

diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index e562627..eab32de 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -6584,8 +6584,13 @@
 		return 0;
 	}
 
+#ifdef SO_NO_CHECK
+	nochecksums = 0;
+#endif
+
 	rtpstart = DEFAULT_RTP_START;
 	rtpend = DEFAULT_RTP_END;
+	rtcpinterval = RTCP_DEFAULT_INTERVALMS;
 	dtmftimeout = DEFAULT_DTMF_TIMEOUT;
 	strictrtp = DEFAULT_STRICT_RTP;
 	learning_min_sequential = DEFAULT_LEARNING_MIN_SEQUENTIAL;

-- 
To view, visit https://gerrit.asterisk.org/10228
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-MessageType: newchange
Gerrit-Change-Id: I1162e40199314d46cf3225d5e1271c4c81176670
Gerrit-Change-Number: 10228
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180920/048d490f/attachment.html>


More information about the asterisk-code-review mailing list