[asterisk-bugs] [Asterisk 0015883]: NewChannel AMI event on DAHDI (or Zaptel) channels contains CallerID information from previous call

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Oct 13 14:58:29 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15883 
====================================================================== 
Reported By:                jsmith
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   15883
Category:                   Channels/chan_dahdi
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.26.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-09-11 10:36 CDT
Last Modified:              2009-10-13 14:58 CDT
====================================================================== 
Summary:                    NewChannel AMI event on DAHDI (or Zaptel) channels
contains CallerID information from previous call
Description: 
When the dialplan attempts to make an outbound call on a DAHDI channel, an
"NewChannel" AMI event is sent.  The CallerID information in this event is
actually the information for the *previous* call on that channel (which can
be especially bad or confusing if the previous call on that channel was an
inbound call).

Not only does this mean the wrong information is being passed via the
manager interface, it has the potential of disclosing private information
about other calls on the system.

My suggestions for a resolution are either:

A) Don't pass any CallerID information for the NewChannel event (or at
least when the state is "Rsrvd")

or

B) Clear out the CallerID information after reserving a channel but before
sending out the AMI event
====================================================================== 

---------------------------------------------------------------------- 
 (0112244) jpeeler (administrator) - 2009-10-13 14:58
 https://issues.asterisk.org/view.php?id=15883#c112244 
---------------------------------------------------------------------- 
I'm having difficulty reproducing this. Are these PRI channels here? Do you
still have the chan_dahdi.conf for uploading? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-10-13 14:58 jpeeler        Note Added: 0112244                          
======================================================================




More information about the asterisk-bugs mailing list