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:[EMAIL PROTECTED] > sip:[EMAIL PROTECTED] > > These are private and should require authentication: > > sip:[EMAIL PROTECTED] > sip:[EMAIL PROTECTED] > > 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 > [email protected] > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users > http://www.freeswitch.org Brian West sip:[EMAIL PROTECTED] _______________________________________________ Freeswitch-users mailing list [email protected] http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
