Chapter 6. More Dialplan Concepts

Table of Contents

Expressions and Variable Manipulation
Basic Expressions
Operators
Dialplan Functions
Syntax
Examples of Dialplan Functions
Conditional Branching
The GotoIf() Application
Time-Based Conditional Branching with GotoIfTime()
Voicemail
Creating Mailboxes
Adding Voicemail to the Dialplan
Accessing Voicemail
Creating a Dial-by-Name Directory
Macros
Defining Macros
Calling Macros from the Dialplan
Using Arguments in Macros
Using the Asterisk Database (AstDB)
Storing Data in the AstDB
Retrieving Data from the AstDB
Deleting Data from the AstDB
Using the AstDB in the Dialplan
Handy Asterisk Features
Zapateller()
Call Parking
Conferencing with MeetMe()
Conclusion

For a list of all the ways technology has failed to improve the quality of life, please press three.

--Alice Kahn

Alrighty. You’ve got the basics of dialplans down, but you know there’s more to come. If you don’t have the last chapter sorted out yet, please go back and give it another read. We’re about to get into more advanced topics.