<div dir="ltr">I need to control over the return value of bridge application:<br><br>How should on find if the call was rejected bye Carrier_One ( before I fill 10 calls which I am permitted to ) and route then via Carrier_Two?<br>

<br><br><br>&lt;include&gt;<br>  &lt;extension name=&quot;noPerfixed&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^([0-9]+)$&quot;&gt;<br>    &lt;action application=&quot;set&quot; data=&quot;ignore_early_media=true&quot;/&gt;  <br>

    &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=NORMAL_TEMPORARY_FAILURE,NO_ROUTE_DESTINATION&quot;/&gt;<br>    &lt;action application=&quot;limit_execute&quot; data=&quot;hash outbound carrierOne 10 bridge sofia/gateway/xxx.xxx.xxx.101/$1&quot; /&gt;<br>

<span style="color:rgb(153,0,0)">    &lt;!--     what should i place here?       --&gt;</span><br>    &lt;action application=&quot;hangup&quot;/&gt;<br>    &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/xxx.xxx.xxx.102/12$1&quot;/&gt; <br>

    &lt;action application=&quot;hangup&quot;/&gt;<br>    &lt;/condition&gt;<br>  &lt;/extension&gt;<br><br>  &lt;extension name=&quot;Perfixed&quot;&gt;<br>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^[0-9]+#([0-9]+)$&quot;&gt;<br>

            &lt;action application=&quot;transfer&quot; data=&quot;$1 XML CallPlan&quot;/&gt;<br>    &lt;/condition&gt;<br>  &lt;/extension&gt;<br>&lt;/include&gt;<br><br><br><br clear="all"><br>-- <br><div dir="ltr"><span style="font-family:tahoma,sans-serif">Regards,</span><br style="font-family:tahoma,sans-serif">

<span style="font-family:tahoma,sans-serif">Ali R. Taleghani</span><span style="font-family:tahoma,sans-serif"></span><br style="font-family:tahoma,sans-serif"></div>
</div>