diff options
Diffstat (limited to 'configs')
-rwxr-xr-x | configs/iax.conf.sample | 10 | ||||
-rwxr-xr-x | configs/sip.conf.sample | 12 |
2 files changed, 22 insertions, 0 deletions
diff --git a/configs/iax.conf.sample b/configs/iax.conf.sample index ff1543f0f..6068ce613 100755 --- a/configs/iax.conf.sample +++ b/configs/iax.conf.sample @@ -152,6 +152,15 @@ tos=lowdelay ; ;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 @@ host=216.207.245.47 ;[marko] ;type=friend ;host=dynamic +;regexten=1234 ;secret=moofoo ;context=default ;permit=0.0.0.0/0.0.0.0 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 |