[Home]

Summary:ASTERISK-04510: Add option to Playback() to allow user to skip the message with any DTMF
Reporter:Jim Gottlieb (tokyojimu)Labels:
Date Opened:2005-07-01 19:28:19Date Closed:2011-06-07 14:10:20
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/NewFeature
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Right now, Playback() plays a prompt and it is not interruptible.  This is good for prompts that you want to make sure the user hears.  But for generic "Welcome..." or "Your call may be monitored...", I want to let the user skip it by hitting any DTMF key.

Maybe an option 'intr' to make in interruptible.

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

I realize that this could be emulated with a Background() and an extension list that moves on to the next prompt, but this seems like overkill for a simple message skip.

ControlPlayback() comes close but doesn't seem to really allow this.
Comments:By: Michael Jerris (mikej) 2005-07-03 10:58:01

You are making a feature request for a feature that is already there.  I have a patch already in the bugtrracker 4511 that adds additional functionality for exiting out of background.  Use background that is what it is there for, it's not overkill.  If you would like to modify the behavior of background to just break and go to next priority, contact me.