Hi all, actually I test if the R-URI contains the value *44* with:
if (uri=~"^sip:*44*[0-9]+@") { ... }
Now I want to read the value 44 or *44* from an AVP. Tried using directly the avp or assigning it to a variable, without success. ex.: $var(x) = "sip:" + $avp(s:code) + "[0-9]+@";
How can I solve this problem? Thank you very much. Regards.