<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Welcome, good that all is ok -- thanks for reporting back the
    results.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 07/02/15 12:35, mayamatakeshi wrote:<br>
    </div>
    <blockquote
cite="mid:CABaNFCYn-Xh-0J_tmcbjz=CUAN4qcTSpB5vCbhAx+pwg1Tp8pw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Daniel,
        <div>understood,</div>
        <div>I checked by state and it is OK:</div>
        <div><br>
        </div>
        <div>
          <div># kamctl fifo dlg_list |grep 'state:: 4' |wc -l</div>
          <div>121</div>
          <div><br>
          </div>
          <div># kamctl fifo get_statistics dialog:</div>
          <div>dialog:active_dialogs = 122</div>
          <div>dialog:early_dialogs = 0</div>
          <div>dialog:expired_dialogs = 280</div>
          <div>dialog:failed_dialogs = 33181</div>
          <div>dialog:processed_dialogs = 378572</div>
        </div>
        <div><br>
        </div>
        <div>Thanks and regards,</div>
        <div>Takeshi.</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Obs: for reference for other that might need to check this:</div>
        <div><br>
        </div>
        <div>
          <div>/* states of a dialog */</div>
          <div>#define DLG_STATE_UNCONFIRMED  1 /*!< unconfirmed
            dialog */</div>
          <div>#define DLG_STATE_EARLY        2 /*!< early dialog */</div>
          <div>#define DLG_STATE_CONFIRMED_NA 3 /*!< confirmed dialog
            without a ACK yet */</div>
          <div>#define DLG_STATE_CONFIRMED    4 /*!< confirmed dialog
            */</div>
          <div>#define DLG_STATE_DELETED      5 /*!< deleted dialog
            */</div>
          <div><br>
          </div>
          <div>From: kamailio-4.1/modules/dialog/dlg_hash.h</div>
          <div><br>
          </div>
        </div>
        <div><br>
        </div>
        <div>
          <div class="gmail_extra"><br>
            <div class="gmail_quote">On Fri, Feb 6, 2015 at 7:04 PM,
              Daniel-Constantin Mierla <span dir="ltr"><<a
                  moz-do-not-send="true" href="mailto:miconda@gmail.com"
                  target="_blank">miconda@gmail.com</a>></span>
              wrote:<br>
              <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">
                <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
                  <br>
                  look at the details of the dialogs, some of them might
                  be in terminated state and therefore no longer in
                  actitive_dialog counter.<br>
                  <br>
                  The ones in terminated state should be removed from
                  dlg_list with the next cleanup timer.<br>
                  <br>
                  Cheers,<br>
                  Daniel
                  <div>
                    <div class="h5"><br>
                      <br>
                      <div>On 06/02/15 08:59, mayamatakeshi wrote:<br>
                      </div>
                    </div>
                  </div>
                  <blockquote type="cite">
                    <div>
                      <div class="h5">
                        <div dir="ltr">
                          <div>Hello,</div>
                          <div><br>
                          </div>
                          <div>I am counting the number o dialogs using
                            this:</div>
                          <div><br>
                          </div>
                          <div># kamctl fifo dlg_list |grep dialog:: |wc
                            -l</div>
                          <div>126</div>
                          <div><br>
                          </div>
                          <div>However when I use 'get_statistics
                            dialog:' I get this:</div>
                          <div><br>
                          </div>
                          <div># kamctl fifo get_statistics dialog:</div>
                          <div>dialog:active_dialogs = 67</div>
                          <div>dialog:early_dialogs = 3</div>
                          <div>dialog:expired_dialogs = 253</div>
                          <div>dialog:failed_dialogs = 29529</div>
                          <div>dialog:processed_dialogs = 338783</div>
                          <div><br>
                          </div>
                          <div>The number of dialogs don't match (i
                            tested this several times).</div>
                          <div>What could be causing this? (I am using
                            kamailio 4.1).</div>
                          <div>Regards,</div>
                          <div>Takeshi</div>
                        </div>
                        <br>
                        <fieldset></fieldset>
                        <br>
                      </div>
                    </div>
                    <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class=""><font color="#888888">
</font></span></pre>
                    <span class=""><font color="#888888"> </font></span></blockquote>
                  <span class=""><font color="#888888"> <br>
                      <pre cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a moz-do-not-send="true" href="http://www.kamailioworld.com" target="_blank">http://www.kamailioworld.com</a></pre>
                    </font></span></div>
                <br>
                _______________________________________________<br>
                SIP Express Router (SER) and Kamailio (OpenSER) -
                sr-users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                  target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                <br>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - <a class="moz-txt-link-freetext" href="http://www.kamailioworld.com">http://www.kamailioworld.com</a></pre>
  </body>
</html>