I want to do something like this, but using another header instead of Reason header.<br>Is it possible?<br><br clear="all">Santiago Soares<br>Fone: (41) 8488-0537<br>
<br><br><div class="gmail_quote">On Wed, Nov 10, 2010 at 3:03 PM, Eduardo Nunes Pereira <span dir="ltr"><<a href="mailto:eduardonunesp@gmail.com">eduardonunesp@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
If you use hangup after a bridge FreeSWITCH overrides the cause with<br>
the cause recieved from the bridge application. You can avoid this<br>
using sip_ignore_remote_cause=true<br>
<div><div></div><div class="h5"><br>
On Wed, Nov 10, 2010 at 12:25 PM, Ross McKillop<br>
<<a href="mailto:ross@ossiantelecom.co.uk">ross@ossiantelecom.co.uk</a>> wrote:<br>
> I have a FreeSWITCH box acting as a gateway between other servers<br>
> and a TDM switch, primarily for accounting purposes - The TDM switch<br>
> accurately sets a Reason header as follows;<br>
><br>
>> SIP/2.0 480 Temporarily Unavailable.<br>
>> Reason: Q.850;cause=31.<br>
><br>
> This is then passed by FreeSWITCH back to the A party as<br>
><br>
>> SIP/2.0 480 Temporarily Unavailable.<br>
>> Reason: Q.850;cause=16;text="NORMAL_CLEARING".<br>
><br>
> Is there any way to get FreeSWITCH to use the Reason header from<br>
> the failed B leg when replying to the A party ?<br>
><br>
> I tried setting continue_on_fail=true and hangup_after_bridge=false<br>
> and then adding a line after the bridge in the dialplan to hangup with<br>
> the bridge hangup cause e.g.;<br>
><br>
>> <action application="hangup" data="${bridge_hangup_cause}" /><br>
><br>
><br>
> But that hasn't affected the behaviour at all.<br>
><br>
> Regards,<br>
> Ross<br>
><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>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Eduardo Nunes Pereira<br>
cel.: (48) 9989-2997<br>
email: <a href="mailto:eduardonunesp@gmail.com">eduardonunesp@gmail.com</a><br>
</font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br>