[SR-Users] Get value of RPID privacy param

Daniel-Constantin Mierla miconda at gmail.com
Mon Jan 18 10:06:30 CET 2016


Hello,

for updating the From/To headers, look at uac module docs -- it has some
functions for this purpose.

Cheers,
Daniel

On 18/01/16 09:46, Grant Bagdasarian wrote:
> 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 at 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 at lists.sip-router.org] On Behalf Of ycaner
> Sent: Monday, January 18, 2016 9:28 AM
> To: sr-users at 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-tp144664p144668.html
> Sent from the Users mailing list archive at Nabble.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
>
> _______________________________________________
> 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

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
http://miconda.eu




More information about the sr-users mailing list