summaryrefslogtreecommitdiff
path: root/configs/sip.conf.sample
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2009-10-21 15:35:09 +0000
committerJoshua Colp <jcolp@digium.com>2009-10-21 15:35:09 +0000
commit01ab66275afb123b0ed05a4c3cd182f95a5c4b6e (patch)
tree79ceb76356601a98fd184dbde3c13de7b9fa18aa /configs/sip.conf.sample
parenta2f809c1273c3ed2f6a6945ac7368ecb6c0ecb21 (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: https://origsvn.digium.com/svn/asterisk/trunk@225089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/sip.conf.sample')
-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