Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-03 Thread Daniel-Constantin Mierla
Hello, On 2/3/10 10:43 AM, alex pappas wrote: Daniel hi, Now it works! I'm adding in the rpid avp the value that the RFC it says $avp(s:rpid) = $fu; and then append_rpid_hf("$fU", ";party=calling;id-type=subscriber;privacy=off;screen=no"); In this way I see the headers added correctly in

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-03 Thread alex pappas
Daniel hi, Now it works! I'm adding in the rpid avp the value that the RFC it says $avp(s:rpid) = $fu; and then append_rpid_hf("$fU", ";party=calling;id-type=subscriber;privacy=off;screen=no"); In this way I see the headers added correctly in sip message. Considering what you said about the from

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread Daniel-Constantin Mierla
On 2/2/10 3:08 PM, alex pappas wrote: Hi Daniel, What i want to implement is when a call comes with an avp=1 then this call should not present the calling number. From examples I saw it looks like I need to add an extra header, with : append_rpid_hf("sip", "$ru;party=calling;id-type=subscri

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread alex pappas
Hi Daniel, What i want to implement is when a call comes with an avp=1 then this call should not present the calling number. From examples I saw it looks like I need to add an extra header, with : append_rpid_hf("sip", "$ru;party=calling;id-type=subscriber;privacy=off;screen=no"); I don't underst

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread Daniel-Constantin Mierla
Hello, On 2/2/10 1:18 PM, alex pappas wrote: Hi Daniel, I'm capturing with tcpdump the packets when they live the server and I don't see the extra header added. are you having the rpid value in subscriber table? Is it loaded via load_credentials of auth_db or do you set the right avp in s

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread Daniel-Constantin Mierla
Hello, On 2/2/10 11:12 AM, alex pappas wrote: Hi, Concerning the append_rpid_hf() in the doc I see the following: _The function does nothing if no saved SIP URI exists. _ Saved sip URI where ? the module uses a internal avp set when password is retrieved from database if you set it via load_

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread Daniel-Constantin Mierla
Hi Alex, On 2/2/10 11:04 AM, alex pappas wrote: Dear friends, I'm trying to give to a user the option to have privacy in a call. I'm trying to do that by adding an extra header with: append_rpid_hf("sip", ";party=calling;id-type=subscriber;privacy=off;screen=no"); I'm using this header in

Re: [Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread alex pappas
Hi, Concerning the append_rpid_hf() in the doc I see the following: *The function does nothing if no saved SIP URI exists. * Saved sip URI where ? Thanks Alex On Tue, Feb 2, 2010 at 12:04 PM, alex pappas wrote: > Dear friends, > > I'm trying to give to a user the option to have privacy in a

[Kamailio-Users] append_rpid_hf add privacy?

2010-02-02 Thread alex pappas
Dear friends, I'm trying to give to a user the option to have privacy in a call. I'm trying to do that by adding an extra header with: append_rpid_hf("sip", ";party=calling;id-type=subscriber;privacy=off;screen=no"); I'm using this header in the begining of the kamailio.cfg if(($rU=="9") ||