[Users] avp_check

Daniel-Constantin Mierla daniel at voice-system.ro
Mon Jan 22 12:45:19 CET 2007


it is not possible because the regular expressions are pre-compiled at 
startup. There will be some enhancements related to pseud-variables uage 
and I will try to catch it there, but I am not sure will be an easy 
solution and might be postponed to next release.

If you load the $avp(s:prefix) from database, you can use regexp 
directly there, via avp_db_query().


On 01/22/07 03:20, Bruno Machado wrote:
> Hi.
> Is it possible to use a avp variable in functions' second parameter 
> when I'm using regular expression?
> For instance:
>  avp_check("$ruri","re/sip:$avp(s:prefix).*$")
> I didn't see any code doing that.
> Thanks in advance.
> Bruno
> __________________________________________________
> Fale com seus amigos de graça com o novo Yahoo! Messenger
> http://br.messenger.yahoo.com/
> ------------------------------------------------------------------------
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users

More information about the sr-users mailing list