diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-18 16:57:59 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-18 16:57:59 +0000 |
commit | 174718f3c0305e2cf85ece43d35ba7782d39d98e (patch) | |
tree | 886b394dbb016d88ef492d7ce9871b2b768853b9 /configs | |
parent | 1d999514227487bcc9ee0b76775230057e95a33b (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: http://svn.digium.com/svn/asterisk/trunk@28215 f38db490-d61c-443f-a65b-d21fe96a405b
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, |