<div dir="ltr">Hi,<div>I am looking at parking the A Leg of the call when the B Leg in the originate string fails for any reason. In the current scenario the A Leg just hangs up even if it has the park_after_bridge variable set to true. Basically, the park_after_bridge comes into the picture when the B leg is answered and then B Leg hangs up. I tried the following and it worked:</div><div>originate {transfer_on_fail=&#39;USER_BUSY BRIDGE_FAIL XML bridge_fail&#39;,park_after_bridge=true}sofia/abc/1234@dest_ip &amp;bridge(sofia/abc/5678@dest_ip)</div><div>Then I have a dialplan as:</div><div>&lt;context name=bridge_fail&gt;</div><div>  &lt;extension name=&quot;bridge_fail&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;BRIDGE_FAIL&quot;&gt;</div><div>      &lt;action application=&quot;park&quot;/&gt;</div><div>    &lt;/condition&gt;</div><div>  &lt;/extension&gt;</div><div>&lt;/context&gt;</div><div><br></div><div>This works perfectly when the B-Leg fails with USER_BUSY response and I figured that if I comma separate the hangup causes it will work for the causes that I have defined. But I want the A Leg to get parked if the B Leg fails in any scenario so that I dont miss out on some weird Hangup Cause. I read about auto_cause which can be used in place of the HANGUP Causes but that doesn&#39;t seem to work as expected.</div><div><br></div><div>Is there a straight forward way where I can replace the USER_BUSY with a string which will catch all hangup cause and allow the call to be taken to destination and context defined?? Any assistance will be of great help.</div><div><br></div><div>Thanks,</div><div><br></div><div>- Jayesh</div><div><br></div><div><br></div></div>