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!
Hi Fernando, You more likely need some kind of hotdesking implementation. Take a look at the following HowTo from Alexcrow for some ideas. https://wiki.freeswitch.org/wiki/Quick_and_nasty_autoprovisioning_and_dynami... Regards, Adolphe On Mon, Jul 28, 2014 at 10:40 PM, Fernando Flórez <fernando.florez@gmail.com
wrote:
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
Thank you very much. I’ll take a look at it. On Jul 29, 2014, at 7:51 AM, Adolphe Cher-Aime <acheraime@gmail.com> wrote:
Hi Fernando,
You more likely need some kind of hotdesking implementation. Take a look at the following HowTo from Alexcrow for some ideas.
https://wiki.freeswitch.org/wiki/Quick_and_nasty_autoprovisioning_and_dynami...
Regards,
Adolphe
On Mon, Jul 28, 2014 at 10:40 PM, Fernando Flórez <fernando.florez@gmail.com> wrote: 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
_________________________________________________________________________ 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
Took a look but I don’t think this is similar to what I want to achieve. Users will all login via the same username/password and I would like to assign an extension server-side after a successful login prompt. If I could assign a random unique extension that would do it too. Any help would be really appreciated :) Thanks! On Jul 29, 2014, at 7:51 AM, Adolphe Cher-Aime <acheraime@gmail.com> wrote:
Hi Fernando,
You more likely need some kind of hotdesking implementation. Take a look at the following HowTo from Alexcrow for some ideas.
https://wiki.freeswitch.org/wiki/Quick_and_nasty_autoprovisioning_and_dynami...
Regards,
Adolphe
On Mon, Jul 28, 2014 at 10:40 PM, Fernando Flórez <fernando.florez@gmail.com> wrote: 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
_________________________________________________________________________ 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
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
Thank you! On Jul 29, 2014, at 12:50 PM, Sean Devoy <sdevoy@bizfocused.com> wrote:
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
_________________________________________________________________________ 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
participants (3)
-
Adolphe Cher-Aime
-
Fernando Flórez
-
Sean Devoy