diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2006-05-18 16:57:59 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2006-05-18 16:57:59 +0000 |
commit | 42cf0b0a8fca3850478115275631eb6a660ddb7e (patch) | |
tree | 886b394dbb016d88ef492d7ce9871b2b768853b9 /configs | |
parent | 48c36f4b89199a917687850876b1d3dab2f0f909 (diff) |
add another media path reinvite 'flavor', where we will only redirect our media to devices that we know are not behind a NAT (based on the evidence collected when we receive media from them)
also, documented the 'canreinvite=update' option in the sample config file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28215 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs')
-rw-r--r-- | configs/sip.conf.sample | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 178e29b00..e85e0c778 100644 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -223,12 +223,20 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;canreinvite=yes ; Asterisk by default tries to redirect the ; RTP media stream (audio) to go directly from ; the caller to the callee. Some devices do not - ; support this (especially if one of them is - ; behind a NAT). + ; support this (especially if one of them is behind a NAT). ; The default setting is YES. If you have all clients - ; behind a NAT, or for some other reason wants - ; Asterisk to stay in the audio path, - ; you may want to turn this off + ; behind a NAT, or for some other reason wants Asterisk to + ; stay in the audio path, you may want to turn this off. + +;canreinvite=nonat ; An additional option is to allow media path redirection + ; (reinvite) but only when the peer where the media is being + ; sent is known to not be behind a NAT (as the RTP core can + ; determine it based on the apparent IP address the media + ; arrives from). + +;canreinvite=update ; Yet a third option... use UPDATE for media path redirection, + ; instead of INVITE. This can be combined with 'nonat', as + ; 'canreinvite=update,nonat'. It implies 'yes'. ;----------------------------------------- REALTIME SUPPORT ------------------------ ; For additional information on ARA, the Asterisk Realtime Architecture, |