How about using &#39;execute_on_media=transfer xxx XML default&#39; to handle the case where the call does ring and then having the unsuccessful call just continue on in the current dialplan extension? You can make the assumption that if the call is transferred then you had ringing (media) but if the call is not transferred then you know it never rang at the far end.<br>
<br>-MC<br><br><div class="gmail_quote">On Fri, Sep 24, 2010 at 8:20 PM, Tim St. Pierre <span dir="ltr">&lt;<a href="mailto:fs-list@communicatefreely.net">fs-list@communicatefreely.net</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;">
Hopefully, but there is a possibility that none of the legs rang.<br>
<br>
Here&#39;s my scenario -<br>
<br>
We ring a group of phones at a customer site, but their Internet connection is down, or the power is<br>
out, or something has happened that takes out all the phones in the group.  Instead of going to<br>
voice mail, we want to redirect the call to a cell phone, or to another destination.<br>
<br>
I mostly just need to know if any of the bridges got to a ringing state before the timeout or not.<br>
<br>
Thanks!<br>
<br>
-Tim<br>
<div class="im"><br>
Michael Collins wrote:<br>
&gt; Isn&#39;t the cause always going to be the same, namely that all the legs<br>
&gt; timed out?<br>
&gt; -MC<br>
&gt;<br>
&gt; On Fri, Sep 24, 2010 at 12:22 PM, Tim St. Pierre<br>
</div>&gt; &lt;<a href="mailto:fs-list@communicatefreely.net">fs-list@communicatefreely.net</a> &lt;mailto:<a href="mailto:fs-list@communicatefreely.net">fs-list@communicatefreely.net</a>&gt;&gt;<br>
<div class="im">&gt; wrote:<br>
&gt;<br>
&gt;     Anthony Minessale wrote:<br>
&gt;     &gt; with enterprise originate, put vars you want to get set on all<br>
&gt;     &gt; channels in &lt;&gt; instead of {}<br>
&gt;     &gt; enterprise originate is another dimension of originates where each<br>
&gt;     &gt; string between :_: delim is an entire new originate thread using all<br>
&gt;     &gt; of the other functionality separately so each one has a dedicated {}<br>
&gt;     &gt; area.<br>
&gt;     &gt; &lt;&gt; is global to all sub originate processes<br>
&gt;<br>
&gt;     Aha!  So that&#39;s what the syntax is.<br>
&gt;<br>
&gt;     What can I do about the cause code?  Is there any way to use the<br>
&gt;     cause code from the first element<br>
&gt;     (or any specific element) for decision making later on?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<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>
</div>&gt;     &lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<br>
<div class="im">&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>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------<br>
<div><div></div><div class="h5">&gt;<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>
_______________________________________________<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>