Press a key anytime during the call

How do I set up the dialplan so that the caller can press a key (for example #) at anytime and when the key is pressed it will interupt the session and go to another extension?


If you’re playing back prompts, then you’ll want to use the Background application instead of the Playback application.

For other applications, many provide configuration options that allow someone to press a single DTMF key to be taken to that extension in the current context.


Can you give me a simple dialplan example? I’m using the Swift text to speech as my prompts.

Are you using app_swift?

The docs for that indicate you need to set goto_exten=yes in the swift configuration file.