[Freeswitch-users] How to Blind Transfer After a Conference

Michael Collins msc at freeswitch.org
Wed Mar 7 04:07:36 MSK 2012


if those two calls are all that are in the conference then you just need to
uuid_bridge them. Ex from fs_cli

uuid_bridge 8b0b8262-67df-11e1-89a5-2dc9f6a91475 8b09249a-67df-11e1-899d-
2dc9f6a91475

You can also do an API from a Lua script:
api = freeswitch.API()
res = api:execute('uuid_bridge','8b0b8262-67df-11e1-89a5-2dc9f6a91475
8b09249a-67df-11e1-899d-2dc9f6a91475')

-MC

On Tue, Mar 6, 2012 at 3:28 PM, Bob McCarthy <bob.mccarthy at experient.com>wrote:

> **
> I have some customers that are using SLA but want to Blind transfer the
> call after the supervisor drops out of the conference. (2 legs left in
> call)
>
> in Asterisk I would use the bridge command which would pull the channels
> out of the conference and bridge them together.  I tried to do the same
> thing in Freeswitch from a lua script but I get the error: [ERR}
> switch_cpp.cpp:1277 Channels not ready
>
>
>
> I parsed the channel names out of the Conference list:
> Conference 8b09249a-67df-11e1-899d-2dc9f6a91475 (2 members rate: 16000)
> 95;sofia/internal/sip:CO999x1001.3 at 192.168.57.102;8b0b8262-67df-11e1-89a5-2dc9f6a91475;Outbound
> Call;303-444-5555;hear|speak|talking|floor;0;0;0;200
> 94;sofia/internal/101 at 192.168.57.31;8b09249a-67df-11e1-899d-2dc9f6a91475;911
> Trunk 01;303-444-5555;hear|speak;0;0;0;200
>
> Some debug output to make sure I am using the correct channel names:
> channelarray[1]=sofia/internal/sip:CO999x1001.3 at 192.168.57.102
> channelarray[2]=sofia/internal/101 at 192.168.57.31
>
> Here is the relevant script commands
> session1 = freeswitch.Session(channelarray[1]);
> session1 = freeswitch.Session(channelarray[1]);
> freeswitch.bridge(session1, session2);
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.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/20120306/1a949c68/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list