Convert existing call to a conference and hangup the old call
Hello, I am new to Freeswitch and wanted some input on how best to achieve the below scenario. 1. A and B are in a call. 2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well. 3 A adds user D to the call. D is added to the conf. The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB. I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite. Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call. My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active. Thank you. Any help would be greatly appreciated!! -Shaks.
Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com> wrote:
Hello,
I am new to Freeswitch and wanted some input on how best to achieve the below scenario.
1. A and B are in a call.
2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well.
3 A adds user D to the call. D is added to the conf.
The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB.
I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite.
Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call.
My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active.
Thank you. Any help would be greatly appreciated!!
-Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Thanks. I found another way by using uuid_kill. On Tue, Jan 13, 2015 at 12:39 PM, Steven Ayre <steveayre@gmail.com> wrote:
Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast
On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com> wrote:
Hello,
I am new to Freeswitch and wanted some input on how best to achieve the below scenario.
1. A and B are in a call.
2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well.
3 A adds user D to the call. D is added to the conf.
The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB.
I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite.
Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call.
My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active.
Thank you. Any help would be greatly appreciated!!
-Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Each "leg" of the call is represented by a uuid so you would be moving a uuid into the conference bridge, not hanging up and placing a separate call. I imagine this should be trivial from your PHP script. https://confluence.freeswitch.org Bote From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Kumar, Sharath Sent: Tuesday, 13 January, 2015 16:07 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Convert existing call to a conference and hangup the old call Thanks. I found another way by using uuid_kill. On Tue, Jan 13, 2015 at 12:39 PM, Steven Ayre <steveayre@gmail.com> wrote: Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com> wrote: Hello, I am new to Freeswitch and wanted some input on how best to achieve the below scenario. 1. A and B are in a call. 2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well. 3 A adds user D to the call. D is added to the conf. The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB. I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite. Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call. My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active. Thank you. Any help would be greatly appreciated!! -Shaks. _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
When you say "moving" do you imply a uuid_transfer ? I am not clear how to "move" the call legs that are answered silently to a conf-extension. Can you please enlighten me ? Shaks On Tue, Jan 13, 2015 at 4:49 PM, Bote Man <bote_radio@botecomm.com> wrote:
Each "leg" of the call is represented by a uuid so you would be moving a uuid into the conference bridge, not hanging up and placing a separate call. I imagine this should be trivial from your PHP script.
https://confluence.freeswitch.org
Bote
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Kumar, Sharath *Sent:* Tuesday, 13 January, 2015 16:07 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Convert existing call to a conference and hangup the old call
Thanks. I found another way by using uuid_kill.
On Tue, Jan 13, 2015 at 12:39 PM, Steven Ayre <steveayre@gmail.com> wrote:
Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast
On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com> wrote:
Hello,
I am new to Freeswitch and wanted some input on how best to achieve the below scenario.
1. A and B are in a call.
2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well.
3 A adds user D to the call. D is added to the conf.
The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB.
I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite.
Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call.
My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active.
Thank you. Any help would be greatly appreciated!!
-Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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 Bote Man we are fighting with the same issue as Shaks does can you please elaborate how to move 2 bridged channels into a virtual conferece room ? With best regards Karl Theo Hofer Bote Man skrev den 2015-01-13 22:49:
Each "leg" of the call is represented by a uuid so you would be moving a uuid into the conference bridge, not hanging up and placing a separate call. I imagine this should be trivial from your PHP script.
https://confluence.freeswitch.org
Bote
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Kumar, Sharath Sent: Tuesday, 13 January, 2015 16:07 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Convert existing call to a conference and hangup the old call
Thanks. I found another way by using uuid_kill.
On Tue, Jan 13, 2015 at 12:39 PM, Steven Ayre <steveayre@gmail.com> wrote:
Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast
On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com> wrote:
Hello,
I am new to Freeswitch and wanted some input on how best to achieve the below scenario.
1. A and B are in a call.
2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well.
3 A adds user D to the call. D is added to the conf.
The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB.
I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite.
Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call.
My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active.
Thank you. Any help would be greatly appreciated!!
-Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Each "leg" of the call is represented by a uuid so you would be moving a uuid into the conference bridge, not hanging up and placing a separate call. I imagine this should be trivial from your PHP script.
https://confluence.freeswitch.org
Bote
*From:*freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Kumar, Sharath *Sent:* Tuesday, 13 January, 2015 16:07 *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] Convert existing call to a conference and hangup the old call
Thanks. I found another way by using uuid_kill.
On Tue, Jan 13, 2015 at 12:39 PM, Steven Ayre <steveayre@gmail.com <mailto:steveayre@gmail.com>> wrote:
Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast
On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com <mailto:sharath.kumar@mezocliq.com>> wrote:
Hello,
I am new to Freeswitch and wanted some input on how best to achieve the below scenario.
1. A and B are in a call.
2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well.
3 A adds user D to the call. D is added to the conf.
The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB.
I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite.
Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call.
My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active.
Thank you. Any help would be greatly appreciated!!
-Shaks.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
https://freeswitch.org/confluence/display/FREESWITCH/mod_commands <https://freeswitch.org/confluence/display/FREESWITCH/mod_commands> check out uuid_transfer using -both
On Feb 4, 2015, at 4:42 PM, kthofer <karl-theo_hofer@inteli-sim.com> wrote:
Hi Bote Man
we are fighting with the same issue as Shaks does can you please elaborate how to move 2 bridged channels into a virtual conferece room ?Bote Man skrev den 2015-01-13 22:49:
Each "leg" of the call is represented by a uuid so you would be moving a uuid into the conference bridge, not hanging up and placing a separate call. I imagine this should be trivial from your PHP script.
https://confluence.freeswitch.org <https://confluence.freeswitch.org/>
From: freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch-users-bounces@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org>] On Behalf Of Kumar, Sharath Sent: Tuesday, 13 January, 2015 16:07 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Convert existing call to a conference and hangup the old call
Thanks. I found another way by using uuid_kill.
On Tue, Jan 13, 2015 at 12:39 PM, Steven Ayre <steveayre@gmail.com> <mailto:steveayre@gmail.com> wrote:
Try using https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast <https://wiki.freeswitch.org/wiki/Mod_commands#uuid_broadcast>
On 13 January 2015 at 17:05, Kumar, Sharath <sharath.kumar@mezocliq.com> <mailto:sharath.kumar@mezocliq.com> wrote:
Hello,
I am new to Freeswitch and wanted some input on how best to achieve the below scenario.
1. A and B are in a call.
2. A adds user C to the call. - At this point user A and B are added to a dynamically created conf and C is added as well.
3 A adds user D to the call. D is added to the conf.
The fact that step 2 is a conf call and users C and D are provisioned and available to the FS. I am using FS_CURL so the PHP has access to the DB.
I know how to add A,B,C and D directly into a conference using mod_conference. I made it work. However, I don't understand how I can access an existing call i.e between A and B and turn that into a conference. and also I guess the original call should be hungup when B accepts the conf invite.
Is there a way to do this in the dial-plan ? i.e when A calls C, the PHP knows that this is a conf call, how do I kill the old call though. I guess I can use the uuid of the previous call, I don't know what to issue to hang up the first call.
My clients are webrtc based and currently they don't natively support either hold/resume or transfer(using refer). They do however support multiple calls from/to the same user at the same time. i.e 2 lines. I guess both will be active.
Thank you. Any help would be greatly appreciated!!
participants (5)
-
Bote Man
-
kthofer
-
Kumar, Sharath
-
Michael Jerris
-
Steven Ayre