[Home]

Summary:ASTERISK-13570: [patch] Incorrect From: header information when CALLERPRES=PRES_PROHIB
Reporter:nick_lewis (nick_lewis)Labels:
Date Opened:2009-02-12 08:04:43.000-0600Date Closed:2009-07-17 11:18:50
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_sip/Interoperability
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) chan_sip.c-callerpres_trunk.patch
( 1) chan_sip.c-callerpres.patch
Description:If CALLERPRES=PRES_PROHIB is set for an outgoing call then the From: header contains

  "Unknown" <Unknown@fromdomain>

However RFC3261 requires it to be

  "Anonymous" <anything@anything.invalid>

Some ITSP make use of the "Anonymous" display name to detect a requirement to withhold caller id across the PSTN. This does not work if the display name is "Unknown".

Comments:By: nick_lewis (nick_lewis) 2009-02-12 08:09:04.000-0600

Please find attached a patch that provides withheld identify as per section 8.1.1.3 of RFC3261

By: Digium Subversion (svnbot) 2009-07-17 11:05:07

Repository: asterisk
Revision: 206938

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 10 lines



(closes issue ASTERISK-13570)
Reported by: Nick_Lewis
Patches:
     chan_sip.c-callerpres.patch uploaded by Nick (license 657)
     chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
Tested by: Nick_Lewis, dvossel


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

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

By: Digium Subversion (svnbot) 2009-07-17 11:09:53

Repository: asterisk
Revision: 206938

U   branches/1.4/channels/chan_sip.c

------------------------------------------------------------------------
r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 14 lines

SIP incorrect From: header information when callpres is prohib

Some ITSP make use of the "Anonymous" display name to detect a
requirement to withhold caller id across the PSTN. This does
not work if the display name is "Unknown".

(closes issue ASTERISK-13570)
Reported by: Nick_Lewis
Patches:
     chan_sip.c-callerpres.patch uploaded by Nick (license 657)
     chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
Tested by: Nick_Lewis, dvossel


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

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

By: Digium Subversion (svnbot) 2009-07-17 11:13:23

Repository: asterisk
Revision: 206939

_U  trunk/
U   trunk/channels/chan_sip.c

------------------------------------------------------------------------
r206939 | dvossel | 2009-07-17 11:13:22 -0500 (Fri, 17 Jul 2009) | 20 lines

Merged revisions 206938 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 14 lines
 
 SIP incorrect From: header information when callpres is prohib
 
 Some ITSP make use of the "Anonymous" display name to detect a
 requirement to withhold caller id across the PSTN. This does
 not work if the display name is "Unknown".
 
 (closes issue ASTERISK-13570)
 Reported by: Nick_Lewis
 Patches:
       chan_sip.c-callerpres.patch uploaded by Nick (license 657)
       chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
 Tested by: Nick_Lewis, dvossel
........

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

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

By: Digium Subversion (svnbot) 2009-07-17 11:15:38

Repository: asterisk
Revision: 206940

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r206940 | dvossel | 2009-07-17 11:15:37 -0500 (Fri, 17 Jul 2009) | 27 lines

Merged revisions 206939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r206939 | dvossel | 2009-07-17 11:13:22 -0500 (Fri, 17 Jul 2009) | 20 lines
 
 Merged revisions 206938 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 14 lines
   
   SIP incorrect From: header information when callpres is prohib
   
   Some ITSP make use of the "Anonymous" display name to detect a
   requirement to withhold caller id across the PSTN. This does
   not work if the display name is "Unknown".
   
   (closes issue ASTERISK-13570)
   Reported by: Nick_Lewis
   Patches:
         chan_sip.c-callerpres.patch uploaded by Nick (license 657)
         chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
   Tested by: Nick_Lewis, dvossel
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-07-17 11:16:36

Repository: asterisk
Revision: 206941

_U  branches/1.6.1/
U   branches/1.6.1/channels/chan_sip.c

------------------------------------------------------------------------
r206941 | dvossel | 2009-07-17 11:16:36 -0500 (Fri, 17 Jul 2009) | 27 lines

Merged revisions 206939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r206939 | dvossel | 2009-07-17 11:13:22 -0500 (Fri, 17 Jul 2009) | 20 lines
 
 Merged revisions 206938 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 14 lines
   
   SIP incorrect From: header information when callpres is prohib
   
   Some ITSP make use of the "Anonymous" display name to detect a
   requirement to withhold caller id across the PSTN. This does
   not work if the display name is "Unknown".
   
   (closes issue ASTERISK-13570)
   Reported by: Nick_Lewis
   Patches:
         chan_sip.c-callerpres.patch uploaded by Nick (license 657)
         chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
   Tested by: Nick_Lewis, dvossel
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-07-17 11:18:50

Repository: asterisk
Revision: 206947

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r206947 | dvossel | 2009-07-17 11:18:49 -0500 (Fri, 17 Jul 2009) | 27 lines

Merged revisions 206939 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r206939 | dvossel | 2009-07-17 11:13:22 -0500 (Fri, 17 Jul 2009) | 20 lines
 
 Merged revisions 206938 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r206938 | dvossel | 2009-07-17 11:05:06 -0500 (Fri, 17 Jul 2009) | 14 lines
   
   SIP incorrect From: header information when callpres is prohib
   
   Some ITSP make use of the "Anonymous" display name to detect a
   requirement to withhold caller id across the PSTN. This does
   not work if the display name is "Unknown".
   
   (closes issue ASTERISK-13570)
   Reported by: Nick_Lewis
   Patches:
         chan_sip.c-callerpres.patch uploaded by Nick (license 657)
         chan_sip.c-callerpres_trunk.patch uploaded by dvossel (license 671)
   Tested by: Nick_Lewis, dvossel
 ........
................

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

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