I looked around... CR uses the same approach that LCR on prefix definitions (or, at least the README don't say/explain that it's different). So I went to look on REGEX module...
Iñaki, this module has Your signature... let me ask You what exactly are this REGEX groups? Could I use something like:
- Use RURI and recover associated "REGEX-group number"; - Ask LCR or CR to look for routes to prefix="REGEX-group number"; - proceed routing fail-over as usual...
Edson
Juha Heinanen escreveu:
Iñaki Baz Castillo writes:
I'd really like to see some mechanism to make routing decisions based on RURI username itself, rather than just no its prefix. Sure it could be a good feature.
lcr module works on longest prefixes of r-uri username (= telephone number). it was tried once operate on regular expressions, but it was not a good idea. if you want something else than longest prefixes, check if some other module (like drouting or cr) could provide that.
-- juha
sr-dev mailing list sr-dev@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev