<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,<br>
    </p>
    <div class="moz-cite-prefix">On 18.12.18 05:17, hamidreza ramezani
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEf77YAotL6C0sqG111wMAYdV0=MjP-TG+P+T34ntP1pdrQH5Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">Hello everyone</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">I have a
          question regarding kamailio database, I see when kamailio is
          stopped, usrloc -> location and imc -> imc_rooms module
          tables shows some information. but when kamailio is running
          it's not.</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">is it possible
          to manually insert to these tables, I don't want to use IMC
          commands like #join #accept ...</div>
        <div class="gmail_default"
          style="font-family:arial,helvetica,sans-serif">is it possible
          to access location table and see which users are registered
          when kamailio is running?</div>
      </div>
    </blockquote>
    <p>when is written to location table is a matter of db_mode
      parameter for usrloc module -- see the readme of the module for
      more details. If you you have a mode when writing to database is
      done immediately, then yes, you can rely on location records to
      see who is online or not.</p>
    <p>For imc: I haven't checked the code, but if you don't see
      anything during runtime, maybe the database tables are used only
      for backup during restart. Maybe the readme of the module has more
      details on this regard as well.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 6-8, 2019 -- <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a>
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC, USA -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a></pre>
  </body>
</html>