Carlos Chavez
2007-Apr-23 13:47 UTC
[asterisk-users] Missing "dialplan" commands in Asterisk 1.4.2 CLI
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. -- Telecomunicaciones Abiertas de Mexico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070423/bd2ef6d9/attachment.pgp
Eric "ManxPower" Wieling
2007-Apr-23 15:18 UTC
[asterisk-users] Missing "dialplan" commands in Asterisk 1.4.2 CLI
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
Carlos Chavez
2007-Apr-23 17:13 UTC
[asterisk-users] Missing "dialplan" commands in Asterisk 1.4.2 CLI
On Mon, 2007-04-23 at 17:17 -0500, Eric "ManxPower" Wieling wrote:> > perhaps you have writeprotect=yes in extensions.confNo, both machines have exactly the same dialplan. I am using Realtime Static to load the dialplan. Basically the only difference between machines is the Linux distribution. -- Telecomunicaciones Abiertas de Mexico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20070423/25a7c180/attachment.pgp
Tzafrir Cohen
2007-Apr-23 22:47 UTC
[asterisk-users] Missing "dialplan" commands in Asterisk 1.4.2 CLI
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.confOr 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@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Carlos Chavez
2007-Apr-23 22:56 UTC
[asterisk-users] Missing "dialplan" commands in Asterisk 1.4.2 CLI
Tzafrir Cohen wrote:> > > 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? > >pbxskandiamty2*CLI> module show like pbx Module Description Use Count pbx_loopback.so Loopback Switch 0 pbx_config.so Text Extension Configuration 0 pbx_spool.so Outgoing Spool Support 0 pbx_realtime.so Realtime Switch 0 pbx_dundi.so Distributed Universal Number Discovery ( 0 It is loaded. Both servers have the same modules and all say that use count is zero.