[SR-Users] Remote Party ID Header

dotnetdub dotnetdub at gmail.com
Fri Jun 24 00:07:17 CEST 2011


On 23 June 2011 22:55, Alex Balashov <abalashov at evaristesys.com> wrote:

> On 06/23/2011 05:52 PM, dotnetdub wrote:
>
>  ERROR: pv [pv_trans.c:522]: invalid uri [<sip:1234567 at domain.ie
>> <mailto:sip%3A1234567 at domain.**ie <sip%253A1234567 at 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 at 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>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20110623/6834aed0/attachment.htm>


More information about the sr-users mailing list