[Users] avp_check() replacement? Openser 1.2?

Brandon Armstead brandon.armstead at gmail.com
Tue Apr 17 19:39:27 CEST 2007


Hello,

    I'm wondering if in OpenSER 1.2 if there is a replacement method to
check if a value is inside an avp list, as follows:

    if($avp(some_avp_value) == "$avp(some_avp_list_value)/g"){
    # do something
    }

    avp check equivlent:
    if(avp_check("$avp(some_avp_value)", "eq/$avp(some_avp_list_value)/g"){
    # do something
    }

    Does anyone know if this is implemented or being planned for
implementation, what are everyone else's thoughts on something like this?
Thanks!

-- 
Brandon Armstead
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20070417/261d89e7/attachment.htm 


More information about the Users mailing list