[Kamailio-Users] Test a string concatenated with an AVP
Antonio Reale
ant.reale at gmail.com
Mon Nov 16 18:41:22 CET 2009
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
More information about the Users
mailing list