[asterisk-bugs] [Asterisk 0013027]: [patch] Zaptel/DAHDI channel name don't change after a hookflash event

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Aug 14 11:38:05 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13027 
====================================================================== 
Reported By:                dferrer
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   13027
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 129106 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-07-08 15:02 CDT
Last Modified:              2008-08-14 11:38 CDT
====================================================================== 
Summary:                    [patch] Zaptel/DAHDI channel name don't change after
a hookflash event
Description: 
During a conversation using Zaptel/DAHDI channels, pressing flash on
Zap/1-1 creates a new channel named Zap/1-1 instead of Zap/1-2 like
previous asterisk versions, so there are 2 active channels with same name.
Looking further in SVN tree, seems that this is broken since Asterisk
1.4.5. exactly is broken between releases 66312 and 66602 when changed
function asprintf to ast_safe_string_alloc inside func zt_new. It compares
channel names 'Zap/1-1' with content of var 'b2' that has the remaining
part of the string, '1-1' instead of the full channel name string.
(see diff
http://svn.digium.com/view/asterisk/tags/1.4.5/channels/chan_zap.c?r1=66312&r2=66602
or attached svn diff)
I don't think that is a new convention for names, seems like a bug to me
introduced when wanted to correct http://bugs.digium.com/view.php?id=9825.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-14 11:38 Corydon76      Status                   new => assigned     
2008-08-14 11:38 Corydon76      Assigned To               => Corydon76       
======================================================================




More information about the asterisk-bugs mailing list