This looks promising! I was doing exactly this!
I'm trying to do a correct translation of anonymous caller id from source to
destination, where the source is one of our customers and the destination our carriers.
Some of our carriers do not support setting the privacy param in the RPID, so I have to
change the from header to anonymous(a)anonymous.invalid.
Is there a module that does exactly this? Because I'm implementing this in the cfg,
but it would be easier and I guess better if there is a module that could do exactly this.
-----Original Message-----
From: sr-users [mailto:sr-users-bounces@lists.sip-router.org] On Behalf Of ycaner
Sent: Monday, January 18, 2016 9:28 AM
To: sr-users(a)lists.sip-router.org
Subject: Re: [SR-Users] Get value of RPID privacy param
Hello;
you can use "$hdr()" to get header. Here is short tuts for it
https://www.osso.nl/blog/callerid-in-rpid-opensips-kamailio/
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/Get-value-of-RPID-privacy-param-tp1…
Sent from the Users mailing list archive at
Nabble.com.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users