Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Daniel-Constantin Mierla
On 18/01/16 13:29, Alex Balashov wrote: > On 01/18/2016 04:55 AM, Daniel Tryba wrote: > >> Nobody should support/use RPID, that idea expired 15 years ago. >> See the PAI/Privacy RFCs. > > I certainly agree in principle. > > Practically, it was one of those cases where the market adopted it far >

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Alex Balashov
On 01/18/2016 04:55 AM, Daniel Tryba wrote: Nobody should support/use RPID, that idea expired 15 years ago. See the PAI/Privacy RFCs. I certainly agree in principle. Practically, it was one of those cases where the market adopted it far ahead of the standards track, so "de facto" it is unfor

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Daniel-Constantin Mierla
Hello, operations over the headers (and body of message) are not applied immediately -- see the wiki on kamailio.org, look at FAQ. You have to use msg_apply_changes(), or, better, do operations in branch_route if you need to re-route to another destination with different From/To. For a branch, yo

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Daniel Tryba
On Mon, Jan 18, 2016 at 08:46:44AM +, Grant Bagdasarian wrote: > 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 pa

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread ycaner
Hello;     UAC module is more useful Because when change From or To uri  Some replies are changed so Uac module can restore it so there is no problem for SBC. i had a big problem about it and UAC module was solved it. Hello Daniel.

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Daniel-Constantin Mierla
Hello, also the 'tobody' and 'params' transformations can be handy for getting the proper values from the header body: https://www.kamailio.org/wiki/cookbooks/4.3.x/transformations#tobodyparams Cheers, Daniel On 18/01/16 09:28, ycaner wrote: > Hello; > you can use "$hdr()" to get header. Here i

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Daniel-Constantin Mierla
caner > Sent: Monday, January 18, 2016 9:28 AM > To: sr-users@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-open

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread Grant Bagdasarian
[mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of ycaner Sent: Monday, January 18, 2016 9:28 AM To: sr-users@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/b

Re: [SR-Users] Get value of RPID privacy param

2016-01-18 Thread ycaner
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 archi

[SR-Users] Get value of RPID privacy param

2016-01-17 Thread Grant Bagdasarian
Hello, How do I select the value of the privacy parameter in the Remote-Party-ID header? Remote-Party-ID: "John Doe" ;party=calling;id;privacy=full;screen=yes The following doesn't work, and I believe because it's not a valid select class: $sel(@hf_value.remote_party_id.privacy) I'm using kam