[asterisk-bugs] [Asterisk 0012456]: configuration option toneduration not working with zaptel 1.4.10

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 16 15:41:29 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=12456 
====================================================================== 
Reported By:                fnordian
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   12456
Category:                   Channels/chan_zap
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.19 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             04-16-2008 06:07 CDT
Last Modified:              04-16-2008 15:41 CDT
====================================================================== 
Summary:                    configuration option toneduration not working with
zaptel 1.4.10
Description: 
hi,
the toneduration option is not working with zaptel 1.4.10. this is caused
by a change of struct zt_dialparams. when setting toneduration,
zt_dialparams.mfr2_tonelen is uninitialized so the ioctl for
ZT_SET_DIALPARAMS fails.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 04-16-08 15:41  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 114184

U   branches/1.4/channels/chan_zap.c

------------------------------------------------------------------------
r114184 | kpfleming | 2008-04-16 15:41:27 -0500 (Wed, 16 Apr 2008) | 6
lines

use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to
all zeroes in case it contains fields that we don't write values into
(which it does as of Zaptel 1.4.10)

(closes issue http://bugs.digium.com/view.php?id=12456)
Reported by: fnordian


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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-16-08 15:41  svnbot         Checkin                                      
04-16-08 15:41  svnbot         Note Added: 0085583                          
04-16-08 15:41  svnbot         Status                   new => assigned     
04-16-08 15:41  svnbot         Assigned To               => kpfleming       
======================================================================




More information about the asterisk-bugs mailing list