Index: configs/sip.conf.sample =================================================================== RCS file: /usr/cvsroot/asterisk/configs/sip.conf.sample,v retrieving revision 1.21 diff -u -r1.21 sip.conf.sample --- configs/sip.conf.sample 19 Mar 2004 21:29:13 -0000 1.21 +++ configs/sip.conf.sample 25 Mar 2004 20:47:21 -0000 @@ -38,11 +38,31 @@ ;allow=ulaw ; Allow codecs in order of preference ;allow=ilbc -;register => 1234:password@mysipprovider.com -;Register with a SIP provider +; 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 +; 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 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 -;register => 2345@mysipprovider.com/1234 -;Register 2345 at sip provider. Calls from this provider connect to local extension 1234 in extensions.conf. ;externip = 200.201.202.203 ; Address that we're going to put in outbound SIP messages ; if we're behind a NAT