Dialplan

The core call-routing configuration of Asterisk, written mostly in extensions.conf as contexts, extensions, and priorities that decide how every call is handled.

The dialplan is the heart of Asterisk call routing. Defined primarily in extensions.conf (or generated via AEL/Lua), it consists of contexts, extensions, and priorities that describe exactly what happens when a call arrives: which applications run, in what order, and where the call goes next.

Each step in the dialplan invokes a dialplan application (such as Dial, Playback, or Hangup) and can read and set channel variables and call functions to control behavior.

See the Reference section for application and function documentation, and the Snippets section for ready-to-use dialplan examples.