[SR-Users] ALIAS_DB module resolving to multiple user at domain does not work when use_domain is set to 1

Vassilis Radis radisb at gmail.com
Wed Oct 23 11:01:42 CEST 2013


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131023/bcd1af7c/attachment-0001.html>


More information about the sr-users mailing list