Although a typical telephone can’t dial an extension called “john” (some can though), often your Dialplan logic will involve jumping from one extension to a different extension, and for those jumps you may define exension names with any nameĭial plan Patterns in Asterisk, Dial plan Patterns in Asterisk. They can be alphanumeric names like “john” or “A93*”. Dialplan extensions can be simple numbers like “412” or “0”. Pattern Matching - Asterisk Project, Pattern matching allows us to create extension patterns in our dialplan that match more than one possible dialed number.
If no argument is provided, then a list of key families will be returned. Finally, the DB_KEYS will return a comma-separated list of keys existing at the prefix specified within the Asterisk database. It provides basic capabilities of IVR, inbound and DB_RESULT will be set to the key's value if it exists. Compare Rates From Leading Providers.Īsterisk dialplan sample - quick office dialplan, This sample dialplan shows how a simple small to a medium company may have implement Asterisk dialplan. The example dial plan, in the configs/samples/nf.sample file is installed as nf if you run "make Asterisk Services For Your Business.
Dialplan - Asterisk Project, Example dialplan.