Is there anyway to unset the extensions.conf definition of writeprotect=yes while in the CLI interface (or by other mechanism) to enable the dialplan save command? I accidentally overwrote my extensions.conf but still have a running copy of asterisk with the old dial plan running in memory. while it would not be difficult for me to rebuild what I lost - it would be easier if I could just save it from the running copy. I will definitely set the writeprotect option to no in the future. Feedback Appreciated, -- ------------------------------------------- John C. Wolosuk Jr. Unix/Linux Systems Administrator Academic Computing & Communications Center University of Illinois @ Chicago E-Mail: jwolosuk at uic dot edu -------------------------------------------
John C. Wolosuk Jr. wrote:> Is there anyway to unset the extensions.conf definition of > writeprotect=yes while in the CLI interface (or by other mechanism) to > enable the dialplan save command? I accidentally overwrote my > extensions.conf but still have a running copy of asterisk with the old > dial plan running in memory.show dialplan might be your friend but the output is not an "executable" dialplan. Regards, Philipp -- amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de Let's use IT to solve problems and not to create new ones. Asterisk? -> http://www.das-asterisk-buch.de Gesch?ftsf?hrer: Stefan Wintermeyer Handelsregister: Neuwied B 14998
Philipp Kempgen wrote:> John C. Wolosuk Jr. wrote: > > >> Is there anyway to unset the extensions.conf definition of >> writeprotect=yes while in the CLI interface (or by other mechanism) to >> enable the dialplan save command? I accidentally overwrote my >> extensions.conf but still have a running copy of asterisk with the old >> dial plan running in memory. >> > > show dialplan > might be your friend but the output is not an "executable" dialplan. > > Regards, > Philipp > >A Ciscoesque show command, show running-configuration would be pretty cool.