[Users] avp_check and regular expressions

Klaus Darilion klaus.mailinglists at pernau.at
Wed Apr 19 18:28:17 CEST 2006


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





More information about the Users mailing list