In brief:
1 way would be to store a variable in each directory user with what type of calls are allowed. Domestic, International, etc. e.g. "domestic,international"
Then in your extension that actually routes the outbound calls, you would also check for the condition that this variable you set has the permission in it's list.

Sorry for not showing you the actual code..
-Avi


On Fri, Dec 23, 2011 at 9:22 AM, Ryan V <ryan@kaevee.com> wrote:
Hello,

I want to allow outbound calls to a limited number of users. I have gone through toll definitions in dial plan. But, I am struggling to find a way to achieve that. Please help.

Thanks,

Ryan

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org