Almost once a day now, our IP-PBX will spontaneously crash and restart all Asterisk services. We have seen some “corrputed mp3 errors” at times, but other times (like today) there does not appear to be anything in the logs to explain why Asterisk “restarted itself”. I am not talking about the server rebooting, just Asterisk (more or less like an amportal restart).
I am not sure which information to provide beyond the software versions:
Elastix does not distribute a legitimate and supported by FreePBX version of FreePBX as they forked it up a couple of years ago, they also offer a pre-compiled verison of asterisk in a RPM, there is nothing anyone here can do to help you, sorry you are totally at the mercy of Elastix now, think about migrating to the FreePBX distro, It is working, up to date and with great support here.
I completely understand what you said, but we never use the embedded version. We only use the unembedded FreePBX and the modules are updated as normal via the FreePBX interface. Since the problem has been related to corrupted mp3 files (uploaded via FreePBX), that’s why I am posting here… Nevertheless, I will post to Elastix’s forums as well.
I’ve seen this happen before. You’ll have to identify the corrupted files and remove them.
Determine the crash time and then look at the FULL log at that time. You’ll see what it was trying to play.
You’ll also probably have a core dump file. Use gdb to take a look at it. you may find some clues there.
The “unembedded” version is still based on a legacy Elastix fork-up, look to your over-rides in /etc/asterisk, but that is besides the point, your problem is asterisk is failing and restarting, and unless you compiled asterisk from source, you are using Elastix’ considered version, presumably to match their concept of how FreePBX should work, if this is failing, then how can anyone but Elastix help you?. I hope you understand the catch-22 you are in here.
One other point for clarification, FreePBX doesn’t distribute any audio files, they come from Digium.