[Asterisk-code-review] res rtp asterisk: Reset all settings on module reload (asterisk[15])
Joshua Colp
asteriskteam at digium.com
Mon Sep 24 05:30:39 CDT 2018
Joshua Colp has submitted this change and it was merged. ( https://gerrit.asterisk.org/10229 )
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; Approved for Submit
Kevin Harwell: Looks good to me, approved
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index c1aa275..46858cb 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -8035,8 +8035,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/10229
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: 15
Gerrit-MessageType: merged
Gerrit-Change-Id: I1162e40199314d46cf3225d5e1271c4c81176670
Gerrit-Change-Number: 10229
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2 (1000185)
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/20180924/c2869165/attachment-0001.html>
More information about the asterisk-code-review
mailing list