<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] Freeswitch not correctly terminating dialog with BYE for T.38 invite</TITLE>
</HEAD>
<BODY>
<FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>The 408 is terminating the dialog .... Its a 400 error response to the INVITE......<BR>
<BR>
BYE is used after the session is established...<BR>
<BR>
Example <BR>
<BR>
UAC -> INVITE -> UAS<BR>
UAC <- 100 TRYING <- UAS<BR>
UAC <- 404 NOT FOUND <- UAS<BR>
UAC -> ACK -> UAC<BR>
<BR>
<BR>
Note this is a complete transaction and there is No Bye here... The 404 tells the UAC that we’re at the end of the call...<BR>
<BR>
When the provider sends FS a 408, this is telling FS sorry we’re giving up because the terminating end isnt responding...<BR>
<BR>
<BR>
<BR>
On 7/25/13 9:59 AM, "Bruce Lefko" <<a href="blefko5361@gmail.com">blefko5361@gmail.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Arial"><SPAN STYLE='font-size:10pt'>Hi there!<BR>
<BR>
We have a situation, primarily with specific numbers, where freeswitch executes a T.38 INVITE and our SIP provider is responding with a 408 Request Timeout, and Freeswitch responds with an ACK. <BR>
<BR>
However, no BYE is sent and our SIP provider thinks the call is still active, and ends up billing us for a lot of dead air. Thankfully they have a timeout and stop billing us after 6 hours, but its still costing us a lot of money.<BR>
<BR>
The error Freeswitch is giving us in the cdr for this call is: RECOVERY_ON_TIMER_EXPIRE<BR>
<BR>
We've used the latest code from git as well as 1.2, and the issue persists.<BR>
<BR>
Furthermore, the SIP provider claims this is not correctly following the RFC:If the response for a request within a dialog is a 481<BR>
(Call/Transaction Does Not Exist) or a 408 (Request Timeout), the UAC<BR>
SHOULD terminate the dialog. A UAC SHOULD also terminate a dialog if<BR>
no response at all is received for the request (the client<BR>
transaction would inform the TU about the timeout.)<BR>
<BR>
For INVITE initiated dialogs, terminating the dialog consists of<BR>
sending a BYE.<BR>
<BR>
Thanks!<BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'><BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_________________________________________________________________________<BR>
Professional FreeSWITCH Consulting Services:<BR>
<a href="consulting@freeswitch.org">consulting@freeswitch.org</a><BR>
<a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><BR>
<BR>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<BR>
<a href="http://www.cudatel.com">http://www.cudatel.com</a><BR>
<BR>
Official FreeSWITCH Sites<BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><BR>
<a href="http://www.cluecon.com">http://www.cluecon.com</a><BR>
<BR>
FreeSWITCH-users mailing list<BR>
<a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="2"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'><BR>
</SPAN></FONT></FONT><FONT FACE="Monaco, Courier New"><SPAN STYLE='font-size:11pt'>-- <BR>
Ken<BR>
<FONT COLOR="#0000FF"><U><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><BR>
<a href="http://www.ClueCon.com">http://www.ClueCon.com</a><BR>
<a href="http://www.OSTAG.org">http://www.OSTAG.org</a><BR>
</U></FONT>irc.freenode.net #freeswitch<BR>
</SPAN></FONT>
</BODY>
</HTML>