summaryrefslogtreecommitdiff
path: root/configs/rtp.conf.sample
diff options
context:
space:
mode:
authorJonathan Rose <jrose@digium.com>2012-01-17 17:15:05 +0000
committerJonathan Rose <jrose@digium.com>2012-01-17 17:15:05 +0000
commitee4cf38a27064fb2b33d2c0d328798d57acc0f65 (patch)
treea0090f9b8c8146f9bb680f810493c3ed778e8ce8 /configs/rtp.conf.sample
parent5af788ccd07adf7b7a529f7ae39babd209b0f954 (diff)
Adds pjmedia probation concepts to res_rtp_asterisk's learning mode.
In order to better handle RTP sources with strictrtp enabled (which is now default in 10) using the learning mode to figure out new sources when they change is handled by checking for a number of consecutive (by sequence number) packets received to an rtp struct based on a new configurable value called 'probation'. Also, during learning mode instead of liberally accepting all packets received, we now reject packets until a clear source has been determined. Review: https://reviewboard.asterisk.org/r/1663/ ........ Merged revisions 351287 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 351289 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351290 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/rtp.conf.sample')
-rw-r--r--configs/rtp.conf.sample7
1 files changed, 7 insertions, 0 deletions
diff --git a/configs/rtp.conf.sample b/configs/rtp.conf.sample
index 6609530c1..6b2815cdc 100644
--- a/configs/rtp.conf.sample
+++ b/configs/rtp.conf.sample
@@ -25,3 +25,10 @@ rtpend=20000
; do not come from the source of the RTP stream. This option is
; enabled by default.
; strictrtp=yes
+;
+; Number of packets containing consecutive sequence values needed
+; to change the RTP source socket address. This option only comes
+; into play while using strictrtp=yes. Consider changing this value
+; if rtp packets are dropped from one or both ends after a call is
+; connected. This option is set to 4 by default.
+; probation=8