Grant Bagdasarian writes:

> How do I concatenate a string to an avp variable?
> 
> $avp(s:caller) = $fU;
> if($(avp(s:caller){s.substr,0,2}) != "00") {
>        $avp(s:caller) = "00$avp(s:caller)";
> }

try "00" + avp(s:caller)

-- juha

_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to