Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8138323
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T11:27:22+00:00 2026-06-06T11:27:22+00:00

When I play a file using Playback command in Asterisk, it doesn’t stop playing

  • 0

When I play a file using Playback command in Asterisk, it doesn’t stop playing when a key is pressed on the phone. Is there a way to stop playing and go to the next command?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T11:27:24+00:00Added an answer on June 6, 2026 at 11:27 am

    Playback is not intended to read input from the user, but as a kind of tool for playing a welcome message (note that Playback will answer the channel if not answered). The manual for Playback does not say anything about reading input from the user. Furthermore, this voip-info page states:

    Playback will play the whole sound file(s), and when complete, return control. 
    

    So try using Read in your dialplan, like:

    Read(get,"mysound", 1)
    

    This will play the sound mysound, and read up to 1 digit from the user. More examples (and the complete syntax with its options) are available at the voip-info page for Read.

    Best!

    EDIT: In the example, the digit read will be save in the dialplan variable get.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Are there are any header files to be included to play audio file using
I'm using a VideoView to play a mp4 file in my application. Is there
I am trying to play a video file using JMF but it gives me
I am getting an error when trying to play a file in cakephp using
iam using AVFoundation Framework to play mp3 file ,everything works great ، i have
I need to play Music Library files using file URL, that I will set
how can i play a song file bundled with the application using MPMusicPlayerController ?
I have a .wav music file. When I tried to play using SoundEffect.Play(); mus1.Play();
I use AVAudioPlayer to play music file. It just works well when playing via
When using NAudio to playback an MP3 file [in the console], I can't figure

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.