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@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@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@192.168.57.102
channelarray[2]=sofia/internal/101@192.168.57.31
Here is the relevant script commands
session1 = freeswitch.Session(channelarray[1]);
session1 = freeswitch.Session(channelarray[1]);
freeswitch.bridge(session1, session2);