On 23 June 2011 22:55, Alex Balashov <abalas...@evaristesys.com> wrote:
> On 06/23/2011 05:52 PM, dotnetdub wrote: > > ERROR: pv [pv_trans.c:522]: invalid uri [<sip:1234...@domain.ie >> <mailto:sip%3A1234567@domain.**ie <sip%253a1234...@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). Thanks Works perfectly. > > -- > Alex Balashov - Principal > Evariste Systems LLC > 260 Peachtree Street NW > Suite 2200 > Atlanta, GA 30303 > Tel: +1-678-954-0670 > Fax: +1-404-961-1892 > Web: http://www.evaristesys.com/ > > ______________________________**_________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/**cgi-bin/mailman/listinfo/sr-**users<http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users> >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users