[cisco-voip] Privacy headers support

Maciej Bylica mbsip at gazeta.pl
Thu May 2 10:37:10 EDT 2013


Guys,

Do you have any ideas how to set the privacy up?

Thanks,
Mac.


2013/4/30 Maciej Bylica <mbsip at gazeta.pl>

> 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.htmland 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 48223906...
>  session protocol sipv2
>  session target ipv4:80.72.35.52
>  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 at 10.10.10.19:5060;user=phone SIP/2.0
> Allow: UPDATE,REFER,INFO
> Call-ID: 30620-RW-0035511e-1cf464fb2 at wog.pl
> Contact: <sip:10.10.10.10:5060>
> Content-Type: application/sdp
> CSeq: 2481799 INVITE
> From: "Anonymous" <sip:anonymous at anonymous.invalid
> >;tag=30620-ER-0035511f-27a46d3e2
> Max-Forwards: 30
> P-Asserted-Identity: <sip:222334455 at wog.pl;user=phone>
> Privacy: id
> To: <sip:48111223344 at 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 at 10.10.10.19
> >;party=calling;screen=no;privacy=full
> From: "anonymous" <sip:anonymous at 10.10.10.19>;tag=1B76DBE0-2405
> Contact: <sip:anonymous at 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 at anonymous.invalid>;tag=1B809042-930
> P-Asserted-Identity: "Anonymous" <sip:anonymous at 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://puck.nether.net/pipermail/cisco-voip/attachments/20130502/3f333212/attachment.html>


More information about the cisco-voip mailing list