I believe your remote gateway INVITE that include refresher=uac in the INVITE was incorrect.  From what I understand, the refresher should be in 200 OK message.  Here is a link that you can clearly see SIP session timer call flows in different scenerio:   <a href="http://www.dialogic.com/webhelp/IMG1010/10.5.3/WebHelp/Description/SIP/SIP_Session_Timer_Call_Flows.htm">http://www.dialogic.com/webhelp/IMG1010/10.5.3/WebHelp/Description/SIP/SIP_Session_Timer_Call_Flows.htm</a><br>
<br>As per Steve, if you think it&#39;s a bug, please open a ticket in Jira.<br><br>-djbinter<br><br><br><div class="gmail_quote">On Tue, May 1, 2012 at 7:36 AM, Steven Ayre <span dir="ltr">&lt;<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Please report bugs to JIRA. The mailing list is not the place for<br>
reporting bugs.<br>
<br>
<a href="http://jira.freeswitch.org/" target="_blank">http://jira.freeswitch.org/</a><br>
<br>
Reporting it on Jira let&#39;s us easily have any conversation about it<br>
there and properly documented in a single place.<br>
<br>
-Steve<br>
<div><div class="h5"><br>
<br>
<br>
On 1 May 2012 12:58, Barnaby Ritchley &lt;<a href="mailto:barnyritchley@hotmail.com">barnyritchley@hotmail.com</a>&gt; wrote:<br>
&gt; Hi All<br>
&gt;<br>
&gt; We have a situation where FS seems not to behaving correctly with session<br>
&gt; timers.<br>
&gt;<br>
&gt; Call originates from remote party with invite as per:<br>
&gt;<br>
&gt; INVITE <a href="mailto:sip%3A%2B1234@1.2.3.4">sip:+1234@1.2.3.4</a>;user=phone SIP/2.0<br>
&gt; Max-Forwards: 69<br>
&gt; Session-Expires: 3600;refresher=uac<br>
&gt; Min-SE: 600<br>
&gt; Supported: timer, 100rel<br>
&gt; To: +1234 &lt;<a href="mailto:sip%3A%2B1234@1.2.3.4">sip:+1234@1.2.3.4</a>;user=phone&gt;<br>
&gt; From: &lt;<a href="mailto:sip%3A%2B5678@5.6.7.8">sip:+5678@5.6.7.8</a>;user=phone&gt;;tag=381443<br>
&gt; P-Asserted-Identity: &lt;<a href="mailto:sip%3A%2B5678@5.6.7.8">sip:+5678@5.6.7.8</a>&gt;<br>
&gt; Call-ID: 1333524918-9038500@xxxxx<br>
&gt; CSeq: 1 INVITE<br>
&gt; Allow: CANCEL, ACK, INVITE, BYE, OPTIONS, INFO, PRACK, UPDATE<br>
&gt; Via: SIP/2.0/UDP<br>
&gt; 7.8.9.1:5060;branch=z9hG4bKab17954781a678af6dfd6916593dc954<br>
&gt; Contact: &lt;<a href="http://sip:+5678@5.6.7.8:5060" target="_blank">sip:+5678@5.6.7.8:5060</a>&gt;<br>
&gt; Expires: 330<br>
&gt; Content-Type: application/sdp<br>
&gt; Accept: application/sdp<br>
&gt; Content-Length: 387<br>
&gt;<br>
&gt;<br>
&gt; Here you can see the UAC supporting timer, and specifying a session expires<br>
&gt; of 3600.<br>
&gt;<br>
&gt; FS responds with 100 trying (not relevant) then 180 runing (also not<br>
&gt; relevant) then 200OK as per:<br>
&gt;<br>
&gt; SIP/2.0 200 OK<br>
&gt; From: &lt;<a href="mailto:sip%3A%2B5678@5.6.7.8">sip:+5678@5.6.7.8</a>;user=phone&gt;;tag=381443<br>
&gt; To: +1234 &lt;<a href="mailto:sip%3A%2B1234@1.2.3.4">sip:+1234@1.2.3.4</a>;user=phone&gt;;tag=UrcX58SSF2Nrm<br>
&gt; Call-ID: 1333524918-9038500@xxxxx<br>
&gt; CSeq: 1 INVITE<br>
&gt; Contact: &lt;sip:+1234@1.2.3.4:5060;transport=udp&gt;<br>
&gt; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, NOTIFY<br>
&gt; Supported: timer, precondition, path, replaces<br>
&gt; Allow-Events: talk, hold, refer<br>
&gt; Session-Expires: 3600;refresher=uac<br>
&gt; Min-SE: 600<br>
&gt; Content-Type: application/sdp<br>
&gt; Content-Disposition: session<br>
&gt; Content-Length: 249<br>
&gt;<br>
&gt;<br>
&gt; So, here freeswitch is responding with the session-expires and refresher<br>
&gt; UAC.  Then after 60 mins, the call is dropped as FS sends a Bye to the UAC<br>
&gt; because it does not receive a session refresh.  Here is the Bye:<br>
&gt;<br>
&gt; BYE <a href="http://sip:+5678@5.6.7.8:5060" target="_blank">sip:+5678@5.6.7.8:5060</a> SIP/2.0<br>
&gt; Via: SIP/2.0/UDP 178.255.58.28;rport;branch=z9hG4bK2vm55Zp2D6vHm<br>
&gt; Max-Forwards: 70<br>
&gt; From: +1234 &lt;<a href="mailto:sip%3A%2B1234@1.2.3.4">sip:+1234@1.2.3.4</a>;user=phone&gt;;tag=UrcX58SSF2Nrm<br>
&gt; To: &lt;<a href="mailto:sip%3A%2B5678@5.6.7.8">sip:+5678@5.6.7.8</a>;user=phone&gt;;tag=381443<br>
&gt; Call-ID: 1333524918-9038500@xxxxx<br>
&gt; CSeq: 27563136 BYE<br>
&gt; Contact: &lt;sip:+1234@1.2.3.4:5060;transport=udp&gt;<br>
&gt; Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, UPDATE, INFO, NOTIFY<br>
&gt; Supported: timer, precondition, path, replaces<br>
&gt; Reason: SIP;cause=408;text=&quot;Session timeout&quot;<br>
&gt; Content-Length: 0<br>
&gt;<br>
&gt; When we raised this with the UAC, their response is that the reason they are<br>
&gt; not refreshing the session is because FS should be sending a Require: timer;<br>
&gt; header in the response, so their UAC thinks that session timers are not in<br>
&gt; use.<br>
&gt;<br>
&gt; This is documented in para 9 of RFC4028:<br>
&gt;<br>
&gt; If the refresher parameter in the Session-Expires header field in the<br>
&gt; 2xx response has a value of &#39;uac&#39;, the UAS MUST place a Require<br>
&gt; header field into the response with the value &#39;timer&#39;.  This is<br>
&gt; because the uac is performing refreshes and the response has to be<br>
&gt; processed for the UAC to know this.<br>
&gt;<br>
&gt;<br>
&gt; It appears the FS is not doing this, but is hanging up the call anyway, so<br>
&gt; we are getting dropped calls that are around the 60 mins mark.<br>
&gt;<br>
&gt; Whats everyones view on this?  It would seem logical that if FS is not<br>
&gt; sending requires in the return 200, that the UAC will think that the session<br>
&gt; timers are not being used in the session, and therefore will not refresh it.<br>
&gt;<br>
&gt;<br>
&gt; Brgds<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
&gt; <a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
&gt;<br>
<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>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.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://wiki.freeswitch.org" target="_blank">http://wiki.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>