aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-21 15:35:09 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-21 15:35:09 +0000
commit4ee1202b6ab002fe8f51993477e13f50095eff3e (patch)
tree79ceb76356601a98fd184dbde3c13de7b9fa18aa /configs
parent3814937448c2cb7629d4c5560837705a892c3469 (diff)
Add support for specifying the IP address to use for media streams in sip.conf
This is the second commit for this and documents the text stream using the configured IP address and fixes a bug in the original patch where the UDPTL stream would also use the different IP address. (closes issue #14729) Reported by: _brent_ Patches: media_address.patch uploaded by brent (license 388) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@225089 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-rw-r--r--configs/sip.conf.sample6
1 files changed, 6 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 47ada6e7a..857886c73 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -705,6 +705,12 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; nat = force_rport ; Force rport to always be on.
; nat = yes ; Force rport to always be on and perform symmetric RTP.
; nat = comedia ; Use rport if the remote side says to use it and perform symmetric RTP.
+;
+; The IP address used for media (audio, video, and text) in the SDP can also be overridden by using
+; the media_address configuration option. This is only applicable to the general section and
+; can not be set per-user or per-peer.
+;
+; media_address = 172.16.42.1
;----------------------------------- MEDIA HANDLING --------------------------------
; By default, Asterisk tries to re-invite media streams to an optimal path. If there's