On Tue, 2007-04-24 at 08:21 -0600, Steve Murphy wrote:
> On Tue, 2007-04-24 at 00:56 -0500, Carlos Chavez wrote:
> > 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?
> > >

> 
> Taking things one at a time, I started with "dialplan save". Looking
> thru the source, in the load_module routine, I see...
> 
>       if (static_config && !write_protect_config)
>               ast_cli_register(&cli_dialplan_save);
> 
> So, if the static_config is false, or if write_protect_config is true,
> it won't register this command. Check your config file, extensions.conf,
> and see what you set those vars to...
> 
> The sample config says:
> 
> ; The "General" category is for certain variables.  
> ;
> [general]
> ;
> ; If static is set to no, or omitted, then the pbx_config will rewrite
> ; this file when extensions are modified.  Remember that all comments
> ; made in the file will be lost when that happens. 
> ;
> ; XXX Not yet implemented XXX
> ;
> static=yes
> ;
> ; if static=yes and writeprotect=no, you can save dialplan by
> ; CLI command 'save dialplan' too
> ;
> writeprotect=no
> ;
> 
> So, to get the behavior you are seeing, all you have to do is leave out
> the static=yes line
> 
        I have tried all the combinations and I still do not have the rest of
the dialplan commands.  But if it was a problem with the variables I
guess I would have the same problem on my other server as well.

-- 
Telecomunicaciones Abiertas de Mexico S.A. de C.V.
Carlos Chávez Prats
Director de Tecnología
+52-55-91169161 ext 2001

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to