[Home]

Summary:ASTERISK-16667: [patch] Wrong URI send if P-Assterted-Identiy is sent and caller is anonymous -> leads to reject on Aastra phone
Reporter:andre valentin (avalentin)Labels:
Date Opened:2010-09-11 11:26:03Date Closed:2010-09-21 10:27:12
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip-anonymous-aastra.patch
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@anonymous.invalid>
Correct:
"Anonymous" <sip:anonymous@anonymous.invalid>

Aastra phones reject these calls.

Comments:By: andre valentin (avalentin) 2010-09-11 11:29:53

see RFC 3325

By: Digium Subversion (svnbot) 2010-09-21 10:24:48

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 ASTERISK-16667)
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

By: Digium Subversion (svnbot) 2010-09-21 10:27:11

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 ASTERISK-16667)
  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