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");

--
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

Reply via email to