Hello! A have same problem about a three months ago. Fixed with upgrade to the latest git.
Dear support,
I have a Lua script that accepts inbound call, creates outbound call, and then bridges the 2 sessions. Its code is simply like this:
-------------------- session:answer() session2 = freeswitch.Session(callstring)
if (session2:ready()) then freeswitch.bridge(session, session2) end --------------------
However, when bridge() is called, the call immediately hangs up. The following is reported:
2011-12-13 18:08:00.674769 [ERR] switch_cpp.cpp:1247 Channels not ready 2011-12-13 18:08:00.674769 [DEBUG] switch_cpp.cpp:618 CoreSession::hangup
By searching through the forum, I find a previous report of the same error with Lua script. However no solution is provided for that ticket.
Please kind advise how to fix this problem.
Thanks, 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
-- Regards, Boris