[asterisk-bugs] [Asterisk 0014227]: queue-thankyou should be played only if needed
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Feb 11 17:10:50 CST 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14227
======================================================================
Reported By: caspy
Assigned To: putnopvut
======================================================================
Project: Asterisk
Issue ID: 14227
Category: Applications/app_queue
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Target Version: 1.6.2
Asterisk Version: 1.6.0.3-rc1
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-01-13 07:27 CST
Last Modified: 2009-02-11 17:10 CST
======================================================================
Summary: queue-thankyou should be played only if needed
Description:
In say_position() in app_queue.c there is a command to play
'queue-thankyou' sound:
res = play_file(qe->chan, qe->parent->sound_thanks);
This sound is played unconditionally, but should be played only in case if
position or holdtime was played.
Current code is generating 'queue-thankyou' without anything else, for
example, in case of position turned off + holdtime turned on, and hold time
less than a 1 minute.
======================================================================
----------------------------------------------------------------------
(0099955) svnbot (reporter) - 2009-02-11 17:10
http://bugs.digium.com/view.php?id=14227#c99955
----------------------------------------------------------------------
Repository: asterisk
Revision: 174949
_U branches/1.6.0/
U branches/1.6.0/apps/app_queue.c
------------------------------------------------------------------------
r174949 | mmichelson | 2009-02-11 17:04:10 -0600 (Wed, 11 Feb 2009) | 27
lines
Merged revisions 174948 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r174948 | mmichelson | 2009-02-11 17:03:08 -0600 (Wed, 11 Feb 2009) | 35
lines
Fix odd "thank you" sound playing behavior in app_queue.c
If someone has configured the queue to play an position or holdtime
announcement, then it is odd and potentially unexpected to hear a
"Thank you for your patience" sound when no position or holdtime
was actually announced.
This fixes the announcement so that the "thanks" sound is only played
in the case that a position or holdtime was actually announced.
There is a way that the "thank you" sound can be played without a
position or holdtime, and that is to set announce-frequency to a value
but keep announce-position and announce-holdtime both turned off.
(closes issue http://bugs.digium.com/view.php?id=14227)
Reported by: caspy
Patches:
14227_v3.patch uploaded by putnopvut (license 60)
Tested by: caspy
................
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk?view=rev&revision=174949
Issue History
Date Modified Username Field Change
======================================================================
2009-02-11 17:10 svnbot Checkin
2009-02-11 17:10 svnbot Note Added: 0099955
======================================================================
More information about the asterisk-bugs
mailing list