diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-07 23:45:34 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-09-07 23:45:34 +0000 |
commit | cafa29f67373a97017a8c5c3cf046208b805278c (patch) | |
tree | 647d4e75ec9858b9b579579b799f3cfb8af69cd6 /configs/sip.conf.sample | |
parent | 35829f979ae2fa02b2d9cac8155a0ddb604d79d3 (diff) |
Add option to register extensions on IAX or SIP registration
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3746 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configs/sip.conf.sample')
-rwxr-xr-x | configs/sip.conf.sample | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configs/sip.conf.sample b/configs/sip.conf.sample index 8dc3d32e2..de46d9439 100755 --- a/configs/sip.conf.sample +++ b/configs/sip.conf.sample @@ -71,6 +71,16 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; ; 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 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ; username ; template ; fromdomain +; regexten ; fromuser ; host ; mask @@ -190,6 +201,7 @@ srvlookup=yes ; Enable DNS SRV lookups on outbound calls ;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 |