<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi Nash,<br>
      <br>
      If the registration of user2 was handled via save("location"), you
      can route the call to actual IP of user2 via lookup("location"). <br>
      <br>
      To translate between the 222222222 number and User2 (before the
      lookup), use the aliases module.<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>
    <div class="moz-cite-prefix">On 17.09.2015 17:12, John Nash wrote:<br>
    </div>
    <blockquote
cite="mid:CAA4rGPwa_90-RVjF+VUEpEji-LjN0-JhcTgsgLdHAHKJy5m+Sw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>I am trying to test a use case in which I need to
                  send call to a registered user based on its caller ID.
                  <br>
                  <br>
                </div>
                User1<br>
              </div>
              Username = 1001<br>
            </div>
            Carrier id = 1111111111<br>
            <br>
            User2<br>
            Username = 1002<br>
            Carrier id = 222222222<br>
            <br>
          </div>
          Both are registered to my opensips. Now if User1 calls number
          222222222 , I want opensips to try to reach User2 if its
          online.<br>
          <br>
        </div>
        Is this possible?<br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
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>
    <br>
  </body>
</html>