[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:24:49 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:                     ready for testing
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:              
====================================================================== 
Date Submitted:             2010-09-11 11:26 CDT
Last Modified:              2010-09-21 10:24 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.


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

---------------------------------------------------------------------- 
 (0127189) svnbot (reporter) - 2010-09-21 10:24
 https://issues.asterisk.org/view.php?id=17981#c127189 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 287893

U   branches/1.8/channels/chan_sip.c

------------------------------------------------------------------------
r287893 | tilghman | 2010-09-21 10:24:48 -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=287893 

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




More information about the asterisk-bugs mailing list