The documentation of the append_brances(int) function in ALIAS _DB module says:

 "If the alias resolves to many SIP IDs, the first is replacing the R-URI, the rest are added as branches."

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?

Thanks.