<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    <div class="moz-cite-prefix">On 10/23/13 11:01 AM, Vassilis Radis
      wrote:<br>
    </div>
    <blockquote
cite="mid:CADVjuUB3thv9OUzbXUgP=em3zdm22kp+Kogtx1YzKNQy82TyyA@mail.gmail.com"
      type="cite">
      <div dir="ltr">The documentation of the append_brances(int)
        function in ALIAS _DB module says:
        <div><br>
        </div>
        <div> "<span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">If
            the alias resolves to many SIP IDs, the first is replacing
            the R-URI, the rest are added as branches."</span></div>
        <div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br>
          </span></div>
        <div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">However
            this only works if not using the domain for resolving, i.e.
            use_domain is set to 0. This happens because there is a
            unique constraint on the dbaliases table for the columns
            (alias_username, alias_domain). Would it hurt to drop the
            constraint so that I can have multiple branches when
            resolving username AND domain? Any other
            suggestions/comments?</span></div>
      </div>
    </blockquote>
    no, it doesn't hurt. I will remove the constraint from the database
    table definition as well.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Kamailio Advanced Trainings - Berlin, Nov 25-28
  - more details about Kamailio trainings at <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a> -
</pre>
  </body>
</html>