<div dir="ltr"><div><br>i don't think's that it's the same problems, because me format_mp3.so is loaded:<br><br><br>[root@ipbx Conf-Extensions]# asterisk -rx 'core show file formats'<br>Format Name Extensions<br>
------ ---- ----------<br>slin mp3 mp3<br>gsm gsm gsm<br>slin192 sln192 sln192<br>slin96 sln96 sln96<br>slin48 sln48 sln48<br>slin44 sln44 sln44<br>slin32 sln32 sln32<br>
slin24 sln24 sln24<br>slin16 sln16 sln16<br>slin12 sln12 sln12<br>slin sln sln|raw<br>ilbc iLBC ilbc<br>g723 g723sf g723|g723sf<br>slin16 wav16 wav16<br>
slin wav wav<br>siren14 siren14 siren14<br>g719 g719 g719<br>h264 h264 h264<br>g726 g726-16 g726-16<br>g726 g726-24 g726-24<br>g726 g726-32 g726-32<br>
g726 g726-40 g726-40<br>g729 g729 g729<br>siren7 siren7 siren7<br>gsm wav49 WAV|wav49<br>g722 g722 g722<br>ulaw au au<br>alaw alaw alaw|al|alw<br>
ulaw pcm pcm|ulaw|ul|mu|ulw<br>adpcm vox vox<br>h263 h263 h263<br>31 file formats registered.<br><br><br></div>i see the mp3 file format<br><br><br><div><br><div class="gmail_extra"><br>
<br><div class="gmail_quote">2013/6/17 Thorsten Göllner <span dir="ltr"><<a href="mailto:tg@ovm-group.com" target="_blank">tg@ovm-group.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Take a look here:<br>
<a href="http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/" target="_blank">http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/</a><br>
<br>
<div>Am 16.06.2013 09:43, schrieb Olivier
CALVANO:<br>
</div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div><br>
<br>
</div>
Hi<br>
<br>
we have a small problems.<br>
<br>
</div>
We have a Asterisk 1.6.1 old server with music on old.<br>
<br>
</div>
we have updated to AsteriskNow 11.4.0<br>
<br>
and now, when we want play sound, we have a errors:<br>
<br>
-- Executing [334xx@Accueil_HNO:2]
BackGround("SIP/SIP000005-0000000c", "Fermeture") in new
stack<br>
[Jun 16 07:35:06] WARNING[7634][C-00000006]: file.c:701
ast_openstream_full: File Fermeture does not exist in any
format<br>
[Jun 16 07:35:06] WARNING[7634][C-00000006]: file.c:1017
ast_streamfile: Unable to open Fermeture (format (alaw)): No
such file or directory<br>
[Jun 16 07:35:06] WARNING[7634][C-00000006]: pbx.c:11180
pbx_builtin_background: ast_streamfile failed on
SIP/SIP000005-0000000c for Fermeture<br>
-- Executing [334xx@Accueil_Phibee_HNO:4]
Hangup("SIP/SIP000005-0000000c", "") in new stack<br>
== Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero
on 'SIP/SIP000005-0000000c'<br>
<br>
<br>
</div>
I understand that he search the file in .ulaw, but why i don't
use the mp3 ?<br>
<br>
<br>
</div>
musiconhold.conf<br>
<br>
[default]<br>
mode=quietmp3<br>
directory=/var/lib/asterisk/moh<br>
<br>
[Horaires]<br>
mode=quietmp3<br>
directory=/var/lib/asterisk/moh/Horaires<br>
<br>
<div>
<div><br>
<br>
</div>
<div>ps fax:<br>
7555 pts/0 S 0:00 /bin/sh /usr/sbin/safe_asterisk
-U asterisk -G asterisk<br>
7558 pts/0 Sl 0:06 \_ /usr/sbin/asterisk -f -U
asterisk -G asterisk -vvvg -c<br>
7578 pts/0 S 0:00 \_ mpg123 -q -s --mono -r
8000 -b 2048 -f 8192 Fermeture.mp3<br>
7580 pts/0 S 0:00 | \_ mpg123 -q -s --mono
-r 8000 -b 2048 -f 8192 Fermeture.mp3<br>
<br>
<br>
</div>
<div>find /var/lib/asterisk/moh/<br>
<br>
/var/lib/asterisk/moh/Horaires/Fermeture.mp3<br>
<br>
ll<br>
-rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010
/var/lib/asterisk/moh/Horaires/Fermeture.mp3<br>
</div>
</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br></div></div></div>