[Kamailio-Users] append_rpid_hf add privacy?

Daniel-Constantin Mierla miconda at gmail.com
Tue Feb 2 13:28:39 CET 2010


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 script?

Have you tried append_hf()? Seems you want to add r-uri to rpid, which 
is easier via append_hf() then.

Cheers,
Daniel

> Cheers
> Alex
>
>
>
> On Tue, Feb 2, 2010 at 12:24 PM, Daniel-Constantin Mierla 
> <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>     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 the begining of the kamailio.cfg
>
>         if(($rU=="99999") || ($rU=="77777"))
>                        {
>                                append_rpid_hf("sip",
>         "$ru;party=calling;id-type=subscriber;privacy=off;screen=no");
>                                xlog("alx ------- We have rU match
>          --------");
>                        }
>
>         When I see the sip messages I don't see this extra header
>         added into it.
>
>         Does anyone had experience in this ?
>
>     the header is visible when the message is forwarded. To see it
>     immediately, but only in 3.0.0, you can use msg_apply_changes().
>
>     Cheers,
>     Daniel
>
>
>     -- 
>     Daniel-Constantin Mierla
>     eLearning class for Kamailio 3.0.0
>     Starting Feb 8, 2010
>     * http://www.asipto.com/
>
>

-- 
Daniel-Constantin Mierla
eLearning class for Kamailio 3.0.0
Starting Feb 8, 2010
* http://www.asipto.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20100202/5afc00f2/attachment.htm>


More information about the sr-users mailing list