Sorry. I forgot to say that I'm using kamailio 1.4.4.
Regards.
--
Antonio.
2009/11/16 Antonio Reale <ant.reale(a)gmail.com>om>:
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.
--
Antonio