<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>If You are using the acc module, then You could close the open
      calls in the database, when kamailio has been killed. You should
      then use the database of couse.</p>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">Med venlig hilsen / Best regards
Kjeld Flarup (Christensen) M.Sc E.E, Teknisk chef 
Viptel ApS, Hammershusvej 16C, DK-7400 Herning
Telefon: +45 46949949, Telefax: +45 46949950, <a class="moz-txt-link-freetext" href="http://viptel.dk">http://viptel.dk</a></pre>
    <div class="moz-cite-prefix">On 2017-03-07 15:06, Diego Nadares
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAP-r+erNMp64LmvmkesOz2Aph2YZBajvca2c4TafJ6VNdroL+w@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">
        <div>
          <div>Hi Daniel! Thanks for your answer.<br>
            <br>
          </div>
          Sorry, i didn't provide enough data for what I need. I'm using
          kamailio as a statefull proxy and  I all ready have dialog
          module working too but with no database.<br>
          <br>
        </div>
        <div>Today I started testing dialog with db_mode = 3 (shutdown).
          The thing is that when I kill kamailio from terminal, the
          dialog module does not save any data. It only works when I
          execute kamctl stop.<br>
          <br>
          <br>
        </div>
        <div>Cheers,<br>
          <br>
        </div>
        <div>Diego.<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2017-03-07 10:49 GMT-03:00 Daniel Tryba
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:d.tryba@pocos.nl" target="_blank">d.tryba@pocos.nl</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex"><span
              class="">On Tue, Mar 07, 2017 at 10:34:05AM -0300, Diego
              Nadares wrote:<br>
              > Is it possible to generate cdrs or to save dialogs to
              db when kamailio<br>
              > receives a kill signal from terminal?<br>
              <br>
            </span>Killing kamailio doesn't end running calls. So if you
            restart kamailio<br>
            before a BYE, accounting will be correct on teardown of the
            calls.<br>
            <br>
            The dialog module can store state in a database, but if your
            are<br>
            specifically looking for something that only happens when
            kamailio is<br>
            killed without a database backend, you'd have to do some
            dumping of<br>
            state before the kill is processed and I don't know if that
            is possible.<br>
            <br>
            <br>
            ______________________________<wbr>_________________<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"
              rel="noreferrer" target="_blank">http://lists.sip-router.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>