<!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 text="#000000" bgcolor="#ffffff">
    <tt>Hello Adam,<br>
      <br>
      To check the registration state, you can use the "registered()"
      function -
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.9.x/registrar.html#id293152">http://www.opensips.org/html/docs/modules/1.9.x/registrar.html#id293152</a>
      .<br>
      <br>
      To check if the user is already in a call, you need to use the
      dialog module with dialog profiles (profiles with values). Another
      option will be to route to user and if catch the 486 reply in a
      failure route.<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 05/14/2013 04:49 PM, Adam Raszynski wrote:
    <blockquote
cite="mid:CAJWEF2Y4wCx7TEoDHkLDX4phb5-KWJYEGgbBaNzrOow_oJphew@mail.gmail.com"
      type="cite">Hi all,
      <div><br>
      </div>
      <div>I would like to know is it possibble to check in OpenSIPS if
        user that is destination of a call is registered and not busy
        (no other calls to same username) without sending INVITE
        request?</div>
      <div>
        <br>
      </div>
      <div>I need this to create some kind of dynamic routing with busy
        detection</div>
      <div><br>
      </div>
      <div>Any tips?</div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
  </body>
</html>