[Home]

Summary:ASTERISK-15899: [patch] Missing file queue-minute causes hangup of queue calls with wait time announcement = 1 minute
Reporter:JoshE (n8ideas)Labels:
Date Opened:2010-03-31 17:15:17Date Closed:2010-05-17 09:11:49
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) queue-minute-fr.wav
Description:Because of a missing audio file "queue-minute", calls are hung up due to missing announcement if the user's wait time avgholdmins == 1.  

This is line 1965 of app_queue.c which calls:

res = play_file(qe->chan, qe->parent->sound_minute);

This was noted in issue 16168, but this particular part of the issue was not resolved.

****** ADDITIONAL INFORMATION ******

The debug from CLI:

[Mar 30 16:02:24] VERBOSE[3143] app_queue.c:     -- Hold time for 6000 is 1 minute(s) 0 seconds
[Mar 30 16:02:24] VERBOSE[3143] file.c:     -- <DAHDI/80-1> Playing 'queue-holdtime.ulaw' (language 'en')
[Mar 30 16:02:27] VERBOSE[3143] file.c:     -- <DAHDI/80-1> Playing 'digits/1.ulaw' (language 'en')
[Mar 30 16:02:28] WARNING[3143] file.c: File queue-minute does not exist in any format
[Mar 30 16:02:28] WARNING[3143] file.c: Unable to open queue-minute (format 0x4 (ulaw)): No such file or directory
[Mar 30 16:02:28] VERBOSE[3143] pbx.c:   == Spawn extension (ext-queues, 6000, 10) exited non-zero on 'DAHDI/80-1'
[Mar 30 16:02:28] VERBOSE[3143] chan_dahdi.c:     -- Hungup 'DAHDI/80-1'

This can be resolved by manually copying queue-minutes.wav to queue-minute.wav.  Also, code modification to temporarily reference queue_minutes on line 1965 of app_queue.c would fix.

There may be a somewhat larger issue here in that calls are hung up if the recording isn't found.  It seems to me that the recording should just be skipped and the call continue.  This is a bit on the disruptive side to callers that are at the 1 minute mark.
Comments:By: Mark Petersen (roadkill) 2010-04-28 03:47:02

may be relatet to
0017061: Queue hangup if periodic announcement file is missing

By: Digium Subversion (svnbot) 2010-05-17 09:04:57

Repository: asterisk
Revision: 263374

U   branches/1.4/sounds/Makefile

------------------------------------------------------------------------
r263374 | lmadsen | 2010-05-17 09:04:57 -0500 (Mon, 17 May 2010) | 8 lines

Update link to new version of core sounds.

The latest version of the core sounds files 1.4.19 now includes the missing
queue-minute sound file which is called by app_queue but which has been
missing.

(closes issue ASTERISK-15899)
Reported by: n8ideas
------------------------------------------------------------------------

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

By: Digium Subversion (svnbot) 2010-05-17 09:05:33

Repository: asterisk
Revision: 263375

_U  trunk/
U   trunk/sounds/Makefile

------------------------------------------------------------------------
r263375 | lmadsen | 2010-05-17 09:05:33 -0500 (Mon, 17 May 2010) | 16 lines

Merged revisions 263374 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r263374 | lmadsen | 2010-05-17 09:04:57 -0500 (Mon, 17 May 2010) | 8 lines
 
 Update link to new version of core sounds.
 
 The latest version of the core sounds files 1.4.19 now includes the missing
 queue-minute sound file which is called by app_queue but which has been
 missing.
 
 (closes issue ASTERISK-15899)
 Reported by: n8ideas
........

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

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

By: Digium Subversion (svnbot) 2010-05-17 09:11:48

Repository: asterisk
Revision: 263376

_U  branches/1.6.2/
U   branches/1.6.2/sounds/Makefile

------------------------------------------------------------------------
r263376 | lmadsen | 2010-05-17 09:11:48 -0500 (Mon, 17 May 2010) | 23 lines

Merged revisions 263375 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
 r263375 | lmadsen | 2010-05-17 09:05:33 -0500 (Mon, 17 May 2010) | 16 lines
 
 Merged revisions 263374 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r263374 | lmadsen | 2010-05-17 09:04:57 -0500 (Mon, 17 May 2010) | 8 lines
   
   Update link to new version of core sounds.
   
   The latest version of the core sounds files 1.4.19 now includes the missing
   queue-minute sound file which is called by app_queue but which has been
   missing.
   
   (closes issue ASTERISK-15899)
   Reported by: n8ideas
 ........
................

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

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