On 17 June 2011 18:22, Alex Balashov <abalas...@evaristesys.com> wrote:
> Brian, > > Remote-Party-ID is a long-obsolete draft that never became an RFC; why are > you still using it? > > Anyway, if you know the 'privacy' header parameter will always be there, > you can do this, assuming is_present_hf("Remote-Party-**ID"), of course. > > $var(x) = $(hdr(Remote-Party-ID){s.**select,1,>}); > > xlog("L_INFO", "Remote Party ID privacy value: > $(var(x){param.value,privacy})**\n"); > > Hi Alex, This doesn't seem to be working for me.. /sbin/kamailio[25291]: INFO: <script>: Remote Party ID privacy value: >From the initial invite: Remote-Party-ID: <sip:1234...@domain.ie ;privacy=full;screen=no> Let me know if I'm doing something wrong. Thanks Brian. > -- > 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