So yesterday evening I had a system downtime. After the system went up again I checked the asterisk and it was running. However till now I did not notice that ALL the config files were restored to their default ones.
After opening CLI I saw a lot of WRONG PASSWORD errors. Because I keep sip accoounts in LDAP I check if my slapd was running it was.
After checking the sip.conf I noticed that it was restored to the deault.
I restored an old sip.conf with all accounts still defined in it.
I tried making a local call but a EXTENSION NOT FOUND error appeard. After having a look at the extensions.conf I saw it was all back to it’s default. Good Luck I had a, though old, backup.
Please tell my why asterisk went to reset all the config files.
Notice that it was not clean shutdown that lead to the downtime but a hard power cut. Still though this is not supposed to happen.