[Devel] Re: dynamic regexps

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Mar 2 16:27:13 CET 2006


Hi,

have checked the FM operator for avp_check()
    http://www.voice-system.ro/docs/avpops/ar01s06.html#avp_check

it's compromised solution for dynamic regexps

regards,
bogdan

JF wrote:

>Comments or suggestions on how this could be achieved/implemented?
>
>Thanks,
>
>JF
>
>On 2/28/06, JF <jfkavaka at gmail.com> wrote:
>  
>
>>Hi all,
>>
>>Just wondering if someone else will find useful the following
>>(requested) feature: supporting "dynamic" values for regexps. This
>>mean for instance supporting:
>>
>>avp_check("$ru", "re/$avp(s:regexp1)");
>>search_body("$avp(s:regexp2)");
>>
>>Of course, this has the overhead of having to compile the regexps
>>just-in-time, at message processing time. But it can be very useful to
>>dynamically configure the behaviour of the server.
>>
>>I guess this will involve minor changes in fixup functions and
>>addition of regcomp() in case a "pseudo-variable" is present.
>>
>>What do people think about this?
>>
>>JF
>>
>>    
>>
>
>_______________________________________________
>Devel mailing list
>Devel at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/devel
>
>  
>




More information about the Devel mailing list