<br><br><div class="gmail_quote">On 23 June 2011 22:55, Alex Balashov <span dir="ltr">&lt;<a href="mailto:abalashov@evaristesys.com">abalashov@evaristesys.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">On 06/23/2011 05:52 PM, dotnetdub wrote:<br>
<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
ERROR: pv [pv_trans.c:522]: invalid uri [&lt;<a href="mailto:sip%3A1234567@domain.ie" target="_blank">sip:1234567@domain.ie</a><br></div>
&lt;mailto:<a href="mailto:sip%253A1234567@domain.ie" target="_blank">sip%3A1234567@domain.<u></u>ie</a>&gt;;privacy=full;screen=no&gt;]<div class="im"><br>
/sbin/kamailio[27389]: ERROR: &lt;core&gt; [lvalue.c:351]: non existing<br>
right pvar<br>
/sbin/kamailio[27389]: ERROR: &lt;core&gt; [lvalue.c:411]: assignment failed<br>
at pos: (110,13-110,54)<br>
/sbin/kamailio[27389]: INFO: &lt;script&gt;: Remote Party ID privacy value:<br>
</div></blockquote>
<br>
Oh, I guess uri.params operates on a bare URI, rather than parsing it out of a larger header.  That&#39;s kind of obvious, in retrospect, but for some reason wasn&#39;t intuitive to me.  Anyway, try it on just the URI:<br>


<br>
   $var(x) = $(re{uri.param,privacy});<br>
<br>
Second, make sure you&#39;re printing the value of $var(x).</blockquote><div><br></div><div><br></div><div>Thanks</div><div><br></div><div>Works perfectly.</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5"><br>
<br>
-- <br>
Alex Balashov - Principal<br>
Evariste Systems LLC<br>
260 Peachtree Street NW<br>
Suite 2200<br>
Atlanta, GA 30303<br>
Tel: +1-678-954-0670<br>
Fax: +1-404-961-1892<br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a><br>
<br>
______________________________<u></u>_________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/<u></u>cgi-bin/mailman/listinfo/sr-<u></u>users</a><br>
</div></div></blockquote></div><br>