summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMatthew Nicholson <mnicholson@digium.com>2009-08-12 22:18:09 +0000
committerMatthew Nicholson <mnicholson@digium.com>2009-08-12 22:18:09 +0000
commit5583a4e9555ae2fa79573d1fcfbe1a2a90d8dea2 (patch)
tree86def3af5d2ac2dc989dc1d932f82c0e2e9a854e /configs
parentb65c0edd52087a3057f19d4e3b023f08e620251e (diff)
This patch adds support for choosing a realm based on the domain in the From or To header in the incoming request. Eligible domains are taken from the domains list in the config file. This functionality is enabled when domainsasrealm is enabled in the config file.
(closes issue #11361) Reported by: arkadia Patches: sip_realm_mnich_to_added_2.patch uploaded by arkadia (license 233) Tested by: arkadia git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@211947 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 ba9b0c619..4116037dc 100644
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -98,6 +98,12 @@ allowoverlap=no ; Disable overlap dialing support. (Default is y
; asterisk.conf, it defaults to that system name
; Realms MUST be globally unique according to RFC 3261
; Set this to your host name or domain name
+;domainsasrealm=no ; Use domans list as realms
+ ; You can serve multiple Realms specifying several
+ ; 'domain=...' directives (see below).
+ ; In this case Realm will be based on request 'From'/'To' header
+ ; and should match one of domain names.
+ ; Otherwise default 'realm=...' will be used.
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
; Optionally add a port number, 192.168.1.1:5062 (default is port 5060)