aboutsummaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-24 23:06:21 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2005-03-24 23:06:21 +0000
commit403d8a173f43fea1b3cb64405ca3433611ebf059 (patch)
tree6a4327ccdca6bce451eaecd41062d3f87b44634d /configs
parentb9739e2d58814dfc43557227a16d18154d760056 (diff)
Add SIP real authentication (bug #3782)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5256 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs')
-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