[asterisk-bugs] [Asterisk 0016488]: [patch] When setting a soundfile for announce with a length longer then 80 chars a storage overlay happens

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jan 28 06:49:05 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16488 
====================================================================== 
Reported By:                syspert
Assigned To:                jpeeler
====================================================================== 
Project:                    Asterisk
Issue ID:                   16488
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
JIRA:                       SWP-683 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 235811 
Request Review:              
====================================================================== 
Date Submitted:             2009-12-21 07:53 CST
Last Modified:              2010-01-28 06:49 CST
====================================================================== 
Summary:                    [patch] When setting a soundfile for announce with a
length longer then 80 chars a storage overlay happens
Description: 
Crash in app_queue.
Changed the length of the announce field from 80 to AST_CONFIG_MAX_PATH .
====================================================================== 

---------------------------------------------------------------------- 
 (0117300) syspert (reporter) - 2010-01-28 06:49
 https://issues.asterisk.org/view.php?id=16488#c117300 
---------------------------------------------------------------------- 
[Jan 28 13:40:50] WARNING[20673]: file.c:949 ast_streamfile: Unable to open
/etc/asterisk/company0003/sounds/this-is-a-very-long-name-to-proof-that-not-all
(format 0x8 (alaw)): No such file or directory

With merging all our fixes from asterisk 1.2 I assumed there was a storage
overlay. But the copy functions in asterisk 1.6 prevent the overlay in this
case. So I have made a mistake and the description of the bug must be
changed to:
Announce field in queue.conf cannot exceed 80 charachters.

this is the queue:
[2-nicorij] ; queue https://issues.asterisk.org/view.php?id=2
music=neonova-default
announce=/etc/asterisk/company0003/sounds/this-is-a-very-long-name-to-proof-that-not-all-my-is-not-pointless-inspite-of-what-others-say.gsm
strategy=ringall
timeout=30
retry=3
wrapuptime=0
maxlen=0
announce-frequency=0
announce-holdtime=no
announce-round-seconds=30
joinempty=strict
leavewhenempty=strict
eventwhencalled=yes
member=SIP/ast162,0 ;   Nico Kooijman <222> 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-01-28 06:49 syspert        Note Added: 0117300                          
======================================================================




More information about the asterisk-bugs mailing list