It took me a couple of weeks to find a way to do this. Tried many many ways but here is the key to your problem: $api->execute("uuid_transfer","$uuid -both park inline"); uuid can be a-leg or b-leg uuid. Regards, Ali Pey On Tue, Apr 8, 2014 at 6:29 AM, Grant Bagdasarian <GB@cm.nl> wrote:
Hello,
Could anyone with Outbound ESL experience help me out with this matter?
Thanks,
Grant
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Grant Bagdasarian *Sent:* Monday, March 31, 2014 1:11 PM *To:* FreeSWITCH Users Help (freeswitch-users@lists.freeswitch.org) *Subject:* [Freeswitch-users] Oubound ESL: unbridge
Hello,
I’m working on a C# application which takes control over an inbound call in Freeswitch using ESL outbound and it works like a charm! I can answer the call, play something, get digits, etc.
Now I’m at the point of implementing bridge functionality in the application.
Which one is the best approach and why?
1) >From the Outbound ESL Application use the originate command to create a new outbound call and then use uuid_bridge to connect both incoming and outgoing?
2) Use the bridge command from the esl application?
I would assume the first option would give me control over the b leg created as well, and the second option would not? This also brings me to my next question:
- Is there a way to “unbridge” both call legs, do some stuff on the incoming (a) leg, and then bridge them back without disconnecting any of the legs?
Regards,
Grant
_________________________________________________________________________ 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