Try also setting this before the bridge:<br>&lt;action application=&quot;set&quot; data=&quot;sip_ignore_remote_cause=true&quot;/&gt;<br><br>Without that you&#39;ll get a 34 reason but 480 sip code, with it you&#39;ll get a 34+503.<br>

<br>-Steve<br><br><br><br><div class="gmail_quote">On 7 June 2011 21:51, Eric Beard <span dir="ltr">&lt;<a href="mailto:eric@loopfx.com">eric@loopfx.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 link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I tried this and it does not modify the SIP response code.  It seems to only affect this response header:</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Reason: Q.850;cause=34;text=&quot;NORMAL_CIRCUIT_CONGESTION&quot;</span></p>
<p class="MsoNormal">
<span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">-----------------------</span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;color:#1F497D">Eric Z. Beard, CTO</span></b><span style="font-size:10.0pt;color:#1F497D"></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">Loop LLC</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">w (877) 850-2010 x9249</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">m (727) 776-2768</span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D"><a href="mailto:eric@loopfx.com" target="_blank">eric@loopfx.com</a></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Stephen Wilde<br>

<b>Sent:</b> Tuesday, June 07, 2011 12:53 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Freeswitch dialplan help</span></p></div><div><div></div><div class="h5"><p class="MsoNormal"> </p>

<p class="MsoNormal">I think that something like this can work (not tested by me):</p><div><p class="MsoNormal"> </p></div><div><div><p class="MsoNormal">&lt;context name=&quot;default&quot;&gt;</p></div><div><p class="MsoNormal">

    &lt;extension name=&quot;myextension&quot;&gt;</p></div></div><div><p class="MsoNormal">        &lt;condition&gt;</p></div><div><p class="MsoNormal">            &lt;action application=&quot;bridge&quot; data=&quot;sofia/${Dialstring}&quot;/&gt;</p>

</div><div><p class="MsoNormal">            &lt;action application=&quot;transfer&quot; data=&quot;dohangup XML dohangup&quot;/&gt;</p></div><div><p class="MsoNormal">        &lt;/condition&gt;</p></div><div><p class="MsoNormal">

    &lt;/extension&gt;</p></div><div><p class="MsoNormal">&lt;/context&gt;</p></div><div><p class="MsoNormal"> </p></div><div><div><div><p class="MsoNormal">&lt;context name=&quot;dohangup&quot;&gt;</p></div><div><p class="MsoNormal">

    &lt;extension name=&quot;dohangup&quot;&gt;</p></div></div><div><p class="MsoNormal">        &lt;condition field=&quot;${bridge_hangup_cause}&quot; expression=&quot;^(<span><i><span style="font-size:10.0pt">NO_ANSWER</span></i></span>)$&quot; break=&quot;on-true&quot;&gt;</p>

</div><div><p class="MsoNormal">            &lt;action application=&quot;hangup&quot; data=&quot;<span><i><span style="font-size:10.0pt">NORMAL_CIRCUIT_CONGESTION</span></i></span>&quot;/&gt;</p></div><div><div><p class="MsoNormal">

        &lt;/condition&gt;</p></div><div><p class="MsoNormal">        &lt;condition&gt;</p></div><div><p class="MsoNormal">            &lt;action application=&quot;hangup&quot; data=&quot;${bridge_hangup_cause}&quot;/&gt;</p>

</div><div><p class="MsoNormal">        &lt;/condition&gt;</p></div><div><p class="MsoNormal">    &lt;/extension&gt;</p></div><div><p class="MsoNormal">&lt;/context&gt;</p></div></div><div><p class="MsoNormal"> </p></div>

<div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">Stephen</p></div><p class="MsoNormal"> </p><div><p class="MsoNormal">On Tue, Jun 7, 2011 at 6:05 PM, awais nazir &lt;<a href="mailto:awais-nazeer@hotmail.com" target="_blank">awais-nazeer@hotmail.com</a>&gt; wrote:</p>

<div><p class="MsoNormal">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 </p><pre>${hangup_cause} == &quot;480&quot; then ${hangup_cause}</pre><pre>=503<br>&gt;<br><br>Can somebody help here.</pre><pre> </pre></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________<br>

FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></p>

</div><p class="MsoNormal"> </p></div></div></div></div></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 style="visibility: hidden; left: -5000px; position: absolute; z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px; overflow: hidden; word-wrap: break-word; color: black; font-size: 10px; text-align: left; line-height: 130%;" id="avg_ls_inline_popup">

</div>