[SR-Users] how to string concatination
Grant Bagdasarian
GB at cm.nl
Tue Dec 10 11:09:31 CET 2013
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)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131210/08536edd/attachment.html>
More information about the sr-users
mailing list