Has anyone ever run across where asterisk "looses" part of a diaplan??? I has this happen a couple times, so I put script in place at 2AM that dumps the dial plan and compares it to the previous day or a know good one. This ran fine for quite a while (multiple weeks, forget when I started this). Anyway this morning I got an email that the two files had differences. I logged in and sure enough they did. In that case I them stop asterisk and restart. The thing I did not grab before restarting was the asterisk messages file. I am getting that for next time. So sure enough the dial plan was different and a couple of the contexts that I need were missing. Anyone ran into this? Any thoughts on how I can narrow it down or what steps to take? Actually I restart asterisk every day at 2AM. So something happens in a 24hour window. It doesnt even look like a made many calls that day. Perhaps 10. Thanks Jerry
>> Has anyone ever run across where asterisk "looses" part of a diaplan???I've been running Asterisk since pre 1.0 days and to date, I've never had this happen. My guess is you have some type of outside process modifying your dialplan? Either way, I have a BackupPC install that does nightly backups of my important configs, along with voicemail. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
On Thursday 20 September 2012, Jerry Geis wrote:> Has anyone ever run across where asterisk "looses" part of a diaplan??? > > I has this happen a couple times, so I put script in place at 2AM that > dumps the dial plan and compares it to the previous day or a know good > one. This ran fine for quite a while (multiple weeks, forget when I > started this). > [ stuff deleted ] > Any thoughts on how I can narrow it down or what steps to take?Unless you have configured your file systems not to, there will be a modification time on the extensions.conf. That might give you a clue as to *when* it got altered. -- AJS Answers come *after* questions.
> Unless you have configured your file systems not to, there will be a modification > time on the extensions.conf. That might give you a clue as to *when* it got > altered. > > -- > AJS >The date is Aug 2 2012. So the "file" is not changing. Anything else? Jerry -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120920/41ddcd98/attachment.htm>