Howdy,<br><br>I&#39;m running into an issue with a load testing tool I&#39;m using generating arbitrary REGISTER messages to opensips 1.4.5.  Note, this is not a retransmit.  (Note, personal info like IPs obfuscated).<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CUsers%5Cbsmith%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5Cbsmith%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Cbsmith%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-noshow:yes;
        mso-style-priority:99;
        color:purple;
        mso-themecolor:followedhyperlink;
        text-decoration:underline;
        text-underline:single;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-size:10.0pt;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style>

<p class="MsoNormal">REGISTER <a href="sip:205.139.46.237">sip:1.2.3.4</a>
SIP/2.0.</p>

<p class="MsoNormal">Max-Forwards: 70.</p>

<p class="MsoNormal">Via: SIP/2.0/UDP 4.3.2.1:6701;branch=z9hG4bK11-453d6165-0029-1843224199.</p>

<p class="MsoNormal">Call-ID: 841-090708015608-1269668688@453d6165.</p>

<p class="MsoNormal"><b>CSeq: 532839396 REGISTER</b>.</p>

<p class="MsoNormal">From:
&lt;<a href="mailto:sip%3Auser@1.2.3.4">sip:user@1.2.3.4</a>&gt;;tag=11044-453d6165-090708015608-1273695453.</p>

<p class="MsoNormal">To: &lt;<a href="mailto:sip%3Auser@1.2.3.4">sip:user@1.2.3.4</a>&gt;.</p>

<p class="MsoNormal">Contact:
&lt;sip:user@4.3.2.1:6701;transport=udp&gt;.</p>

<p class="MsoNormal">Expires: 3600.</p>

<p class="MsoNormal">Accept: application/sdp, application/dtmf-relay.</p>

<p class="MsoNormal">Content-Length: 0.</p>

<p class="MsoNormal">.</p>

<p class="MsoNormal"> </p><p class="MsoNormal">SIP/2.0 400 Bad Request.</p>

<p class="MsoNormal">Via: SIP/2.0/UDP 4.3.2.1;branch=z9hG4bK11-453d6165-0029-1843224199;rport=6701.</p>

<p class="MsoNormal">Call-ID: 841-090708015608-1269668688@453d6165.</p>

<p class="MsoNormal">CSeq: 532839396 REGISTER.</p>

<p class="MsoNormal">From:
&lt;<a href="mailto:sip%3Auser@1.2.3.4">sip:user@1.2.3.4</a>&gt;;tag=11044-453d6165-090708015608-1273695453.</p>

<p class="MsoNormal">To:
&lt;<a href="mailto:sip%3Auser@1.2.3.4">sip:user@1.2.3.4</a>&gt;;tag=d956cb2540203ca43d36f1e0fd077845.d8d0.</p>

<p class="MsoNormal">Contact: &lt;sip:user@1.2.3.4:6701;transport=udp&gt;;expires=21;received=&quot;sip:<a href="http://1.2.3.4:6701">1.2.3.4:6701</a>&quot;.</p>

<p class="MsoNormal"><b>P-Registrar-Error: Invalid CSeq number.</b></p>

<p class="MsoNormal">Server:  OpenSIPS SIP r-1.4.5.</p><p class="MsoNormal"><br></p><p class="MsoNormal"><br></p><p class="MsoNormal">I believe the problem is that the cseq number is to the order of 5*10^8.  According to the RFC (and a handy post I found from the Sip-Implementors mailing list, see here:  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CUsers%5Cbsmith%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5Cbsmith%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Cbsmith%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:roman;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1107304683 0 0 159 0;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:-1610611985 1073750139 0 0 159 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-unhide:no;
        mso-style-qformat:yes;
        mso-style-parent:"";
        margin:0in;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-font-family:Calibri;
        mso-fareast-theme-font:minor-latin;
        mso-bidi-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-noshow:yes;
        mso-style-priority:99;
        color:purple;
        mso-themecolor:followedhyperlink;
        text-decoration:underline;
        text-underline:single;}
.MsoChpDefault
        {mso-style-type:export-only;
        mso-default-props:yes;
        font-size:10.0pt;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
-->
</style><span style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><a href="https://lists.cs.columbia.edu/pipermail/sip-implementors/2007-February/015380.html">https://lists.cs.columbia.edu/pipermail/sip-implementors/2007-February/015380.html</a></span>), we should  be able to have an initial CSeq value up to 2^31-1, or around 2*10^9 (positive).</p>
<p class="MsoNormal"><br></p><p class="MsoNormal">Unfortunately, it&#39;s being generated completely randomly, and the vendor has said there doesn&#39;t seem to be an issue on their end with their scheme on generating this or a way to change it.  All the logging that I can tell on the OpenSIPS side points to the CSeq just being completely invalid; I&#39;ve ran into retransmits with the same CSeq before causing this issue, but that&#39;s not what appears to be happening here.</p>
<p class="MsoNormal"><br></p><p class="MsoNormal">Any insight into this issue?<br><br>Thanks.<br></p>