Re: [asterisk-users] MOH don't work after update
Take a look here: http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/ Am 16.06.2013 09:43, schrieb Olivier CALVANO: Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx@Accueil_HNO:2] BackGround(SIP/SIP05-000c, Fermeture) in new stack [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:701 ast_openstream_full: File Fermeture does not exist in any format [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:1017 ast_streamfile: Unable to open Fermeture (format (alaw)): No such file or directory [Jun 16 07:35:06] WARNING[7634][C-0006]: pbx.c:11180 pbx_builtin_background: ast_streamfile failed on SIP/SIP05-000c for Fermeture -- Executing [334xx@Accueil_Phibee_HNO:4] Hangup(SIP/SIP05-000c, ) in new stack == Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero on 'SIP/SIP05-000c' I understand that he search the file in .ulaw, but why i don't use the mp3 ? musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/moh [Horaires] mode=quietmp3 directory=/var/lib/asterisk/moh/Horaires ps fax: 7555 pts/0S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk 7558 pts/0Sl 0:06 \_ /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c 7578 pts/0S 0:00 \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 7580 pts/0S 0:00 | \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 find /var/lib/asterisk/moh/ /var/lib/asterisk/moh/Horaires/Fermeture.mp3 ll -rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010 /var/lib/asterisk/moh/Horaires/Fermeture.mp3 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MOH don't work after update
i don't think's that it's the same problems, because me format_mp3.so is loaded: [root@ipbx Conf-Extensions]# asterisk -rx 'core show file formats' Format Name Extensions -- -- slin mp3mp3 gsmgsmgsm slin192sln192 sln192 slin96 sln96 sln96 slin48 sln48 sln48 slin44 sln44 sln44 slin32 sln32 sln32 slin24 sln24 sln24 slin16 sln16 sln16 slin12 sln12 sln12 slin slnsln|raw ilbc iLBC ilbc g723 g723sf g723|g723sf slin16 wav16 wav16 slin wavwav siren14siren14siren14 g719 g719 g719 h264 h264 h264 g726 g726-16g726-16 g726 g726-24g726-24 g726 g726-32g726-32 g726 g726-40g726-40 g729 g729 g729 siren7 siren7 siren7 gsmwav49 WAV|wav49 g722 g722 g722 ulaw au au alaw alaw alaw|al|alw ulaw pcmpcm|ulaw|ul|mu|ulw adpcm voxvox h263 h263 h263 31 file formats registered. i see the mp3 file format 2013/6/17 Thorsten Göllner t...@ovm-group.com Take a look here: http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/ Am 16.06.2013 09:43, schrieb Olivier CALVANO: Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx@Accueil_HNO:2] BackGround(SIP/SIP05-000c, Fermeture) in new stack [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:701 ast_openstream_full: File Fermeture does not exist in any format [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:1017 ast_streamfile: Unable to open Fermeture (format (alaw)): No such file or directory [Jun 16 07:35:06] WARNING[7634][C-0006]: pbx.c:11180 pbx_builtin_background: ast_streamfile failed on SIP/SIP05-000c for Fermeture -- Executing [334xx@Accueil_Phibee_HNO:4] Hangup(SIP/SIP05-000c, ) in new stack == Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero on 'SIP/SIP05-000c' I understand that he search the file in .ulaw, but why i don't use the mp3 ? musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/moh [Horaires] mode=quietmp3 directory=/var/lib/asterisk/moh/Horaires ps fax: 7555 pts/0S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk 7558 pts/0Sl 0:06 \_ /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c 7578 pts/0S 0:00 \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 7580 pts/0S 0:00 | \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 find /var/lib/asterisk/moh/ /var/lib/asterisk/moh/Horaires/Fermeture.mp3 ll -rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010 /var/lib/asterisk/moh/Horaires/Fermeture.mp3 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MOH don't work after update
If I read your log entries correctly, you are not playing any MOH at all. BackGround() normally plays sound files from the language dependent sound directory. jg -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MOH don't work after update
Is the subdir Horaires readable/executable for User Asterisk/Asterisk? Did you try to convert it to wav? Am 17.06.2013 09:47, schrieb Thorsten Göllner: Take a look here: http://blog.our-files.com/2012/07/format_mp3-so-building-for-asterisk-1-8-11-using-packages-asterisk-org/ Am 16.06.2013 09:43, schrieb Olivier CALVANO: Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx@Accueil_HNO:2] BackGround(SIP/SIP05-000c, Fermeture) in new stack [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:701 ast_openstream_full: File Fermeture does not exist in any format [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:1017 ast_streamfile: Unable to open Fermeture (format (alaw)): No such file or directory [Jun 16 07:35:06] WARNING[7634][C-0006]: pbx.c:11180 pbx_builtin_background: ast_streamfile failed on SIP/SIP05-000c for Fermeture -- Executing [334xx@Accueil_Phibee_HNO:4] Hangup(SIP/SIP05-000c, ) in new stack == Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero on 'SIP/SIP05-000c' I understand that he search the file in .ulaw, but why i don't use the mp3 ? musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/moh [Horaires] mode=quietmp3 directory=/var/lib/asterisk/moh/Horaires ps fax: 7555 pts/0S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk 7558 pts/0Sl 0:06 \_ /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c 7578 pts/0S 0:00 \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 7580 pts/0S 0:00 | \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 find /var/lib/asterisk/moh/ /var/lib/asterisk/moh/Horaires/Fermeture.mp3 ll -rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010 /var/lib/asterisk/moh/Horaires/Fermeture.mp3 -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] MOH don't work after update
Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx@Accueil_HNO:2] BackGround(SIP/SIP05-000c, Fermeture) in new stack [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:701 ast_openstream_full: File Fermeture does not exist in any format [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:1017 ast_streamfile: Unable to open Fermeture (format (alaw)): No such file or directory [Jun 16 07:35:06] WARNING[7634][C-0006]: pbx.c:11180 pbx_builtin_background: ast_streamfile failed on SIP/SIP05-000c for Fermeture -- Executing [334xx@Accueil_Phibee_HNO:4] Hangup(SIP/SIP05-000c, ) in new stack == Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero on 'SIP/SIP05-000c' I understand that he search the file in .ulaw, but why i don't use the mp3 ? musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/moh [Horaires] mode=quietmp3 directory=/var/lib/asterisk/moh/Horaires ps fax: 7555 pts/0S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk 7558 pts/0Sl 0:06 \_ /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c 7578 pts/0S 0:00 \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 7580 pts/0S 0:00 | \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 find /var/lib/asterisk/moh/ /var/lib/asterisk/moh/Horaires/Fermeture.mp3 ll -rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010 /var/lib/asterisk/moh/Horaires/Fermeture.mp3 thanks for your help Olivier -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MOH don't work after update
On Sun, Jun 16, 2013 at 2:43 AM, Olivier CALVANO o.calv...@gmail.comwrote: Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx@Accueil_HNO:2] BackGround(SIP/SIP05-000c, Fermeture) in new stack [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:701 ast_openstream_full: File Fermeture does not exist in any format [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:1017 ast_streamfile: Unable to open Fermeture (format (alaw)): No such file or directory [Jun 16 07:35:06] WARNING[7634][C-0006]: pbx.c:11180 pbx_builtin_background: ast_streamfile failed on SIP/SIP05-000c for Fermeture -- Executing [334xx@Accueil_Phibee_HNO:4] Hangup(SIP/SIP05-000c, ) in new stack == Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero on 'SIP/SIP05-000c' I understand that he search the file in .ulaw, but why i don't use the mp3 ? musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/moh [Horaires] mode=quietmp3 directory=/var/lib/asterisk/moh/Horaires ps fax: 7555 pts/0S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk 7558 pts/0Sl 0:06 \_ /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c 7578 pts/0S 0:00 \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 7580 pts/0S 0:00 | \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 find /var/lib/asterisk/moh/ /var/lib/asterisk/moh/Horaires/Fermeture.mp3 ll -rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010 /var/lib/asterisk/moh/Horaires/Fermeture.mp3 Do you have the format_mp3 module loaded? Add-on modules are in the addons subdirectory. Typically, these modules are not built and installed by default, and have to be enabled in menuselect. Matt -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] MOH don't work after update
i use the package centos, i can't use menuselect no ? but i think's that is loaded: ipbx*CLI module load format_mp3.so Unable to load module format_mp3.so Command 'module load format_mp3.so' failed. [Jun 17 04:56:42] WARNING[8910]: loader.c:892 load_resource: Module 'format_mp3.so' already exists. ipbx*CLI 2013/6/16 Matthew Jordan mjor...@digium.com On Sun, Jun 16, 2013 at 2:43 AM, Olivier CALVANO o.calv...@gmail.comwrote: Hi we have a small problems. We have a Asterisk 1.6.1 old server with music on old. we have updated to AsteriskNow 11.4.0 and now, when we want play sound, we have a errors: -- Executing [334xx@Accueil_HNO:2] BackGround(SIP/SIP05-000c, Fermeture) in new stack [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:701 ast_openstream_full: File Fermeture does not exist in any format [Jun 16 07:35:06] WARNING[7634][C-0006]: file.c:1017 ast_streamfile: Unable to open Fermeture (format (alaw)): No such file or directory [Jun 16 07:35:06] WARNING[7634][C-0006]: pbx.c:11180 pbx_builtin_background: ast_streamfile failed on SIP/SIP05-000c for Fermeture -- Executing [334xx@Accueil_Phibee_HNO:4] Hangup(SIP/SIP05-000c, ) in new stack == Spawn extension (Accueil_HNO, 334xx, 4) exited non-zero on 'SIP/SIP05-000c' I understand that he search the file in .ulaw, but why i don't use the mp3 ? musiconhold.conf [default] mode=quietmp3 directory=/var/lib/asterisk/moh [Horaires] mode=quietmp3 directory=/var/lib/asterisk/moh/Horaires ps fax: 7555 pts/0S 0:00 /bin/sh /usr/sbin/safe_asterisk -U asterisk -G asterisk 7558 pts/0Sl 0:06 \_ /usr/sbin/asterisk -f -U asterisk -G asterisk -vvvg -c 7578 pts/0S 0:00 \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 7580 pts/0S 0:00 | \_ mpg123 -q -s --mono -r 8000 -b 2048 -f 8192 Fermeture.mp3 find /var/lib/asterisk/moh/ /var/lib/asterisk/moh/Horaires/Fermeture.mp3 ll -rw-r--r-- 1 asterisk asterisk 1396613 Nov 24 2010 /var/lib/asterisk/moh/Horaires/Fermeture.mp3 Do you have the format_mp3 module loaded? Add-on modules are in the addons subdirectory. Typically, these modules are not built and installed by default, and have to be enabled in menuselect. Matt -- Matthew Jordan Digium, Inc. | Engineering Manager 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA Check us out at: http://digium.com http://asterisk.org -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users