Hi,<div><br><div>Can you please pastebin the FS console debug logs for this script, just want to know whats going on in the Console when the script is executed. Just wanted to see that the session you are trying to create really is creating or there is some error in there!?</div>
<div>Also sleep() is a nice way to wait for sometime if freeswitch is taking time to create a new session object.</div><div><br></div><div>--</div><div>Regards,</div><div>Sammy</div><div><br><div class="gmail_quote">On Thu, Dec 29, 2011 at 10:51 AM, Boris Kovalenko <span dir="ltr">&lt;<a href="mailto:boris@tagnet.ru">boris@tagnet.ru</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
     Try to add ignore_early_media=true to the originate string.<br>
<div class="HOEnZb"><div class="h5">&gt; Hi Michael,<br>
&gt;<br>
&gt; Sorry for the confusion.<br>
&gt;<br>
&gt; The problem still occurring after upgrade the latest version of Feeswitch<br>
&gt; using git head.<br>
&gt;<br>
&gt; Simply, after bridge the 2 sessions (inbound and outboud), the error is<br>
&gt; &quot;channels not ready&quot; and the call hang up.<br>
&gt;<br>
&gt; 2011-12-13 18:08:00.674769 [ERR] switch_cpp.cpp:1247 Channels not ready<br>
&gt; 2011-12-13 18:08:00.674769 [DEBUG] switch_cpp.cpp:618 CoreSession::hangup<br>
&gt;<br>
&gt; The reason is the status of the channel for inbound call is NOT ready. Do<br>
&gt; you have any idea about the cause of this issue?<br>
&gt;<br>
&gt; Thanks,<br>
&gt; D.Ma<br>
&gt;<br>
&gt; --<br>
&gt; View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/Error-Channels-not-ready-when-bridge-call-in-Lua-tp7112050p7131678.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Error-Channels-not-ready-when-bridge-call-in-Lua-tp7112050p7131678.html</a><br>

&gt; Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
&gt;<br>
&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Regards,<br>
Boris<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div></div>