Conflict between Asterisk 1.8.17 and format_mp3


If i load the module “format_mp3” before or after launched asterisk my asterisk crashed !
and i got that message :

asterisk -rvvv

Asterisk, Copyright © 1999 - 2012 Digium, Inc. and others.
Created by Mark Spencer
Asterisk comes with ABSOLUTELY NO WARRANTY; type ‘core show warranty’ for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type ‘core show license’ for details.

== Parsing ‘/etc/asterisk/asterisk.conf’: == Found
== Parsing ‘/etc/asterisk/extconfig.conf’: == Found
Unable to connect to remote asterisk (does /var/run/asterisk/asterisk.ctl exist?)

How can i fix that bug ?
or how can i reinstall correctly that addon to play mp3

Best regards


It is unlikely to be a bug, but if it is, and you don’t have programming skills, you submit a bug report and wait for it to be fixed. For mp3 support, given that mp3 far exceeds the capabilities of phone systems, that will probably take a long time.

The normal reason for a crash at that stage is that you are loading a module that wasn’t compiled at the same time as the rest of the code (more precisely it belongs to a different version or configuration of the code).

I think you’re right about version of asterisk and format_mp3
But how can i fix it ? I can programme it but how ?

Thank you very much for your fast reply

Run it under gdb and find out why it is crashing. If you go that way, you want to be on the developer mailing list, not here.

Is format_mp3 installed with the same version from asterisk or is it from an earlier version? I had the same problem after an upgrade.
You can try reinstalling with


i got that message : line 12: svn: command not found

here my

#!/bin/sh -e

if [ -f addons/mp3/mpg123.h ]; then
echo "***"
echo "The MP3 source code appears to already be present and does not"
echo "need to be downloaded."
echo “***”

exit 1


svn export addons/mp3 $@

exit 0

the problem is on this line : svn export addons/mp3 $@

You should have subversion installed

Unfortunately not,
I have only that on my server…

if you are using a debian based system install subversion first
apt-get install subversion
then run the script again.