[Users] avp_check and regular expressions

Daniel-Constantin Mierla daniel at voice-system.ro
Wed Apr 19 18:39:51 CEST 2006


Until the new feature will be in place, isn't enough for you to use fast 
match operator (fm) for this purpose?

Cheers,
Daniel


On 04/19/06 19:28, Klaus Darilion wrote:
> Indeed! :-)
> http://sourceforge.net/tracker/index.php?func=detail&aid=1443010&group_id=139143&atid=743023 
>
>
> regards
> Klaus
>
> Andreas Granig wrote:
>> Hi,
>>
>> For implementing call blocking using AVPs, I'd like to store an 
>> arbitrary number of regular expressions per user in usr_preferences 
>> (say as i:100) and use avp_check("$ruri", "re/$avp(i:100)/g") to 
>> check these regex-entries against the RURI. The problem is that the 
>> regular expression in avp_check seems to have to be a string 
>> ("ERROR:avpops:fixup_check_avp: regexp operation requires string 
>> value").
>>
>> I'd say it would be a nice feature to also allow AVPs for regex 
>> checks. What do you think?
>>
>> Andy
>>
>> _______________________________________________
>> Users mailing list
>> Users at openser.org
>> http://openser.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>




More information about the Users mailing list