Hi Brian,<br><br>Correct me if I'm wrong but I thing this is a bug in 1.0.6 that exist also in 1.0.7.<br>In src/mod/endpoints/mod_sofia/sofia.c:<br><br>void sofia_handle_sip_i_bye(switch_core_session_t *session, int status ....<br>
.....<br>.....<br> if (sip->sip_reason && sip->sip_reason->re_protocol && (!strcasecmp(sip->sip_reason->re_protocol, "Q.850")<br> || !strcasecmp(sip->sip_reason->re_protocol, "FreeSWITCH")<br>
|| !strcasecmp(sip->sip_reason->re_protocol, profile->username)) && sip->sip_reason->re_cause) {<br>
tech_pvt->q850_cause = atoi(sip->sip_reason->re_cause);<br> cause = tech_pvt->q850_cause;<br> } else {<br> cause = sofia_glue_sip_cause_to_freeswitch(status);<br>
}<br>......<br><br>If this if is false default cause for 503 ( returned by sofia_glue_sip_cause_to_freeswitch ) is NORMAL_TEMPORARY_FAILURE.<br><br>Regards<br><br><br><div class="gmail_quote">2010/10/5 Brian West <span dir="ltr"><<a href="mailto:brian@freeswitch.org">brian@freeswitch.org</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Everyone running 1.0.6 should be running git head right now it will be 1.0.7 any day now. Stop living in the past! ;)<br>
<br>
/b<br>
<div class="im"><br>
On Oct 5, 2010, at 7:14 AM, ivdreg ivdreg wrote:<br>
<br>
> SIP Cause of both NORMAL_TEMPORARY_FAILURE and NETWORK_OUT_OF_ORDER is 503 and is the same but Q.850 cause is different.<br>
> Is it normal behavior for 1.0.6 ? Is it also possible first FS to respect Q.850 cause ?<br>
><br>
> Thanks<br>
<br>
<br>
</div>_______________________________________________<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>