Clearly you used the originate timeout incorrectly.<br><br><br><div class="gmail_quote">On Tue, Mar 2, 2010 at 12:39 PM, Mark Sobkow <span dir="ltr">&lt;<a href="mailto:m.sobkow@marketelsystems.com">m.sobkow@marketelsystems.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Never mind.  What&#39;s actually happening is now that I&#39;ve got the Erlang<br>
events firing, the timeout on the originate command doesn&#39;t seem to be<br>
working.  I had a timeout of 5 seconds set, but Freeswitch kept ringing<br>
until our voice mail system answered my phone (30 seconds.)<br>
<br>
*sigh*<br>
<br>
Not that it&#39;s any better a result, as we DO need to timeout calls that<br>
aren&#39;t being answered.<br>
<div><div></div><div class="h5"><br>
Mark Sobkow wrote:<br>
&gt; I think I may have found a bug in Freeswitch, as both answered and<br>
&gt; ringing calls have an &quot;Answer-State&quot; &quot;answered&quot; and<br>
&gt; variable_endpoint_disposition ANSWER, though in one case the call has<br>
&gt; NOT been answered.<br>
&gt;<br>
&gt; For a normally answered call, the following Freeswitch events are<br>
&gt; propagated to Erlang:<br>
&gt;<br>
&gt; CHANNEL_DATA<br>
&gt; CHANNEL_PARK<br>
&gt; CHANNEL_HANGUP<br>
&gt; CHANNEL_UNPARK<br>
&gt; CHANNEL_EXECUTE_COMPLETE<br>
&gt; CHANNEL_STATE<br>
&gt; CHANNEL_HANGUP_COMPLETE<br>
&gt; CHANNEL_STATE<br>
&gt; CHANNEL_DESTROY<br>
&gt; CHANNEL_STATE<br>
&gt;<br>
&gt; For an unanswered call, the events are:<br>
&gt;<br>
&gt; CHANNEL_DATA<br>
&gt; CHANNEL_EXECUTE<br>
&gt; CHANNEL_PARK<br>
&gt; CHANNEL_HANGUP<br>
&gt; CHANNEL_UNPARK<br>
&gt; CHANNEL_EXECUTE_COMPLETE<br>
&gt; CHANNEL_STATE<br>
&gt; CHANNEL_HANGUP_COMPLETE<br>
&gt; CHANNEL_STATE<br>
&gt; CHANNEL_DESTROY<br>
&gt; CHANNEL_STATE<br>
&gt;<br>
&gt; This is going to make the call processing a little complex, as both<br>
&gt; variants produce a CHANNEL_PARK early in the call processing, and<br>
&gt; later produce the HANGUP event.<br>
&gt;<br>
&gt; The problem is that with an answered call, I have to uuid_bridge the<br>
&gt; operator on the CHANNEL_PARK event within 2 seconds to meet legal<br>
&gt; requirements, while with an unanswered call it&#39;s another 30 seconds<br>
&gt; (configurable) before the CHANNEL_HANGUP event propagates to let me<br>
&gt; know that the call went unanswered.<br>
&gt;<br>
<br>
<br>
--<br>
Mark Sobkow<br>
Senior Developer<br>
MarkeTel Multi-Line Dialing Systems LTD.<br>
428 Victoria Ave<br>
Regina, SK S4N-0P6<br>
Toll-Free: 800-289-8616-X533<br>
Local: 306-359-6893-X533<br>
Fax: 306-359-6879<br>
Email: <a href="mailto:m.sobkow@marketelsystems.com">m.sobkow@marketelsystems.com</a><br>
Web: <a href="http://www.marketelsystems.com" target="_blank">http://www.marketelsystems.com</a><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:+19193869900<br>