[asterisk-bugs] [Asterisk 0017981]: [patch] Wrong URI send if P-Assterted-Identiy is sent and caller is anonymous -> leads to reject on Aastra phone

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Sep 21 10:27:12 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17981 
====================================================================== 
Reported By:                avalentin
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   17981
Category:                   Channels/chan_sip/General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.8.0
Asterisk Version:           1.8.0-beta4 
JIRA:                       SWP-2194 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-09-11 11:26 CDT
Last Modified:              2010-09-21 10:27 CDT
====================================================================== 
Summary:                    [patch] Wrong URI send if P-Assterted-Identiy is
sent and caller is anonymous -> leads to reject on Aastra phone
Description: 
If send_rpid=pai is set in sip.conf, asterisk uses this to send callerid
information.
But if the caller is anonymous, the format of the URI is wrong. The
protocol is missing. 
Wrong:
"Anonymous" <anonymous at anonymous.invalid>
Correct:
"Anonymous" <sip:anonymous at anonymous.invalid>

Aastra phones reject these calls.


====================================================================== 

---------------------------------------------------------------------- 
 (0127190) svnbot (reporter) - 2010-09-21 10:27
 https://issues.asterisk.org/view.php?id=17981#c127190 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 287894

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r287894 | tilghman | 2010-09-21 10:27:11 -0500 (Tue, 21 Sep 2010) | 16
lines

Merged revisions 287893 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.8

........
  r287893 | tilghman | 2010-09-21 10:24:47 -0500 (Tue, 21 Sep 2010) | 9
lines
  
  Anonymous callerid needs a "sip:" uri prefix.
  
  (closes issue https://issues.asterisk.org/view.php?id=17981)
   Reported by: avalentin
   Patches: 
         sip-anonymous-aastra.patch uploaded by avalentin (license 1107)
         (plus an additional fix by me)
   Tested by: avalentin
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=287894 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-09-21 10:27 svnbot         Checkin                                      
2010-09-21 10:27 svnbot         Note Added: 0127190                          
======================================================================




More information about the asterisk-bugs mailing list