Hello,

On 04/17/07 20:39, Brandon Armstead wrote:
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
    }

you have to stick to avp_check() for 1.2. For next release is planned kind of:

foreach($var(x) as $avp(some_avp_value)) {...}

Cheers,
Daniel


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
------------------------------------------------------------------------

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to