Hi,
you should try the following: $(hdr(Remote-Party-ID){tobody.params}{param.value,privacy})
Thanks, Carsten
2016-09-19 14:03 GMT+02:00 Grant Bagdasarian gb@cm.nl:
Hello,
I’m trying to extract the privacy param from the RPID header, but without success.
Could someone point me in the right direction?
Remote-Party-ID: "Cullen Jennings" sip:+3123456789@1.1.1.1; party=calling;privacy=off;screen=no.
I’ve tried the following ways:
TEXTOPSX: $var(rpid_privacy_value) = @hf_value.remote_party_id.
privacy;
Param Transformations:
a. $(hdr(Remote-Party-ID){param.value,privacy})
b. $(re{param.value,privacy})
c. 4re{param.value,privacy}
I can’t seem to extract the value of privacy from the RPID header.
Regards,
Grant
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