mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 07:18:15 +00:00
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
This commit is contained in:
@@ -6584,8 +6584,13 @@ static int rtp_reload(int reload)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef SO_NO_CHECK
|
||||||
|
nochecksums = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
rtpstart = DEFAULT_RTP_START;
|
rtpstart = DEFAULT_RTP_START;
|
||||||
rtpend = DEFAULT_RTP_END;
|
rtpend = DEFAULT_RTP_END;
|
||||||
|
rtcpinterval = RTCP_DEFAULT_INTERVALMS;
|
||||||
dtmftimeout = DEFAULT_DTMF_TIMEOUT;
|
dtmftimeout = DEFAULT_DTMF_TIMEOUT;
|
||||||
strictrtp = DEFAULT_STRICT_RTP;
|
strictrtp = DEFAULT_STRICT_RTP;
|
||||||
learning_min_sequential = DEFAULT_LEARNING_MIN_SEQUENTIAL;
|
learning_min_sequential = DEFAULT_LEARNING_MIN_SEQUENTIAL;
|
||||||
|
|||||||
Reference in New Issue
Block a user