diff options
author | Mark Spencer <markster@digium.com> | 2005-03-24 23:06:21 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-24 23:06:21 +0000 |
commit | 03f5290b89d04a04254ab73a7e7c7da68dd8f768 (patch) | |
tree | 6a4327ccdca6bce451eaecd41062d3f87b44634d /configs/sip.conf.sample | |
parent | 78d9eee14173cfd9f2ffb2a448319563913773d3 (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-x | configs/sip.conf.sample | 17 |
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 |