<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks Anthony and Mike for the quick fix!<div><br></div><div>Best,</div><div>Spencer<div apple-content-edited="true">
&nbsp;

</div>
<br><div><div>On Sep 8, 2014, at 12:59 PM, Anthony Minessale &lt;<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Leave it to RFC's to demand you use a 32 bit unsigned number and then require it to be less than 2^31 (signed value) and waste a few billion values.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 8, 2014 at 2:49 PM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">actually that is the 31 bit max, not the 32 bit... but thats a different story. &nbsp;There is now a patch in tree that fixes this issue.<div><div class="h5"><br><div><div>On Sep 8, 2014, at 3:21 PM, Spencer Thomason &lt;<a href="mailto:spencer@5ninesolutions.com" target="_blank">spencer@5ninesolutions.com</a>&gt; wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">Yes, you are correct, all devices freaked out until they we rebooted. &nbsp;The issue appears to be that the Cseq exceeded 32bit max. &nbsp;Before this change I was seeing Cseq values as <a href="tel:2147483647" value="+12147483647" target="_blank">2147483647</a> which is 32bit max. &nbsp;As soon as the dust clears I’ll file a jira. &nbsp;I don’t really know what a good upgrade path might be but it seems the calculation method has to change.<div><br></div><div>I guess we do have to limit the value to 32bits:</div><div>8.1.1.5&nbsp;CSeq<div><br></div><div>&nbsp; &nbsp;The CSeq header field serves as a way to identify and order</div><div>&nbsp; &nbsp;transactions. &nbsp;It consists of a sequence number and a method. &nbsp;The</div><div>&nbsp; &nbsp;method MUST match that of the request. &nbsp;For non-REGISTER requests</div><div>&nbsp; &nbsp;outside of a dialog, the sequence number value is arbitrary. &nbsp;The</div><div>&nbsp; &nbsp;sequence number value MUST be expressible as a 32-bit unsigned</div><div>&nbsp; &nbsp;integer and MUST be less than 2**31. &nbsp;As long as it follows the above</div><div>&nbsp; &nbsp;guidelines, a client may use any mechanism it would like to select</div><div>&nbsp; &nbsp;CSeq header field values.</div></div><div><br></div><div>Thanks,</div><div>Spencer</div><div><br></div><div><br><div>
<br><div><div>On Sep 8, 2014, at 9:31 AM, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">changing this on a busy switch will almost for sure make presence not work correctly.<div><br><div><div>On Sep 8, 2014, at 12:07 PM, Spencer Thomason &lt;<a href="mailto:spencer@5ninesolutions.com" target="_blank">spencer@5ninesolutions.com</a>&gt; wrote:</div><br><blockquote type="cite"><div style="word-wrap:break-word">Hi Mike,<div>I know this is an insanely dirty hack but can I change the following line in sofia_presence.c to a smaller multiple?</div><div>2115<span style="white-space:pre-wrap">                </span>callsequence = (now - mod_sofia_globals.presence_epoch) *&nbsp;100;</div><div>i.e.:</div><div>callsequence = (now - mod_sofia_globals.presence_epoch) *&nbsp;10;</div><div><br></div><div>Thanks in advance!</div><div>Spencer</div><div><br></div><div><br><div>
<br><div><div>On Sep 8, 2014, at 8:29 AM, Yehavi Bourvine &lt;<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>&gt; wrote:</div><br><blockquote type="cite"><div dir="rtl"><div dir="ltr">I tried locating how the Caeq is generated. Didn't manage yet to get all the details, but the initial value is dependant on the current time. Seems like we have Bug-2k on Polycom :-(</div><div dir="ltr"><br></div><div dir="ltr">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; __Yehavi:</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div dir="ltr">2014-09-08 17:41 GMT+03:00 Spencer Thomason <span dir="ltr">&lt;<a href="mailto:spencer@5ninesolutions.com" target="_blank">spencer@5ninesolutions.com</a>&gt;</span>:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">I just ran into the same issue across several different sites.&nbsp; Thanks Polycom for the exciting Monday morning.&nbsp; I’ll try to collect some traces once the fires die down.<br>
<br>
BR,<br>
Spencer<br>
<div><br>
<br>
<br>
On Sep 8, 2014, at 6:48 AM, Michael Jerris &lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt; wrote:<br>
<br>
&gt; cseq for notify and invite have nothing at all to do with each other.&nbsp; A sip trace would probably help what is going on make more sense.<br>
&gt;<br>
&gt; On Sep 7, 2014, at 11:14 AM, Yehavi Bourvine &lt;<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Hi,<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; My Polycom phones stopped showing presence today. They reply with "loop detected" after they receive the NOTIFY message. In their Syslog they complain that Cseq is outside boundaries...<br>
&gt;&gt; The Cseq for INVITE is much smaller.<br>
&gt;&gt;<br>
&gt;&gt; How can I reset the Cseq to lower values?<br>
&gt;&gt;<br>
&gt;&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Thanks! __Yehavi:<br>
&gt;<br>
&gt;</div></blockquote></div></div></blockquote></div></div></div></div></blockquote></div></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">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-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div></div>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org" target="_blank">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-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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></blockquote></div><br></div></div></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-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com/" target="_blank">http://www.cudatel.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 dir="ltr">Anthony Minessale II &nbsp; &nbsp; &nbsp; ♬ @anthmfs&nbsp;&nbsp;♬ @FreeSWITCH&nbsp;&nbsp;♬<div><br><div>☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> &nbsp;☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> &nbsp;☞ <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a></div><div><div>☞ <a href="http://irc.freenode.net/" target="_blank">irc.freenode.net</a> #freeswitch&nbsp;☞ <u><a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a></u><br><br></div><div>ClueCon Weekly Development Call&nbsp;<br></div><div>☎&nbsp;<a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a> &nbsp;☎ +19193869900&nbsp;</div><div><br></div></div></div></div>
</div>
_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services: <br><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>http://www.freeswitchsolutions.com<br><br>Official FreeSWITCH Sites<br>http://www.freeswitch.org<br>http://confluence.freeswitch.org<br>http://www.cluecon.com<br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>http://www.cudatel.com<br><br>FreeSWITCH-users mailing list<br>FreeSWITCH-users@lists.freeswitch.org<br>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>http://www.freeswitch.org</blockquote></div><br></div></body></html>