On 06/23/2011 05:52 PM, dotnetdub wrote:
ERROR: pv [pv_trans.c:522]: invalid uri [<sip:1234567@domain.ie mailto:sip%3A1234567@domain.ie;privacy=full;screen=no>] /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:
Oh, I guess uri.params operates on a bare URI, rather than parsing it out of a larger header. That's kind of obvious, in retrospect, but for some reason wasn't intuitive to me. Anyway, try it on just the URI:
$var(x) = $(re{uri.param,privacy});
Second, make sure you're printing the value of $var(x).