On 23 June 2011 22:39, Alex Balashov
<abalashov@evaristesys.com> wrote:
On 06/23/2011 05:37 PM, dotnetdub wrote:
<mailto:
abalashov@evaristesys.com>> wrote:
$(hdr(Remote-Party_ID){uri.__
param,privacy});
Still not working..
ERROR: <core> [lvalue.c:351]: non existing right pvar
assignment failed at pos: (110,13-110,54)
INFO: <script>: Remote Party ID privacy value:
Yeah, there's a typo there on my part. Remote-Party-ID instead of Remote-Party_ID.
Thanks.
Just tried again.
$var(x) = $(hdr(Remote-Party-ID){uri.param,privacy});
xlog("L_INFO", "Remote Party ID privacy value: $(var(x){param.value,privacy})\n");
/sbin/kamailio[27389]: ERROR: <core> [lvalue.c:351]: non existing right pvar
/sbin/kamailio[27389]: ERROR: <core> [lvalue.c:411]: assignment failed at pos: (110,13-110,54)
/sbin/kamailio[27389]: INFO: <script>: Remote Party ID privacy value: