Comments
The dialplan is truly the heart of any Asterisk system, as it defines how Asterisk handles
inbound and outbound calls. In a nutshell, it consists of a list of instructions or steps
that Asterisk will follow. Unlike traditional phone systems, Asterisk’s dialplan is fully
customizable. To successfully set up your own Asterisk system, you will need to un-
derstand the dialplan.
If you have attempted to read some sample dialplans and found them overwhelming,
or if you’ve tried to write an Asterisk dialplan and had no success, help is at hand. This
chapter explains how dialplans work in a step-by-step manner and teaches the skills
necessary to create your own. The examples have been designed to build upon one
another, so feel free to go back and reread a section if something doesn’t quite make
sense.
Posted by sagitraz
You can use context id and if not context id then lets say calling person is supposed to be send
far end context with the extension of caller id. If there is not extension programmed the user should here a message and asterisk should hang-up. If calleridnum exists in plan users go there if not go somewhere else.
Posted by willie_jameson