[Users] avp_check and AVP's with index's?

Brandon Armstead brandon.armstead at gmail.com
Sun Mar 4 17:11:02 CET 2007


Hello,

    Can I simply do something like so? if(avp_check("$avp(i:1[1])",
"eq/s:5/g")) { # true } else { # false } ?? I seem to get an error when I
try to check the value against an AVP with index's, is there an easier way
then copying the index's value into a full AVP, can't I just use the index's
like normal AVP's?

Thanks, all help is appreciated!

-- 
Brandon Armstead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20070304/5edc3ad8/attachment.htm>


More information about the sr-users mailing list