[sr-dev] use key dynamic for xavp

Luis Azedo luis at 2600hz.com
Thu Sep 28 05:46:44 CEST 2017


Hi List,


shouldn't this be possible ?


$xavp(ulattrs=>first) = 33;

$var(ccv) = "whatever";
$xavp(ulattrs[0]=>$var(ccv)) = "some value";

when using in the particular case of usrloc attrs, i see the value of the attr created as "first" (correct) and "$var(ccv)" which i believe is incorrect, it should be "whatever".

thoughts ?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170928/34663ede/attachment.html>


More information about the sr-dev mailing list