[Asterisk-cvs] asterisk/configs iax.conf.sample, 1.30,
1.31 sip.conf.sample, 1.39, 1.40
markster at lists.digium.com
markster at lists.digium.com
Tue Sep 7 19:42:56 CDT 2004
Update of /usr/cvsroot/asterisk/configs
In directory mongoose.digium.com:/tmp/cvs-serv28866/configs
Modified Files:
iax.conf.sample sip.conf.sample
Log Message:
Add option to register extensions on IAX or SIP registration
Index: iax.conf.sample
===================================================================
RCS file: /usr/cvsroot/asterisk/configs/iax.conf.sample,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- iax.conf.sample 31 Aug 2004 14:59:58 -0000 1.30
+++ iax.conf.sample 7 Sep 2004 23:45:34 -0000 1.31
@@ -152,6 +152,15 @@
;
;mailboxdetail=yes
;
+; If regcontext is specified, Asterisk will dynamically
+; create and destroy a NoOp priority 1 extension for a given
+; peer who registers or unregisters with us. The actual extension
+; is the 'regexten' parameter of the registering peer or its
+; name if 'regexten' is not provided. More than one regexten may be supplied
+; if they are separated by '&'. Patterns may be used in regexten.
+;
+;regcontext=iaxregistrations
+;
; Guest sections for unauthenticated connection attempts. Just
; specify an empty secret, or provide no secret section.
;
@@ -262,6 +271,7 @@
;[marko]
;type=friend
;host=dynamic
+;regexten=1234
;secret=moofoo
;context=default
;permit=0.0.0.0/0.0.0.0
Index: sip.conf.sample
===================================================================
RCS file: /usr/cvsroot/asterisk/configs/sip.conf.sample,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- sip.conf.sample 27 Aug 2004 02:45:35 -0000 1.39
+++ sip.conf.sample 7 Sep 2004 23:45:34 -0000 1.40
@@ -71,6 +71,16 @@
; ; Note that promiscredir when redirects are made to the
; ; local system will cause loops since SIP is incapable
; ; of performing a "hairpin" call.
+;
+; If regcontext is specified, Asterisk will dynamically
+; create and destroy a NoOp priority 1 extension for a given
+; peer who registers or unregisters with us. The actual extension
+; is the 'regexten' parameter of the registering peer or its
+; name if 'regexten' is not provided. More than one regexten may be supplied
+; if they are separated by '&'. Patterns may be used in regexten.
+;
+;regcontext=iaxregistrations
+;
; 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]
@@ -145,6 +155,7 @@
; username
; template
; fromdomain
+; regexten
; fromuser
; host
; mask
@@ -190,6 +201,7 @@
;Turn off silence suppression in X-Lite ("Transmit Silence"=YES)!
;Note that Xlite sends NAT keep-alive packets, so qualify=yes is not needed
;type=friend
+;regexten=1234 ; When they register, create extension 1234
;username=xlite1
;callerid="Jane Smith" <5678>
;host=dynamic
More information about the svn-commits
mailing list