cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
807
Views
0
Helpful
1
Replies

Privacy headers support

Maciej Bylica
Level 1
Level 1
Hello,

I have problem to properly configure sip privacy for Cisco 3945E running 15.2.(3)T IOS rel.
I have exact configuration as described in http://www.cisco.com/en/US/docs/ios-xml/ios/voice/cube_sip/configuration/15-0m/voi-paid-ppid-priv.html and other cisco web pages, but privacy headers generated by outgoing dialpeer are not compliant with RFC3325 or RPID draft.

voice service voip
address-hiding
allow-connections sip to sip
  cause-code legacy
sip
  header-passing
  error-passthru
  early-offer forced
  midcall-signaling passthru

and incoming and outgoing dialpeers like following:
dial-peer voice 30 voip
corlist incoming o-XX1
description INCOMING numbers
service authapp
session protocol sipv2
incoming called-number .+
  incoming uri via 100
voice-class codec 2
fax protocol pass-through g711alaw

dial-peer voice 130 voip
corlist outgoing t-XX1
description Outgoing numbers
huntstop
destination-pattern 481112233..
  session protocol sipv2
session target ipv4:10.10.10.12
incoming uri via 27
voice-class codec 2
fax protocol pass-through g711alaw

sip-ua
no redirection
retry invite 2
reason-header override

sip-ua has remote-party-id command provided so it is enabled by default.

So any privacy header associated with incoming INVITE message should be mapped to RPID,

Incoming INVITE looks like following:

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

The problem is that RPID or PAI or even PPI is not compliant with RFC3325/draft.Have you guys any hints of how to solve this or point me where i made mistake in my configuration.

Thanks in advance,
Mac.

1 Reply 1

Maciej Bylica
Level 1
Level 1

Hi,

Could you please share your privacy config here to compare?

Thanks

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: