diff options
author | Mark Spencer <markster@digium.com> | 2004-03-25 20:52:57 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2004-03-25 20:52:57 +0000 |
commit | fb0af47761c9b67613b7594713ec3901aaae5823 (patch) | |
tree | 3ab89c6976ff7622b606c26f9babd944ab9660aa /configs/sip.conf.sample | |
parent | 211afe3a4b22d737130f9ebd49ba8b5b583681bf (diff) |
Update sample sip.conf
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'configs/sip.conf.sample')
-rwxr-xr-x | configs/sip.conf.sample | 25 |
1 files changed, 22 insertions, 3 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index dbda3a0d1..ed947d5a0 100755 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -38,11 +38,30 @@ context = default ; Default context for incoming calls ;allow=ulaw ; Allow codecs in order of preference ;allow=ilbc +; Asterisk can register as a SIP user agent to a SIP proxy (provider) +; Format for the register statement is: +; register => user[:secret[:authuser]]@host[:port][/extension] +; +; If no extension is given, the 's' extension is used. The extension +; needs to be defined in extensions.conf to be able to accept calls +; from this SIP proxy (provider) +; +; host is either a host name defined in DNS or the name of a +; section defined below. +; +; Examples: +, ;register => 1234:password@mysipprovider.com -;Register with a SIP provider - +; +; Will call to the 's' extension +; +; ;register => 2345@mysipprovider.com/1234 -;Register 2345 at sip provider. Calls from this provider connect to local extension 1234 in extensions.conf. +; +; Register 2345 at sip provider. Calls from this provider connect to local +; extension 1234 in extensions.conf default context, unless you define +; [mysipprovider.com] in a section below, and configure a context + ;externip = 200.201.202.203 ; Address that we're going to put in outbound SIP messages ; if we're behind a NAT |