Hi, I have a couple of thoughts for a simple optional approach. Use the DB application for "switching contexts" and "forwarding" extensions. When the user authenticates on your special extension number, set the AUTHENTICIATED DB value to TRUE. Like this: <action application="db" data="insert/authenticated/${caller_id_number} /true"/> For outbound calls, in your restricted context, if authenticated db value is set transfer to an unrestricted context. <condition field="${db(exists/ authenticated /${caller_id_number})}" expression="^true$" > <action application="transfer" data="${destination_number} XML unrestricted"/> </condition> For incoming, do the same type of thing. Store the actual extension they logged in from and the virtual extension they logged in to. When a call comes in, check the actual extension assigned to the virtual extension and bridge the call there. Multiple phones logging in to s single virtual extension is more complex, but it can be worked out. It is just an optional approach you can consider. Sean -----Original Message----- From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Fernando Flórez Sent: Monday, July 28, 2014 10:40 PM To: freeswitch-users@lists.freeswitch.org Subject: [Freeswitch-users] Provisioning through extension Hello, I would love to have some guidance on how to achieve user registration through an extension. Phones will be placed on a restricted context by default, if a user calls an specific extension they will be prompted to enter their extension and password and if successful, the phone will start working under that extension on a different (not restricted) context. Multiple phone registration should also be possible. Thank you! _________________________________________________________________________ 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