Hello im using kamailio 5.5.3

and im trying to use pseudo vars in ds_list_exists and ds_select function but it does not work.

ds_list_exists  return -2

with ds_list_exists("6") it works

$var(dset)=6 or $avp(dset)=6 it does not work

ds_list_exists("$var(dset)") --> return -2
ds_list_exists("$avp(dset)") --> return -2


Thanks.