[Kamailio-Users] Test a string concatenated with an AVP

Antonio Reale ant.reale at gmail.com
Tue Nov 17 09:49:20 CET 2009


2009/11/16 Daniel-Constantin Mierla <miconda at gmail.com>:
>
> try this one:
>
> $var(x) =  "^sip:" + $avp(code) + "[0-9]+@";

Already tried that:
$var(x) =  "^sip:" + $avp(s:code) + "[0-9]+@";

but in runtime I see in the log:

ERROR:core:eval_elem: invalid string operands
ERROR:core:do_assign: no value in right expression
ERROR:core:do_assign: error at line: 996

>
> Cheers,
> Daniel
>

Thanks. Regards.

-- 
Antonio



More information about the Users mailing list