[Freeswitch-users] Auth for some extensions and not others
Brian West
brian at freeswitch.org
Tue Jun 10 09:00:53 PDT 2008
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.
/b
On Jun 10, 2008, at 10:32 AM, Simon Perreault wrote:
> Hello,
>
> I want to have FreeSWITCH request authentication for INVITES sent to
> some
> extensions and not others. For example, these URIs are public and
> should not
> require authentication:
>
> sip:simon.perreault at viagenie.ca
> sip:marc.blanchet at viagenie.ca
>
> These are private and should require authentication:
>
> sip:10 at viagenie.ca
> sip:500 at viagenie.ca
>
> I've seen the "auth-calls" param in sofia.conf.xml, but this would
> require
> that I use two Sofia instances (i.e. two IP-port pairs), which is
> ugly and I
> shouldn't have to do this anyway.
>
> Anything I've missed?
>
> Thanks,
> Simon
>
> --
> 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