[asterisk-bugs] [JIRA] (ASTERISK-19465) P-Asserted-Identity Privacy

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu May 22 11:44:49 CDT 2014


     [ https://issues.asterisk.org/jira/browse/ASTERISK-19465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Jordan updated ASTERISK-19465:
-----------------------------------

    Target Release Version/s: 1.8.28.0

> P-Asserted-Identity Privacy
> ---------------------------
>
>                 Key: ASTERISK-19465
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-19465
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Channels/chan_sip/General
>    Affects Versions: 1.8.9.3
>            Reporter: Krzysztof Chmielewski
>      Target Release: 1.8.27.0, 1.8.28.0, 11.9.0, 12.2.0
>
>         Attachments: bugASTERISK-19465 v4.patch, pai_rpid_fromname.diff, pai_rpid_fromnamev2.diff, pai_rpid_fromnamev3.diff, pai_rpid_fromnamev5.patch
>
>
> It seams that in Asterisk 1.8 (1.8.9.3) privacy with PAI is not implemented correctly.
> According to RFC 3325 when using privacy, FROM header should be set to anonymous at anonymous.invalid and PAI header should be set to caller num and name. The privacy is implemented by adding privacy: id header.
> From RFC:
> INVITE sip:+14085551212 at proxy.pstn.net SIP/2.0
> Via: SIP/2.0/TCP useragent.cisco.com;branch=z9hG4bK-124
> Via: SIP/2.0/TCP proxy.cisco.com;branch=z9hG4bK-abc
> To: <sip:+14085551212 at cisco.com>
> From: "Anonymous" <sip:anonymous at anonymous.invalid>;tag=9802748
> Call-ID: 245780247857024504
> CSeq: 2 INVITE
> Max-Forwards: 69
> P-Asserted-Identity: "Cullen Jennings" <sip:fluffy at cisco.com>
> P-Asserted-Identity: tel:+14085264000
> Privacy: id
> It seams that Asterisk sets the headers the other way round (more or less) and does not include the "privacy: id" header.
> Dial Plan:
> exten => 111,1,Set(CALLERID(num-pres)=prohib)
> exten => 111,n,Set(CALLERID(all)=aaaa <222222>)
> exten => 111,n,Dial(SIP/+48111111111 at fffff)
> SIP Debug:
> INVITE sip:+48111111111 at sip.freeconet.pl:5060 SIP/2.0
> Via: SIP/2.0/UDP 10.0.4.52:5060;branch=z9hG4bK32a20f99;rport
> Max-Forwards: 70
> From: "TEST" <sip:TEST at sip.freeconet.pl>;tag=as6df1f4ca
> To: <sip:+481111111119 at sip.freeconet.pl:5060>
> Contact: <sip:TEST at 10.0.4.52:5060>
> Call-ID: 709d2bdf61388bf80679b9e348338123 at sip.freeconet.pl
> CSeq: 102 INVITE
> User-Agent: UA_TEST
> Date: Fri, 02 Mar 2012 15:11:19 GMT
> Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
> Supported: replaces, timer
> P-Asserted-Identity: "Anonymous" <sip:anonymous at anonymous.invalid>
> Content-Type: application/sdp
> Content-Length: 278
> TEST is default CallerID
> Peers are from DB.
> Or perhaps I'm doing something wrong here :(



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list