<div dir="ltr">Hi Brian,<div><br></div><div>I appreciate the response. The issue is, that in a carrier failover situation the user is called twice if I use <span style="font-family:arial,sans-serif;font-size:13px">{leg_timeout=60} in the dial string.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px">&lt;action application=&quot;bridge&quot; data=&quot;</span><span style="font-family:arial,sans-serif;font-size:13px">{leg_timeout=60}</span><span style="font-family:arial,sans-serif;font-size:13px">carrier1/1001|carrier2/1001&quot;/&gt; &lt;------ rings 1001 using carrier 1 and carrier 2</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">The following however calls 1001 once. It works as expected and desired.</font></div><div><br></div><div>
<div style="font-family:arial,sans-serif;font-size:13px"><b>&lt;action application=&quot;set&quot; data=&quot;call_timeout=5&quot;/&gt;</b> </div><div style="font-family:arial,sans-serif;font-size:13px">&lt;action application=&quot;bridge&quot; data=&quot;carrier1/1001|carrier2/1001&quot;/&gt;  </div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Why would <span style="font-family:arial,sans-serif;font-size:13px">{leg_timeout=60} cause this?</span></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Sep 4, 2014 at 5:03 PM, Brian West <span dir="ltr">&lt;<a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr">Don&#39;t use call_timeout, use leg_timeout instead... like [leg_timeout=5]user/1000,  You can also pair this with leg_delay_start to have a single string that will just add additional calls to the current bridge action as time goes on.<div>

<br></div><div>{leg_timeout=60}user/1015,[leg_delay_start=10]user/1016,[leg_delay_start=15]user/1017,[leg_delay_start=20]user/1018</div><div><br></div><div>This will start ringing 1015 immediately, then start 1016 10 seconds in, 1017 15 seconds in, 1018 20 seconds in.  While not dropping any of the calls that are already ringing allowing you to escalate the call to additional people the longer it sits.</div>

</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Thu, Sep 4, 2014 at 3:45 PM, Phillip Jones <span dir="ltr">&lt;<a href="mailto:pjintheusa@gmail.com" target="_blank">pjintheusa@gmail.com</a>&gt;</span> wrote:<br>

</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi there,<div>
<br></div><div>I am testing carrier failover via the dialplan. </div><div><br></div><div>Can anyone tell why me the following two dial plans act differently? In my mind they are the same so I am flummoxed.</div>

<div><br></div><div> </div><div><div>&lt;extension name=&quot;treatment_followme_route&quot;&gt;</div><div>     &lt;condition field=&quot;${Treatment}&quot; expression=&quot;^SEQUENTIAL$&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span> &lt;condition field=&quot;${ForwardingNumber}&quot; expression=&quot;^100&quot;&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div>


<div><br></div><div><span style="white-space:pre-wrap">                </span><b>&lt;action application=&quot;set&quot; data=&quot;call_timeout=5&quot;/&gt;</b> </div><div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;bridge&quot; data=&quot;user/1001|user/1001&quot;/&gt;</div>


<div><span style="white-space:pre-wrap">                </span></div><div><span style="white-space:pre-wrap">                </span><b>&lt;action application=&quot;set&quot; data=&quot;call_timeout=20&quot;/&gt;</b> </div><div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;bridge&quot; data=&quot;user/1002|user/1002&quot;/&gt; </div>


<div><span style="white-space:pre-wrap">                </span></div><div><span style="white-space:pre-wrap">...</span></div><div>      &lt;/condition&gt;</div><div>&lt;/extension&gt;</div><div><span style="white-space:pre-wrap">        </span></div>


</div><div><span style="white-space:pre-wrap"><br></span></div><div><span style="white-space:pre-wrap">VERUS:</span></div><div><span style="white-space:pre-wrap"><br></span></div><div><span><div>
<div>&lt;extension name=&quot;treatment_followme_route&quot;&gt;</div><div>     &lt;condition field=&quot;${Treatment}&quot; expression=&quot;^SEQUENTIAL$&quot;/&gt;</div><div><span style="white-space:pre-wrap">        </span> &lt;condition field=&quot;${ForwardingNumber}&quot; expression=&quot;^100&quot;&gt;</div>


<div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;</div><div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;</div>


<div><br></div><div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;bridge&quot; data=&quot;<b>{call_timeout=5}</b>user/1001|user/1001&quot;/&gt;<br></div><div><span style="white-space:pre-wrap">                </span></div>


<div><span style="white-space:pre-wrap">                </span>&lt;action application=&quot;bridge&quot; data=&quot;<b>{call_timeout=20</b>}user/1002|user/1002&quot;/&gt; <br></div><div><span style="white-space:pre-wrap">..</span></div>


<div><span style="white-space:pre-wrap">                </span></div><div>      &lt;/condition&gt;<br></div><div>    &lt;/extension&gt;</div><div><br></div><div><br></div><div>First dial plan will dial user 1001 <b>once</b> followed by 1002 <b>once </b>- which is correct for my purposes</div>


<div><br></div><div>Second will dial user 1001 <b>twice </b>followed by 1002 <b>twice</b></div><div><br></div><div>Why would {call_timeout=15} change the nature of that bridge and &lt;action application=&quot;set&quot; data=&quot;call_timeout=5&quot;/&gt; not?</div>


<div><br></div><div><br></div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div>Phil</div><div><br></div><div><br></div></div></span></div></div></div></div></blockquote></div></div></blockquote>
</div></div></div></div>