[asterisk-users] INVITE Privacy Information
Cyprus VoIP
voipcy at gmail.com
Tue Jul 28 09:13:14 CDT 2009
That's exactly what I ended up doing:
SIPAddHeader(Remote-Party-ID:
<sip:${CALLERID(num)}@....>\;privacy=full\;screen=yes)
Note the \ before each ; It wouldn't put anything behind the ; without them.
Thanks.
-------- Original Message --------
Subject: Re: [asterisk-users] INVITE Privacy Information
From: Philipp Kempgen <philipp.kempgen at amooma.de>
To: Asterisk Users Mailing List - Non-Commercial Discussion
<asterisk-users at lists.digium.com>
Date: Tuesday, 28 July, 2009 14:10:55
> Cyprus VoIP schrieb:
>> I ran into this problem: When I change the CALLERID(num and name) to
>> anonymous, they are also changed in the RPID line and not only in the From.
>
> OK. I'd try to set sendrpid=no in sip.conf and then add a
> Remote-Party-ID header in the dialplan.
> SIPAddHeader(Remote-Party-ID: <sip:... at ...>;screen=yes;privacy=full);
> I have no idea if Asterisk will let you do that even if sendrpid
> is disabled.
>
>> -------- Original Message --------
>> Subject: Re: [asterisk-users] INVITE Privacy Information
>> From: Philipp Kempgen <philipp.kempgen at amooma.de>
>> To: Asterisk Users Mailing List - Non-Commercial Discussion
>> <asterisk-users at lists.digium.com>
>> Date: Monday, 27 July, 2009 17:16:45
>>
>>> Cyprus VoIP schrieb:
>
>>> These are the sip headers I need to add to the INVITE:
>>>> /P-Asserted-Identity: <sip:*123456789*@192.168.1.100:5060>
>>> SIPAddHeader(P-Asserted-Identity: <sip:... at ...>); // RFC 3325
>>>
>>>> Remote-Party-ID:
>>>> <sip:*123456789*@192.168.1.100:5060>;party=calling;screen=yes;privacy=full
>>> Enable
>>> sendrpid=yes ; If Remote-Party-ID should be sent
>>> in the [general] section in sip.conf.
>>> SetCallerPres(prohib_passed_screen);
>
>>>> And I need to change the "From" to
>>>> "/"Anonymous"<sip:Anonymous at 192.168.1.100>/" and to remove the "*67"
>>>> prefix from the "INVITE" and "To" lines.
>>> Set(CALLERID(num)=anonymous); // RFC 2543
>>> Set(CALLERID(name)=Anonymous);
>
>
> Philipp Kempgen
More information about the asterisk-users
mailing list