<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>Using the thresholds (script, mysql, etc) may give you some
      hints on the source of the delay. See: <br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.9.x/db_mysql.html#id249058">http://www.opensips.org/html/docs/modules/1.9.x/db_mysql.html#id249058</a><br>
      &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreFunctions-1-9#toc51">http://www.opensips.org/Documentation/Script-CoreFunctions-1-9#toc51</a><br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 04/29/2013 11:04 PM, Duane Larson wrote:
    <blockquote
cite="mid:CAFcM1EojgDB8q7e5+Wt+oZxKQknj85b7gtb0aCz-TRDv5T+R=w@mail.gmail.com"
      type="cite">
      <div dir="ltr">I will try the t_newtran(). &nbsp;I can only guess that
        the 500ms is coming from my MySQL database lookup.</div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Apr 29, 2013 at 7:40 AM,
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span> wrote:<br>
          <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
            0.8ex; border-left: 1px solid rgb(204, 204, 204);
            padding-left: 1ex;">
            <div bgcolor="#ffffff" text="#000000"> <tt>Hello Duane,<br>
                <br>
                The Invalid Cseq is actually a side effect of the
                REGISTER retransmissions - you have 2 REGISTER (original
                + retransmission) with CSeq: 756 REGISTER . <br>
              </tt><tt><br>
                First is executed in one process, gets stored and a 200
                reply ; the retransmission gets executed in a different
                process, and because it has same cseq the storing
                generated the error.<br>
                <br>
                You need to filter out the retransmissions (use a
                t_newtran() before the save(location) ) - it should
                solve the problem.<br>
                <br>
                But the question is why does it take for OpenSIPS more
                than 500ms to generate the answer (and make the sender
                to do retransmission) ??<br>
                <br>
                Regards,<br>
              </tt>
              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
              <div>
                <div class="h5"> <br>
                  On 04/26/2013 03:23 AM, Duane Larson wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">I originally posted this via Nabble
                      but I am not sure if it went to the Opensips User
                      mailing list so please excuse me if this shows up
                      as multiple posts.
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div><span style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">I
                          am starting to see this issue a lot lately.
                          &nbsp;My Snom phones will so as not registered on
                          their display screen and when I look in the
                          syslogs I see the following error&nbsp;</span><br
                          style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <br style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <span style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">ERROR:registrar:update_contacts:

                          invalid cseq for aor &lt;9*1******@<a
                            moz-do-not-send="true" href="http://all.com"
                            target="_blank">all.com</a>&gt;&nbsp;</span><br
                          style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <br style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <br style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <span style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">I
                          am not sure if this started happening because
                          of updated Snom code or because of updated
                          OpenSIPS code. &nbsp;Luckily I was able to capture
                          a SIP trace from one of the Snom phones today.
                          &nbsp;&nbsp;</span><br style="font-size: 13px;
                          font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <br style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <span style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">Here

                          is a SIP trace of REGISTERs without the issue&nbsp;</span><br
                          style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <a moz-do-not-send="true"
                          href="http://pastebin.com/RyaZQUBa"
                          rel="nofollow" link="external"
                          style="font-size: 13px; color: rgb(85, 26,
                          139); font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;"
                          target="_blank">http://pastebin.com/RyaZQUBa</a><br
                          style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <br style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <span style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">Here

                          is a SIP trace of REGISTER showing the issue&nbsp;</span><br
                          style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <a moz-do-not-send="true"
                          href="http://pastebin.com/YC1AyTJ6"
                          rel="nofollow" link="external"
                          style="font-size: 13px; color: rgb(85, 26,
                          139); font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;"
                          target="_blank">http://pastebin.com/YC1AyTJ6</a><span
                          style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">&nbsp;
                          &nbsp; &nbsp;&lt;--- The last message in this paste is a
                          400 Bad Request&nbsp;</span><br style="font-size:
                          13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <br style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">
                        <span style="font-size: 13px; font-family:
                          Verdana,Geneva,Helvetica,Arial,sans-serif;">So
                          is the Snom phone doing something wrong or
                          might it be on the OpenSIPS side?</span><br>
                      </div>
                    </div>
                  </div>
                </div>
                <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        --<br>
        *--*--*--*--*--*<br>
        Duane<br>
        *--*--*--*--*--*<br>
        --
      </div>
    </blockquote>
  </body>
</html>