[SR-Users] [sr-dev] LCR/CR and prefix mask (REGEX?) [moved to SR-Users]
Edson - Lists
4lists at gmail.com
Fri Jul 3 16:01:41 CEST 2009
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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
>
More information about the sr-users
mailing list