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

Bob McCarthy bob.mccarthy at experient.com
Wed Mar 7 02:28:08 MSK 2012


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);

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120306/7fecd67b/attachment.html 


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