adventures of a VoIP / SIP / IMS trainer & contractor|info@rzfeeser.com

PBX

A basic Asterisk v1.8 sip.conf configuration

One of the many goals I set for the students attending my Session Initiation Protocol class, is to leave them with an ability to maintain their own home Asterisk SIP PBX. After all, if you don’t exercise a muscle, it will atrophy; your SIP muscle is no different. It is only by rolling up your shirt sleeves, and diving into the fray, that you can really begin fully understand SIP (and those protocols it is accompanied by… SDP, RTP, DNS, etc).

So, my hope is that this post can take some of the mystery and apprehension out of the initial […]

  • Permalink Gallery

    Asterisk 1.8 – dial CLI command – No such extension ‘401’ in context ‘default’

Asterisk 1.8 – dial CLI command – No such extension ‘401’ in context ‘default’

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 […]