<div dir="ltr"><div><div>Guys,<br><br></div>Do you have any ideas how to set the privacy up?<br><br></div>Thanks,<br>Mac.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/30 Maciej Bylica <span dir="ltr"><<a href="mailto:mbsip@gazeta.pl" target="_blank">mbsip@gazeta.pl</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div><span><span>Hello,<br><br></span></span></div><span><span>I have problem to properly configure sip privacy for Cisco 3945E running 15.2.(3)T IOS rel.<br>
</span></span></div><span><span>I have exact configuration as described in </span></span><a href="http://www.cisco.com/en/US/docs/ios-xml/ios/voice/cube_sip/configuration/15-0m/voi-paid-ppid-priv.html" target="_blank">http://www.cisco.com/en/US/docs/ios-xml/ios/voice/cube_sip/configuration/15-0m/voi-paid-ppid-priv.html</a> and other cisco web pages, but privacy headers generated by outgoing dialpeer are not compliant with RFC3325 or RPID draft.<br>
<br></div>voice service voip<br> address-hiding<br> allow-connections sip to sip<br> cause-code legacy<br> sip<br> header-passing<br> error-passthru<br> early-offer forced<br> midcall-signaling passthru<br><br></div>
and incoming and outgoing dialpeers like following:<br></div>dial-peer voice 30 voip<br> corlist incoming o-XX1<br> description INCOMING numbers<br> service authapp<br> session protocol sipv2<br> incoming called-number .+<br>
incoming uri via 100<br> voice-class codec 2<br> fax protocol pass-through g711alaw<br><br>dial-peer voice 130 voip<br> corlist outgoing t-XX1<br> description Outgoing numbers<br> huntstop<br> destination-pattern 48223906...<br>
session protocol sipv2<br> session target ipv4:80.72.35.52<br> incoming uri via 27<br> voice-class codec 2<br> fax protocol pass-through g711alaw<br><br></div></div>sip-ua<br> no redirection<br> retry invite 2<br> reason-header override<br>
<br></div>sip-ua has remote-party-id command provided so it is enabled by default.<br></div><div>So any privacy header associated with incoming INVITE message should be mapped to RPID,<br></div><div>Incoming INVITE looks like following:<br>
</div><div><br>INVITE sip:48111223344@10.10.10.19:5060;user=phone SIP/2.0<br>Allow: UPDATE,REFER,INFO<br>Call-ID: <a href="mailto:30620-RW-0035511e-1cf464fb2@wog.pl" target="_blank">30620-RW-0035511e-1cf464fb2@wog.pl</a><br>
Contact: <sip:<a href="http://10.10.10.10:5060" target="_blank">10.10.10.10:5060</a>><br>
Content-Type: application/sdp<br>CSeq: 2481799 INVITE<br>From: "Anonymous" <sip:anonymous@anonymous.invalid>;tag=30620-ER-0035511f-27a46d3e2<br>Max-Forwards: 30<br>P-Asserted-Identity: <<a href="mailto:sip%3A222334455@wog.pl" target="_blank">sip:222334455@wog.pl</a>;user=phone><br>
Privacy: id<br>To: <<a href="mailto:sip%3A48111223344@10.10.10.19" target="_blank">sip:48111223344@10.10.10.19</a>;user=phone><br>User-Agent: MainSS<br>Via: SIP/2.0/UDP 10.10.10.10:5060;branch=z9hG4bK-5DA9-2D6AB2<br>
Content-Length: 211<br>
<br>v=0<br>o=cp10 136735199451 136735199451 IN IP4 10.10.10.11<br>s=SIP Call<br>c=IN IP4 10.10.10.11<br>t=0 0<br>m=audio 31652 RTP/AVP 8 0<br>b=AS:80<br>a=rtpmap:8 PCMA/8000/1<br>a=rtpmap:0 PCMU/8000/1<br>a=ptime:20<br>a=sendrecv<br>
</div><div><br></div><div>but outgoing one has following pricacy contents:<br></div><div>Remote-Party-ID: "Anonymous"<<a href="mailto:sip%3Aanonymous@10.10.10.19" target="_blank">sip:anonymous@10.10.10.19</a>>;party=calling;screen=no;privacy=full<br>
From: "anonymous" <<a href="mailto:sip%3Aanonymous@10.10.10.19" target="_blank">sip:anonymous@10.10.10.19</a>>;tag=1B76DBE0-2405<br>Contact: <<a href="http://sip:anonymous@10.10.10.19:5060" target="_blank">sip:anonymous@10.10.10.19:5060</a>><br>
</div><div>which is wrong.<br></div><div><br></div><div>Changing remote-party-id to pai (voice-class sip asserted-id pai) does not change anything (pai to pai) resulting:<br></div><div><br></div><div>From: <sip:anonymous@anonymous.invalid>;tag=1B809042-930<br>
P-Asserted-Identity: "Anonymous" <<a href="mailto:sip%3Aanonymous@10.10.10.19" target="_blank">sip:anonymous@10.10.10.19</a>><br>Privacy: id<br><br></div><div>The problem is that RPID or PAI or even PPI is not compliant with RFC3325/draft.<br>
<br></div><div>Have you guys any hints of how to solve this or point me where i made mistake in my configuration.<br><br></div><div>Thanks in advance,<br>Mac.<br></div></div>
</blockquote></div><br></div>