<br><br><div class="gmail_quote">On Sun, Jun 13, 2010 at 3:02 PM, Sergey Okhapkin <span dir="ltr">&lt;<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
However I think it&#39;s FS bug. call_timeout should wait for answer, regardless<br>
of early media.<br></blockquote><div><br>I&#39;m not sure that statement is correct. The purpose of the call_timeout variable is documented here:<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#call_timeout">http://wiki.freeswitch.org/wiki/Channel_Variables#call_timeout</a><br>
<br></div></div>Perhaps you needed this var:<br><a href="http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_answer_timeout">http://wiki.freeswitch.org/wiki/Channel_Variables#bridge_answer_timeout</a><br><br>According to the description, it sounds exactly like what you were asking about.<br>
<br><br>Also, you can attack this problem from a totally different angle but using execute_on_answer:<br><a href="http://wiki.freeswitch.org/wiki/Variable_execute_on_answer">http://wiki.freeswitch.org/wiki/Variable_execute_on_answer</a><br>
<br>And then you can do whatever you want for 20 seconds (or however long) and if the far end never answers then you can move on and handle the no answer condition.<br><br>-MC<br>