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

  • SEARCH
  • Home
  • 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 8669095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T18:23:08+00:00 2026-06-12T18:23:08+00:00

I have an example asterisk dial plan below.It just the main (no extension or

  • 0

I have an example asterisk dial plan below.It just the main (no extension or start) and it has 3 priorities.In the first priority of our extension, we’ll answer the call. In the second, we’ll play a sound file named hello-world.gsm, and in the third we’ll hang up the call

One example on the web seem to suggest the below format

[incoming]
exten => s,1,Answer()
exten => s,n,Playback(hello-world)
exten => s,n,Hangup()

instead of

[incoming]
exten => s,1,Answer()
exten => s,2,Playback(hello-world)
exten => s,3,Hangup()

why is that? what exactly is a priority ? and what does ‘n’ signify

  • 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-12T18:23:09+00:00Added an answer on June 12, 2026 at 6:23 pm

    Asterisk executes each priority in numerical order,
    and like in BASIC, you can jump to those Priorities with Goto.

    Since Asterisk 1.2 you have the ability to use the n priority.

    The n priority adds 1 to the previous Prioritiy.

    That makes you more flexible, you could add a Line, without the need to care about the Priorities.

    Another Benefit of the n priority is that you can use the n Priority with optional Labels and jump to that Label, instead of messing arround with the priorities Counter.

    [incoming]
    exten => s,1,Answer()
    exten => s,n(Start),Background(hello-world)
    exten => s,n,Goto(Start)
    exten => s,n,Hangup()
    

    See GotoIf for more examples.

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

Sidebar

Related Questions

I have an example json as below: { Passwd:String content, Userme:String content } how
I have just coded the below regular expression. I have a mini rich text
I have example.org and foo.example.org pointing to the same directory, /var/www/html/ , and want
Anyone have example Rx code that shows how to execute an action due to
I have example: for line in IN.readlines(): line = line.rstrip('\n') mas = line.split('\t') row
If I have example.com/dir and dir is basically a folder in the example.com server,
The issue Let's say that I have example.com, example.org and example.net. All of these
I have this example FactoryGirl.define do @site = FactoryGirl.create(:my_site) factory :user do email {
I have an example string as follows $string = ' http://image.gsfc.nasa.gov/image/image_launch_a5.jpg http://pierre.chachatelier.fr/programmation/images/mozodojo-original-image.jpg http://image.gsfc.nasa.gov/image/image_launch_a5.jpg Alot
I have an example involving a pointer to a 2D array. Can someone help

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.