El Viernes, 3 de Julio de 2009, Edson - Lists escribió:
Hi...
Normally, dial plans are based on some sort of mask. For example, in Brazil, local fix destination have all 8 digits and start with [2-5] (mask [2-5][0-9]{7}), local mobile numbers have also 8 digits, but start with [6-9] (mask [6-9][0-9]{7}); so all local numbers mask would be [2-9][0-9]{7}... I could continue but You got the idea... ;)
Well, what I'm trying to find is a way to use this kind of definition in place of (or as) the 'prefix' field, either from LCR or CR module.
The advantages are that with this, not only prefix are matched, but also some sanity checks, like length, can be done in a single step.
Is this a new feature or is there a way to accomplish this?
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.