From cafa29f67373a97017a8c5c3cf046208b805278c Mon Sep 17 00:00:00 2001 From: markster Date: Tue, 7 Sep 2004 23:45:34 +0000 Subject: 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 --- configs/iax.conf.sample | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'configs/iax.conf.sample') 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 -- cgit v1.2.3