This post is regarding Asterisk 1.8.11.0

When logged into the Asterisk CLI, you can send ‘test’ calls via the following command:

console dial <extension>@<context>

The following example would place a test call to extension ‘555’, found in the context ‘zorkfan’:

console dial 555@zorkfan

Failure to use the ‘@<context>’ portion of the command will result in Asterisk looking for the extension in the context ‘default’. If you don’t use the context ‘default’, then you’ll see the following error displayed:

No such extension ‘<extension>’ in context ‘default’

Finally, failure to use the ‘console’ portion of the command will result in the Asterisk CLI displaying the following error:

No such command “dial ‘<extension’@'<context>'”

As always, feel free to shoot me any questions you may have regarding Asterisk PBX!