[Freeswitch-users] Convert existing call to a conference and hangup the old call

Bote Man bote_radio at botecomm.com
Wed Jan 14 00:49:52 MSK 2015


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 at lists.freeswitch.org [mailto:freeswitch-users-bounces at 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 at 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 at 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 at 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 at 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 at 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 at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150113/3feb510e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list