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

Kumar, Sharath sharath.kumar at mezocliq.com
Tue Jan 13 20:05:25 MSK 2015


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!!

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

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