Hey,

I would like to be sure that since Opensips 1.9 (or 1.10 ?), all AVPs
are strings only ?

if yes, the dispatcher module should be updated consequently I suppose :

    $avp(my_ip) = "1.2.3.4";
    $avp(i:my_port) = "5060";
    if (ds_is_in_list("$avp(my_ip)","$avp(i:my_port)","1","1")) {
        do_something("in_your_life");
    }

Opensips logs :

WARNING:core:parse_avp_spec: Deprecated AVP name format "i:my_port" -
use "my_port" instead
ERROR:dispatcher:ds_is_in_list: PORT PV val is not integer

Regards,


Samuel MULLER

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

Reply via email to