I accidently deleted the extensions.conf file using the RM command, I have not reloaded it since so the file must be running still in memory. How can i restore this file without disrupting service?
Thanks
I accidently deleted the extensions.conf file using the RM command, I have not reloaded it since so the file must be running still in memory. How can i restore this file without disrupting service?
Thanks
You can execute a rasterisk -x âdialplan showâ > /tmp/extensions.conf, but unfortunately the result cannot be directly parsed by Asterisk.
You can then try and use that to rebuild your extensions.
There is the âdialplan saveâ command but it doesnât give you the arguments to commands when run.
just an aside If for some reason you reload the Asterisk configuration after rm command, there is no way to recover the information with the
Also you can use the command: dialplan save if its not reloaded.
I said you could Try and use it to rebuild your extensions.conf from that output , I didnât say itâd do it for you