[Home]

Summary:ASTERISK-15749: SpeechBackground with multiple files does not interrupt speech when DTMF is received
Reporter:Andy Sackheim (asackheim)Labels:
Date Opened:2010-03-04 15:09:42.000-0600Date Closed:2010-05-19 15:05:06
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_speech_utils
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When invoking SpeechBackground with multiple files separated by &s, DTMF digits received do not interrupt the speech to the caller, but instead jump to the next prompt in the series and start playing it.

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

Reproduced in both asterisk-1.4.21.2 and asterisk-1.4.27.1.  (Bug tracker does not indicate this has been reported in any version using keyword "SpeechBackground.")

Simple fix:

Add:
quieted = 1;

at line 744 in app_speech_utils.c (asterisk-1.4.27.1).
Comments:By: Leif Madsen (lmadsen) 2010-03-08 09:21:57.000-0600

Thanks for the submission and suggested fix!

By: Digium Subversion (svnbot) 2010-05-19 15:01:38

Repository: asterisk
Revision: 264334

U   branches/1.4/apps/app_speech_utils.c

------------------------------------------------------------------------
r264334 | mnicholson | 2010-05-19 15:01:38 -0500 (Wed, 19 May 2010) | 5 lines

Set quieted flag when receiving a dtmf tone during playback in speechbackground.

(closes issue ASTERISK-15749)
Reported by: asackheim

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

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

By: Digium Subversion (svnbot) 2010-05-19 15:02:57

Repository: asterisk
Revision: 264335

_U  trunk/
U   trunk/apps/app_speech_utils.c

------------------------------------------------------------------------
r264335 | mnicholson | 2010-05-19 15:02:57 -0500 (Wed, 19 May 2010) | 12 lines

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

........
 r264334 | mnicholson | 2010-05-19 15:01:38 -0500 (Wed, 19 May 2010) | 5 lines
 
 Set quieted flag when receiving a dtmf tone during playback in speechbackground.
 
 (closes issue ASTERISK-15749)
 Reported by: asackheim
........

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

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

By: Digium Subversion (svnbot) 2010-05-19 15:05:06

Repository: asterisk
Revision: 264336

_U  branches/1.6.2/
U   branches/1.6.2/apps/app_speech_utils.c

------------------------------------------------------------------------
r264336 | mnicholson | 2010-05-19 15:05:05 -0500 (Wed, 19 May 2010) | 19 lines

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

................
 r264335 | mnicholson | 2010-05-19 15:02:57 -0500 (Wed, 19 May 2010) | 12 lines
 
 Merged revisions 264334 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r264334 | mnicholson | 2010-05-19 15:01:38 -0500 (Wed, 19 May 2010) | 5 lines
   
   Set quieted flag when receiving a dtmf tone during playback in speechbackground.
   
   (closes issue ASTERISK-15749)
   Reported by: asackheim
 ........
................

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

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