[asterisk-users] MOH problems (asterisk 1.4.38)
Hi list, I just installed Asterisk 1.4.38 (on an updated Centos 5.5 machine) and am getting this error : WARNING[6472]: res_musiconhold.c:856 moh_scan_files: getcwd() failed: No such file or directory with the default musiconhold.conf file. When I change musiconhold.conf to this: [default] mode=mp3 directory=/var/lib/asterisk/mohmp3 (and have converted all the wav files to mp3 and put them in /var/lib/asterisk/nohmp3) 'moh reload' works fine and so does 'moh show classes' but 'moh show files' does not show any files (even though the .mp3 files are in that directory) and of course MOH still does not work I am not sure how to 'debug' from this point. Any help would be greatly appreciated! thanks earl -- _ -- 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 problems (asterisk 1.4.38)
Hi CLI module unload res_musiconhold.so CLI module load res_musiconhold.so or service asterisk restart Regards -- _ -- 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 problems (asterisk 1.4.38)
On 01/04/2011 12:31 PM, Earl Terwilliger wrote: Hi list, I just installed Asterisk 1.4.38 (on an updated Centos 5.5 machine) and am getting this error : WARNING[6472]: res_musiconhold.c:856 moh_scan_files: getcwd() failed: No such file or directory [snip] Have you installed mpg123 or some other program to handle the mp3 files? I am fairly certain that Asterisk cannot handle mp3 natively (most likely for licensing reasons). Tom -- _ -- 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 problems (asterisk 1.4.38)
On Tuesday, January 04, 2011 04:37:21 pm Tom Rymes wrote: On 01/04/2011 12:31 PM, Earl Terwilliger wrote: Hi list, I just installed Asterisk 1.4.38 (on an updated Centos 5.5 machine) and am getting this error : WARNING[6472]: res_musiconhold.c:856 moh_scan_files: getcwd() failed: No such file or directory [snip] Have you installed mpg123 or some other program to handle the mp3 files? I am fairly certain that Asterisk cannot handle mp3 natively (most likely for licensing reasons). Tom -- _ -- 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 Hi Tom that was my next step if i could not find a way to just play the wav files. I re-booted the server and that seems to have fixed whatever problem was causing this. stopping and starting asterisk had no affect. earl -- _ -- 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 problems (asterisk 1.4.38)
On Tuesday, January 04, 2011 04:29:49 pm bakko wrote: Hi CLI module unload res_musiconhold.so CLI module load res_musiconhold.so or service asterisk restart Regards -- _ -- 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 Hi I tried re-starting asterisk (stoping and starting) many times. No success. I finally decided to re-boot the server and that seems to have fixed it. thanks earl -- _ -- 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 problems (asterisk 1.4.38)
On Jan 4, 2011, at 8:49 PM, Earl Terwilliger wrote: On Tuesday, January 04, 2011 04:37:21 pm Tom Rymes wrote: On 01/04/2011 12:31 PM, Earl Terwilliger wrote: Hi list, I just installed Asterisk 1.4.38 (on an updated Centos 5.5 machine) and am getting this error : WARNING[6472]: res_musiconhold.c:856 moh_scan_files: getcwd() failed: No such file or directory [snip] Have you installed mpg123 or some other program to handle the mp3 files? I am fairly certain that Asterisk cannot handle mp3 natively (most likely for licensing reasons). Tom Hi Tom that was my next step if i could not find a way to just play the wav files. I re-booted the server and that seems to have fixed whatever problem was causing this. stopping and starting asterisk had no affect. earl Ah. I got the impression that you were trying to play MP3 files. I would not recommend that you use MP3 instead of WAV, though. Tom -- _ -- 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