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

Kevin Harwell asteriskteam at digium.com
Fri Sep 21 17:13:52 CDT 2018


Kevin Harwell has submitted this change and it was merged. ( 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(-)

Approvals:
  Joshua Colp: Looks good to me, but someone else must approve
  Kevin Harwell: Looks good to me, approved; Approved for Submit



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: merged
Gerrit-Change-Id: I1162e40199314d46cf3225d5e1271c4c81176670
Gerrit-Change-Number: 10228
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Kevin Harwell <kharwell at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20180921/ac5808bf/attachment.html>


More information about the asterisk-code-review mailing list