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

dadjul (JIRA) noreply at issues.asterisk.org
Fri Jun 28 08:25:04 CDT 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-19465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=207550#comment-207550 ] 

dadjul commented on ASTERISK-19465:
-----------------------------------

Hello

I need this patch but I am running 1.8.20.0 which failed to apply.
Is the feature implemented somewhere or is there a way I can get this patch for my version?

My provider wants me to send normal FROM (not anonymous.invalid) but RPID privacy=full in order to show anonymous

Thanks.
                
> 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
>         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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list