[asterisk-bugs] [LibPRI 0013207]: National prefix inserted even when caller ID not available

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 15 17:11:49 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13207 
====================================================================== 
Reported By:                shawkris
Assigned To:                dvossel
====================================================================== 
Project:                    LibPRI
Issue ID:                   13207
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.21.1 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-07-31 05:49 CDT
Last Modified:              2009-04-15 17:11 CDT
====================================================================== 
Summary:                    National prefix inserted even when caller ID not
available
Description: 
We have seen calls come in from BT on an ISDN30e that have had the caller
ID restricted, but because the number is set as "National Number (2)" the
national prefix of '0' has been inserted by Asterisk/Zaptel/LibPri. This
makes it appear as though the caller ID was '0'.
Calls that are "Unknown Number Type (0)" but have no caller ID just have
an empty caller ID, as expected. Calls of "National Number (2)" but with
caller ID data appear as expected.
If caller ID is not sent for a particlar call, should the
national/international prefixes not be inserted?
====================================================================== 

---------------------------------------------------------------------- 
 (0103287) svnbot (reporter) - 2009-04-15 17:11
 http://bugs.digium.com/view.php?id=13207#c103287 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 188648

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

------------------------------------------------------------------------
r188648 | dvossel | 2009-04-15 17:11:49 -0500 (Wed, 15 Apr 2009) | 25
lines

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

................
  r188647 | dvossel | 2009-04-15 17:10:04 -0500 (Wed, 15 Apr 2009) | 18
lines
  
  Merged revisions 188646 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r188646 | dvossel | 2009-04-15 17:08:40 -0500 (Wed, 15 Apr 2009) | 12
lines
    
    National prefix inserted even when caller ID not available
    
    When the caller ID is restricted, the expected behavior is for the
caller id to be blank.  In chan_dahdi, the national prefix is placed onto
the callers number even if its restricted (empty) causing the caller id to
be the national prefix rather than blank.
    
    (closes issue http://bugs.digium.com/view.php?id=13207)
    Reported by: shawkris
    Patches:
          national_prefix.diff uploaded by dvossel (license 671)
    
    Review: http://reviewboard.digium.com/r/220/
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-15 17:11 svnbot         Checkin                                      
2009-04-15 17:11 svnbot         Note Added: 0103287                          
======================================================================




More information about the asterisk-bugs mailing list