Hello,

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)";
}

This piece of code does not work as the value of $avp(s:caller) is 
"00$avp(s:caller)"

_______________________________________________
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