[Freeswitch-users] Auth for some extensions and not others

Brian West brian at freeswitch.org
Tue Jun 10 10:03:39 PDT 2008


Thats because its "respond" not reject... reject was too specific so  
it was changed long before 1.0 and reject was removed finally before  
1.0.

/b

On Jun 10, 2008, at 11:41 AM, Simon Perreault wrote:

> On Tuesday 10 June 2008 12:00:53 Brian West wrote:
>> Step 1.  auth-calls=false
>> Step 2.  Put the public extensions first in the dialplan.
>> Step 3.  After those put a condition if sip_authorized=false respond
>> 407 else continue on.  Similar to the global in the default.xml
>> dialplan in SVN.
>> Step 4.  All private stuff goes after the condition of checking for
>> sip_authorized variable.
>
> Thanks. Here's my auth stanza:
>
>    <extension name="auth" continue="true">
>      <condition field="${sip_authorized}" expression="true">
>        <anti-action application="reject" data="407"/>
>      </condition>
>    </extension>
>
> However, I get hit with "Invalid Application reject". I grepped the  
> source but
> couldn't find it. Does it even exist?
>
> -- 
> Please try Numb, a STUN/TURN server implementation.
> Free access at http://numb.viagenie.ca/.
>
> _______________________________________________
> Freeswitch-users mailing list
> Freeswitch-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

Brian West
sip:brian at freeswitch.org







More information about the FreeSWITCH-users mailing list