Sometimes it happened for me when session2 was not yet ready, and I fixed this by adding a small workaround: "session:sleep(500);" Please see below, and reply back if it works for you. -------------------- session:answer() session2 = freeswitch.Session(callstring) *session:sleep(500);* if (session2:ready()) then freeswitch.bridge(session, session2) end -------------------- 2011/12/28 dma <mays.david@gmail.com>
Hi Guys,
Any idea on this problem?
Regards, D.Ma
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Error-Channels-not-ready-when-... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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