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
35 lines
995 B
Text
35 lines
995 B
Text
;
|
|
; RTP Configuration
|
|
;
|
|
[general]
|
|
;
|
|
; RTP start and RTP end configure start and end addresses
|
|
;
|
|
; Defaults are rtpstart=5000 and rtpend=31000
|
|
;
|
|
rtpstart=10000
|
|
rtpend=20000
|
|
;
|
|
; Whether to enable or disable UDP checksums on RTP traffic
|
|
;
|
|
;rtpchecksums=no
|
|
;
|
|
; The amount of time a DTMF digit with no 'end' marker should be
|
|
; allowed to continue (in 'samples', 1/8000 of a second)
|
|
;
|
|
;dtmftimeout=3000
|
|
; rtcpinterval = 5000 ; Milliseconds between rtcp reports
|
|
;(min 500, max 60000, default 5000)
|
|
;
|
|
; Enable strict RTP protection. This will drop RTP packets that
|
|
; 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
|