<div dir="ltr"><div><div>I can&#39;t seem to get transfer_on_fail to work. I&#39;m not sure what I&#39;m doing wrong, it just doesn&#39;t transfer to the transfer_on_fail extension. The dialplan is below.<br><br></div>The idea is to set leg_progress_timeout = 3, so that if the device isn&#39;t responding to INVITEs, we use transfer_on_fail with the cause PROGRESS_TIMEOUT to send the call somewhere else. But transfer_on_fail never seems to get executed when we test it out. The FS logs show that we&#39;re hitting PROGRESS_TIMEOUT when the device doesn&#39;t respond to INVITEs, so I&#39;m pretty sure we have the right hangup cause, but it&#39;s just not catching transfer_on_fail ...<br></div><div><div><br>&lt;document type=&quot;freeswitch/xml&quot;&gt;<br>  &lt;section name=&quot;dialplan&quot; description=&quot;Dial Plan for FreeSWITCH&quot;&gt;<br>    &lt;context name=&quot;default&quot;&gt;<br>      &lt;extension name=&quot;call to 12225551212&quot;&gt;<br>        &lt;condition field=&quot;destination_number&quot; expression=&quot;12225551212&quot;&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;bypass_media=true&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;continue_on_fail=true&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;hangup_on_bridge=true&quot;/&gt;<br>      &lt;action application=&quot;export&quot; data=&quot;leg_progress_timeout=3&quot;/&gt;<br>          &lt;action application=&quot;set&quot; data=&quot;transfer_on_fail=PROGRESS_TIMEOUT NETWORK_UNAVAIL xml error&quot;/&gt;<br>          &lt;action application=&quot;bridge&quot; data=&quot;${sofia_contact(12225551212@switch.local)&quot;/&gt;<br>        &lt;/condition&gt;<br>      &lt;/extension&gt;<br>    &lt;/context&gt;<br>    &lt;context name=&quot;error&quot;&gt;<br>      &lt;extension name=&quot;NETWORK_UNAVAIL&quot;&gt;<br>        &lt;condition field=&quot;${originate_disposition}&quot; expression=&quot;PROGRESS_TIMEOUT&quot; continue=&quot;false&quot; break=&quot;on-true&quot;&gt;<br>          &lt;action application=&quot;bridge&quot; data=&quot;sofia/external/12345551212@switch2.local&quot;/&gt;<br>        &lt;/condition&gt;<br>      &lt;/extension&gt;<br>    &lt;/context&gt;<br>  &lt;/section&gt;<br>&lt;/document&gt;<br><br></div><div>Here&#39;s a small snippet of the logs when leg_progress_timeout expires ...<br><br>b54a79cd-85f1-4c15-929d-15b1654ff1de 2015-11-24 22:06:21.021538 [DEBUG] switch_ivr_originate.c:3727 Originate Resulted in Error Cause: 607 [PROGRESS_TIMEOUT]<br>b54a79cd-85f1-4c15-929d-15b1654ff1de 2015-11-24 22:06:21.021538 [INFO] mod_dptools.c:3333 Originate Failed.  Cause: PROGRESS_TIMEOUT<br><br><br></div><div>Thanks ...<br></div><div><br><br></div></div></div>