Juha,
Thanks for your resoponse. I am a bit confused. How is LCR
using regex for "from_uri" ?
Would it be relatively easier to provide the option for db mode again?
--
Zahid
On Jun 7, 2007, at 2:55 PM, Alan Crosswell wrote:
Yes, we used SQL like patterns. I guess we'll
have to look at
re-implementing some of what we were using LCR for in openser.cfg code
since it was a really convenient way to do a table-drive dial plan.
/a
Juha Heinanen wrote:
> Alan Crosswell writes:
>
>> Yes, 1.1 has pattern matching on prefix despite the lack of
>> documentation. It does a SQL match or regex match just like on
>> the from
>> URI. We've used this extensively here for the last year.
>
> if you have included chars in the prefix that have special meaning in
> mysql LIKE expression, then you may have gotten regexp behavior, but
> that has not been intentional.
>
> it would be lot of work to add regexp support to the current caching
> implementation. the main reason is that regexps need to be
> compiled and
> compilation cannot be made to use shared memory.
>
> -- juha