1.4.43 Lost Part Of Dialplan

Home » Asterisk Users » 1.4.43 Lost Part Of Dialplan
Asterisk Users 8 Comments

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

8 thoughts on - 1.4.43 Lost Part Of Dialplan

  • 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

  • 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.

  • It may not be extensions.conf per se. It could be extensions-custom.conf or any other file included in extensions.conf. Also, Asterisk generates some of its’ own “custom context” entries, so you might look into that as well. Also check extensions.ael.

    From: asterisk-users-bounces@lists.digium.com
    [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Jerry Geis Sent: Thursday, September 20, 2012 12:06 PM
    To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: Re: [asterisk-users] 1.4.43 lost part of dialplan

    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.

  • Danny

    THanks, actually all of my modifcations were to the extensions.conf file itself. It seems like those are the ones that got “lost” .

    THis just keeps getting more weird,

    Jerry

  • Any chance you’re running something like FOP that is updating your dialplan from a database?

    The ‘stat’ command may give you a clue.

    Bumping up your ‘compare’ frequency to every 5 minutes and looking at your syslog for the relevant time period when a change is detected may also yield clues.

    Judging from 7+ years lurking on this list and never seeing anything like this, it’s something weird about your install.