I think that something like this can work (not tested by me):<div><br></div><div><div>&lt;context name=&quot;default&quot;&gt;</div><div>    &lt;extension name=&quot;myextension&quot;&gt;</div></div><div>        &lt;condition&gt;</div>
<div>            &lt;action application=&quot;bridge&quot; data=&quot;sofia/${Dialstring}&quot;/&gt;</div><div>            &lt;action application=&quot;transfer&quot; data=&quot;dohangup XML dohangup&quot;/&gt;</div><div>
        &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div>&lt;/context&gt;</div><div><br></div><div><div><div>&lt;context name=&quot;dohangup&quot;&gt;</div><div>    &lt;extension name=&quot;dohangup&quot;&gt;</div>
</div><div>        &lt;condition field=&quot;${bridge_hangup_cause}&quot; expression=&quot;^(<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><i>NO_ANSWER</i></span>)$&quot; break=&quot;on-true&quot;&gt;</div>
<div>            &lt;action application=&quot;hangup&quot; data=&quot;<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px; "><i>NORMAL_CIRCUIT_CONGESTION</i></span>&quot;/&gt;</div>
<div><div>        &lt;/condition&gt;</div><div>        &lt;condition&gt;</div><div>            &lt;action application=&quot;hangup&quot; data=&quot;${bridge_hangup_cause}&quot;/&gt;</div><div>        &lt;/condition&gt;</div>
<div>    &lt;/extension&gt;</div><div>&lt;/context&gt;</div></div><div><br></div><div><br></div><div>Stephen</div><br><div class="gmail_quote">On Tue, Jun 7, 2011 at 6:05 PM, awais nazir <span dir="ltr">&lt;<a href="mailto:awais-nazeer@hotmail.com">awais-nazeer@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">



<div>
Hi<br><br>I want to achieve a simple scenario , after attempting a bridge in my dialplan if I get cause code 480, it should be converted to 503 to originator.<br><br>&lt;action application=&quot;bridge&quot; data=&quot;sofia/${Dialstring}&quot;/&gt;<br>
&lt;!--If <pre>${hangup_cause} == &quot;480&quot; then ${hangup_cause}
=503<br>&gt;<br><br>Can somebody help here.<br></pre>
<pre> </pre>                                               </div>
<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>
<br></blockquote></div><br></div>