summaryrefslogtreecommitdiff
path: root/configs/sip.conf.sample
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-24 23:06:21 +0000
committerMark Spencer <markster@digium.com>2005-03-24 23:06:21 +0000
commit03f5290b89d04a04254ab73a7e7c7da68dd8f768 (patch)
tree6a4327ccdca6bce451eaecd41062d3f87b44634d /configs/sip.conf.sample
parent78d9eee14173cfd9f2ffb2a448319563913773d3 (diff)
Add SIP real authentication (bug #3782)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5256 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/sip.conf.sample')
-rwxr-xr-xconfigs/sip.conf.sample17
1 files changed, 17 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample
index 16230850e..c1926c179 100755
--- a/configs/sip.conf.sample
+++ b/configs/sip.conf.sample
@@ -172,6 +172,23 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls
; same as the registration interval
+[authentication]
+; Global credentials for outbound calls, i.e. when a proxy challenges your
+; Asterisk server for authentication. These credentials override
+; any credentials in peer/register definition if realm is matched.
+;
+; This way, Asterisk can authenticate for outbound calls to other
+; realms. We match realm on the proxy challenge and pick an set of
+; credentials from this list
+; Syntax:
+; auth = <user>:<secret>@<realm>
+; auth = <user>#<md5secret>@<realm>
+; Example:
+;auth=mark:topsecret@digium.com
+;
+; You may also add auth= statements to [peer] definitions
+; Peer auth= override all other authentication settings if we match on realm
+
;-----------------------------------------------------------------------------------
; Users and peers have different settings available. Friends have all settings,
; since a friend is both a peer and a user