[asterisk-users] Missing "dialplan" commands in Asterisk 1.4.2 CLI

Tzafrir Cohen tzafrir.cohen at xorcom.com
Mon Apr 23 22:47:28 MST 2007


On Mon, Apr 23, 2007 at 05:17:55PM -0500, Eric ManxPower Wieling wrote:
> Carlos Chavez wrote:
> >	I installed Asterisk 1.4.2 on a CentOS 4.4 machine.  Everything works
> >but I noticed that I am missing most of the dialplan CLI commands:
> >
> >pbxskandiamty2*CLI> help dialplan
> >            dialplan show  Show dialplan
> >pbxskandiamty2*CLI> 
> >
> >	On another machine I have in my office (running FC4) there are a lot
> >more dialplan commands:
> >
> >pbxoficina*CLI> help dialplan
> >   dialplan add extension  Add new extension into context
> >   dialplan add ignorepat  Add new ignore pattern
> >     dialplan add include  Include context in other context
> >          dialplan reload  Reload extensions and *only* extensions
> >dialplan remove extension  Remove a specified extension
> >dialplan remove ignorepat  Remove ignore pattern from context
> >  dialplan remove include  Remove a specified include from context
> >            dialplan save  Save dialplan
> >            dialplan show  Show dialplan
> >pbxoficina*CLI> 
> >
> >	Why would those commands be missing?  Is there a library that CentOS
> >4.4 does not have that gives this functionality.  Obviously I need at
> >least the "dialplan reload" command.
> 
> perhaps you have writeprotect=yes in extensions.conf

Or maybe it is the default and it is an implicit value?

But even then you should be able to change the dialplan at runtime.
Just not writng it back to the file.

The "dialplan" commands are implemented in pbx_config.so . Are you sure 
that this module is loaded?

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list