[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:08:41 CDT 2009


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
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:              
====================================================================== 
Date Submitted:             2008-07-31 05:49 CDT
Last Modified:              2009-04-15 17:08 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?
====================================================================== 

---------------------------------------------------------------------- 
 (0103285) svnbot (reporter) - 2009-04-15 17:08
 http://bugs.digium.com/view.php?id=13207#c103285 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 188646

U   branches/1.4/channels/chan_dahdi.c

------------------------------------------------------------------------
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=188646 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-04-15 17:08 svnbot         Checkin                                      
2009-04-15 17:08 svnbot         Note Added: 0103285                          
2009-04-15 17:08 svnbot         Status                   feedback => assigned
======================================================================




More information about the asterisk-bugs mailing list