[asterisk-users] INVITE Privacy Information
Philipp Kempgen
philipp.kempgen at amooma.de
Tue Jul 28 06:10:55 CDT 2009
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
--
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 -> http://www.amoocon.de
--
More information about the asterisk-users
mailing list