[Freeswitch-users] Error "Channels not ready" when bridge call in Lua

Boris Kovalenko boris at tagnet.ru
Tue Dec 20 18:18:47 MSK 2011


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-bridge-call-in-Lua-tp7112050p7112050.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> 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


-- 
Regards,
Boris





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