<div dir="ltr">
<p class=""><span class="">Here is some data that may help you understand the cause code mappings in SIP:</span></p><p class=""><span class="">map QSIG cause codes to SIP from RFC4497 section 8.4.1</span></p><p class=""><span class="">see </span>mod_sofia.c: hangup_cause_to_sip</p><p class="">
</p><p class=""><span class="">map sip responses to QSIG cause codes ala RFC4497 section 8.4.4</span></p><p class=""><span class="">
</span></p><p class=""><span class="">see sofia_glue.c: sofia_glue_sip_cause_to_freeswitch</span></p><p class="">You would also need to look at the logs, you've provided no context.</p><p class=""><span class=""><br></span></p><p class=""><br></p>
</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 13, 2014 at 4:42 AM, Vladimir Getmanshchuk <span dir="ltr"><<a href="mailto:vladget@gmail.com" target="_blank">vladget@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
<p>Looks like failure_causes do something wrong... </p><p>dialplan:</p><p><context name="default"></p>
<p> <extension name="default"></p>
<p> <condition field="destination_number" expression="^\+?(.*)$"></p>
<p> <action application="set" data="failure_causes=17"/> </p>
<p> <action application="bridge" data="error/normal_circuit_congestion"/></p>
<p> <action application="hangup" data="${last_bridge_hangup_cause}"/></p>
<p> </condition></p>
<p> </extension></p>
<p></context></p><p><br></p><p>At sip:</p><p>SIP/2.0 480 Temporarily Unavailable.<br></p><p>Reason: Q.850;cause=16;text="NORMAL_CLEARING".<br></p><p>
</p><p>Content-Length: 0.</p><div>with commented <!-- <action application="set" data="failure_causes=17"/> --></div><div><br></div><div>at sip 503 with 34 as expected...<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">-- <br><div>Yours sincerely,<br>Vladimir Getmanshchuk</div>
</font></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><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></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">
<p><font face="courier new, monospace"><b><i><font size="4">Brian West</font></i></b><br><span style="font-size:x-small"><a href="mailto:brian@freeswitch.org" target="_blank">brian@freeswitch.org</a></span></font></p>
<p><font size="1" face="courier new, monospace"><img src="http://billing.freeswitch.org/templates/default/img/whmcslogo.png"><br></font></p><p><font face="courier new, monospace"><b><i>Twitter: @FreeSWITCH , @briankwest</i></b><br><a href="http://www.freeswitchbook.com" target="_blank">http://www.freeswitchbook.com</a><br><a href="http://www.freeswitchcookbook.com" target="_blank">http://www.freeswitchcookbook.com</a></font></p>
<p><font face="courier new, monospace"><b>T:</b>+19184209001 | <b>F:</b>+19184209002 | <b>M:</b>+1918424WEST (9378)<br><b>iNUM:</b>+883 5100 1420 9001 | <b>ISN:</b>410*543 | <b>Skype:</b>briankwest</font></p></div></div>
</div>