A reusable subroutine that handles every DIALSTATUS value after outbound Dial(), using Q.850 HANGUPCAUSE codes to distinguish bad numbers from trunk f...
Set up a call queue with timeout-based failover to voicemail or another destination. Covers agent membership, queue options in queues.conf, and DIALST...
Ring external cell phones through Local channels while preserving the original inbound DID as caller ID. Covers the Local channel pattern for follow-m...
Use Progress() to send early media (183 Session Progress) to the caller -- play audio before formally answering the call, useful for custom ringback t...
A centralized Gosub subroutine that handles DND, call forward, follow-me, and DIALSTATUS routing for any extension. Eliminates duplicating call-handli...
Configure and verify Asterisk voicemail email delivery, attachment formats, sendmail-compatible transport, retention, and delete-after-email behavior.
Let users record custom IVR prompts and greetings over the phone using the Record() application, with automatic playback for review.
Star code feature toggles stored in AstDB -- Do Not Disturb, Call Forwarding, and Follow Me, all controllable from the phone dial pad.
Enable one-touch call recording via DTMF during active calls -- configure automixmon in features.conf and enable it in Dial() options.
Ad-hoc conference rooms with ConfBridge -- users dial a feature code, enter a room number, and are bridged together. Includes bridge and user profiles...
Define custom DTMF-triggered features during active calls using features.conf -- configure blind/attended transfers, call parking, and create your own...
Pick up ringing calls by group using *8 or by targeting a specific extension with **XXXX. Configures named_call_group and named_pickup_group on PJSIP ...
The timeouts that can be manipulated are: absolute: The absolute maximum amount of time permitted for a call. Setting of 0 disables the timeout.
Will read from or write a value to the Asterisk database. On a read, this function returns the corresponding value from the database, or blank if it d...
Gets/sets various pieces of information about the channel, additional item may be available from the channel driver; see its documentation for details...
Will retrieve a value from the Asterisk database and then remove that key from the database. DBRESULT will be set to the key's value if it exists.
Pause the dialplan and wait for the caller to dial an extension. Used in IVR menus, auto attendants, and anywhere you need DTMF input to drive call ro...
Allows the calling party to leave a message for the specified list of mailboxes. When multiple mailboxes are specified, the greeting will be taken fro...
Allows the calling party to check voicemail messages. A specific mailbox, and optional corresponding context, may be specified.
Execute a system command.
Will play the sounds that correspond to the digits of the given number. This will use the language that is currently set for the channel.
Jumps to the last label on the stack, removing it. The return value, if any, is saved in the channel variable GOSUB_RETVAL.
Prompts the caller to enter DTMF digits into a dialplan variable. Supports configurable timeout, maximum digit count, and retry attempts.
If filename contains '%d', these characters will be replaced with a number incremented by one each time the file is recorded.
In addition to transferring the call, a call may be parked and then picked up by another user. Asterisk dialplan application reference.
Plays back given filenames (do not put extension of wav/alaw etc). The Playback application answers the channel if no options are specified.
Park yourself.
Directed extension call pickup.
Does nothing. However, it is useful for debugging purposes. This method can be used to see the evaluations of variables or functions without having an...