04-30-2013 02:08 PM - edited 03-15-2019 05:25 AM
So any privacy header associated with incoming INVITE message should be mapped to RPID,
INVITE sip:48111223344@10.10.10.19:5060;user=phone SIP/2.0
Allow: UPDATE,REFER,INFO
Call-ID: 30620-RW-0035511e-1cf464fb2@wog.pl
Contact: <sip:10.10.10.10:5060>
Content-Type: application/sdp
CSeq: 2481799 INVITE
From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=30620-ER-0035511f-27a46d3e2
Max-Forwards: 30
P-Asserted-Identity: <sip:222334455@wog.pl;user=phone>
Privacy: id
To: <sip:48111223344@10.10.10.19;user=phone>
User-Agent: MainSS
Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK-5DA9-2D6AB2
Content-Length: 211
v=0
o=cp10 136735199451 136735199451 IN IP4 10.10.10.11
s=SIP Call
c=IN IP4 10.10.10.11
t=0 0
m=audio 31652 RTP/AVP 8 0
b=AS:80
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=ptime:20
a=sendrecv
but outgoing one has following pricacy contents:
Remote-Party-ID: "Anonymous"<sip:anonymous@10.10.10.19>;party=calling;screen=no;privacy=full
From: "anonymous" <sip:anonymous@10.10.10.19>;tag=1B76DBE0-2405
Contact: <sip:anonymous@10.10.10.19:5060>
which is wrong.
Changing remote-party-id to pai (voice-class sip asserted-id pai) does not change anything (pai to pai) resulting:
From: <sip:anonymous@anonymous.invalid>;tag=1B809042-930
P-Asserted-Identity: "Anonymous" <sip:anonymous@10.10.10.19>
Privacy: id
Thanks in advance,
Mac.