<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi Karl,<br>
        <br>
        If you have as subscribers userA@domain and userB@domain, you
        can set aliases as follows:<br>
            1001@domain -&gt; userA@domain<br>
            1002@domain -&gt; userB@domain<br>
        <br>
        And you can add as many as you want for a subscriber.<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>
      On 16.01.2015 11:25, Karl Karpfen wrote:<br>
    </div>
    <blockquote
cite="mid:CAL8NYFiepBuEbv-q17VmJcT=O2RONNp-A1L7e4LCDkEuiqQJ5g@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Bogdan,
        <div><br>
        </div>
        <div>what I plan to have is a very simple phone-network. Means
          there are 3..4 registered and authenticated users in this
          network connected to OpenSIPS. There is a fixed phone-number
          assigned to every of these users. E.g. User A has 1001, user B
          has 1002. When user A is dialing 1002 on his SIP-Client, user
          B has an incoming phone call.</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>Karl</div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2015-01-15 13:40 GMT+01:00
          Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:bogdan@opensips.org"
              target="_blank">bogdan@opensips.org</a>&gt;</span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <div><tt>Hi Karl,<br>
                  <br>
                  I will remove and later replace that link - thanks for
                  pointing it out.<br>
                  <br>
                  The drouting module is for routing to pstn number
                  (prefix based routing). As I understand, you want the
                  other way around, from a number to an account. <br>
                  <br>
                  Regards,<br>
                </tt><span class="">
                  <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                </span>
                <div>
                  <div class="h5"> On 14.01.2015 20:48, Karl Karpfen
                    wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div dir="ltr">Yes, I mean phone numbers pointing to
                      an account.<br>
                      <br>
                      Hm, is there a tutorial starting a bit earlier
                      (means with some basics what this alias module
                      is/where to configure things described in your
                      link)? I found this one at <a
                        moz-do-not-send="true"
                        href="http://www.opensips.org/Documentation/Tutorials#toc3"
                        target="_blank">http://www.opensips.org/Documentation/Tutorials#toc3</a>
                      but the link is dead...<br>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2015-01-13 19:47
                        GMT+01:00 Bogdan-Andrei Iancu <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:bogdan@opensips.org"
                            target="_blank">bogdan@opensips.org</a>&gt;</span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <div><tt>Hi Karl,<br>
                                <br>
                                If you mean how to set a phone number
                                pointing to a SIP account, you need to
                                define aliases (number -&gt; user), so
                                take a look at the alias_db module :<br>
                                    <a moz-do-not-send="true"
                                  href="http://www.opensips.org/html/docs/modules/1.11.x/alias_db.html"
                                  target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/alias_db.html</a><br>
                                <br>
                                Regards,<br>
                              </tt>
                              <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                              <div>
                                <div> On 13.01.2015 20:28, Karl Karpfen
                                  wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div>
                                  <div dir="ltr"><br>
                                    <div class="gmail_extra">Hi,<br>
                                      <br>
                                    </div>
                                    <div class="gmail_extra">a hopefully
                                      last stupid question (because
                                      could not find a related
                                      documentation for this): where/how
                                      can I specify an (internal) phone
                                      number for one of my users?<br>
                                      <br>
                                    </div>
                                    <div class="gmail_extra">Thanks!<br>
                                      <br>
                                    </div>
                                  </div>
                                  <br>
                                  <fieldset></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                            </blockquote>
                            <br>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>