Posted: Wed Aug 08, 2007 9:35 pm Post subject: [asterisk-users] MoH mysteriously stopped working
Folks, I have somewhat of a serious issue here. My music on hold
mysteriously stopped working. I have made no changes to my Asterisk box
in the past month and up until an hour ago, MoH was working fine (as far
as I know).
CLI:
-- Started music on hold, class 'default', on channel 'IAX2/lobby-2'
-- Stopped music on hold on IAX2/lobby-2
voip*CLI> moh reload
voip*CLI>
1 class reloaded.
== Destroying musiconhold processes
== Parsing '/etc/asterisk/musiconhold.conf': Found
Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:422 spawn_mp3: Found no
files in '/var/lib/asterisk/mohmp3'
Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:504 monmp3thread:
Unable to spawn mp3player
I have had .gsm (and only .gsm) files in that directory since day one,
and it's always played them just fine. The .gsm files are still in that
directory, and transferring them to my computer and playing them works
just fine.
I have autoload set in modules.conf, and I can't figure out why my music
on hold suddenly stopped working.
Any thoughts?
Thanks in advance,
Jay
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Aug 08, 2007 10:11 pm Post subject: [asterisk-users] MoH mysteriously stopped working
I've had MOH die probably 4-5 times in the last 2+ years and the only
way to get it back is to stop * and restart it. Reloading MOH or just
doing a regular reload doesn't work. I have to actually do a "stop now"
and then "asterisk" to get it to work again. * restarts and MOH works
fine. No clue why, but I have seen it on multiple versions of *.
Jay Moore wrote:
Quote:
Folks, I have somewhat of a serious issue here. My music on hold
mysteriously stopped working. I have made no changes to my Asterisk box
in the past month and up until an hour ago, MoH was working fine (as far
as I know).
CLI:
-- Started music on hold, class 'default', on channel 'IAX2/lobby-2'
-- Stopped music on hold on IAX2/lobby-2
voip*CLI> moh reload
voip*CLI>
1 class reloaded.
== Destroying musiconhold processes
== Parsing '/etc/asterisk/musiconhold.conf': Found
Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:422 spawn_mp3: Found no
files in '/var/lib/asterisk/mohmp3'
Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:504 monmp3thread:
Unable to spawn mp3player
I have had .gsm (and only .gsm) files in that directory since day one,
and it's always played them just fine. The .gsm files are still in that
directory, and transferring them to my computer and playing them works
just fine.
I have autoload set in modules.conf, and I can't figure out why my music
on hold suddenly stopped working.
Any thoughts?
Thanks in advance,
Jay
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
Posted: Wed Aug 08, 2007 10:34 pm Post subject: [asterisk-users] MoH mysteriously stopped working
Peder,
Unfortunately, this did not work. Any other thoughts?
Jay
Peder @ NetworkOblivion wrote:
Quote:
I've had MOH die probably 4-5 times in the last 2+ years and the only
way to get it back is to stop * and restart it. Reloading MOH or just
doing a regular reload doesn't work. I have to actually do a "stop now"
and then "asterisk" to get it to work again. * restarts and MOH works
fine. No clue why, but I have seen it on multiple versions of *.
Jay Moore wrote:
> Folks, I have somewhat of a serious issue here. My music on hold
> mysteriously stopped working. I have made no changes to my Asterisk box
> in the past month and up until an hour ago, MoH was working fine (as far
> as I know).
>
> CLI:
> -- Started music on hold, class 'default', on channel 'IAX2/lobby-2'
> -- Stopped music on hold on IAX2/lobby-2
> voip*CLI> moh reload
> voip*CLI>
> 1 class reloaded.
> == Destroying musiconhold processes
> == Parsing '/etc/asterisk/musiconhold.conf': Found
> Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:422 spawn_mp3: Found no
> files in '/var/lib/asterisk/mohmp3'
> Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:504 monmp3thread:
> Unable to spawn mp3player
>
> musiconhold.conf:
> -----------------
> [default]
> mode => quietmp3
> directory => /var/lib/asterisk/mohmp3
> random => yes
>
>
> I have had .gsm (and only .gsm) files in that directory since day one,
> and it's always played them just fine. The .gsm files are still in that
> directory, and transferring them to my computer and playing them works
> just fine.
>
> I have autoload set in modules.conf, and I can't figure out why my music
> on hold suddenly stopped working.
>
> Any thoughts?
>
> Thanks in advance,
> Jay
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> 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--
Posted: Wed Aug 08, 2007 10:50 pm Post subject: [asterisk-users] MoH mysteriously stopped working
Jay Moore wrote:
Quote:
Peder,
Unfortunately, this did not work. Any other thoughts?
My dumb questions will follow.
Quote:
> Jay Moore wrote:
>> Folks, I have somewhat of a serious issue here. My music on hold
>> mysteriously stopped working. I have made no changes to my Asterisk box
>> in the past month and up until an hour ago, MoH was working fine (as far
>> as I know).
>>
>> CLI:
>> -- Started music on hold, class 'default', on channel 'IAX2/lobby-2'
>> -- Stopped music on hold on IAX2/lobby-2
>> voip*CLI> moh reload
>> voip*CLI>
>> 1 class reloaded.
>> == Destroying musiconhold processes
>> == Parsing '/etc/asterisk/musiconhold.conf': Found
>> Aug 8 16:27:33 WARNING[7984]: res_musiconhold.c:422 spawn_mp3: Found no
>> files in '/var/lib/asterisk/mohmp3'
Is this mode appropriate when you're using gsm audio files?
Quote:
>> directory => /var/lib/asterisk/mohmp3
>> random => yes
>>
>>
>> I have had .gsm (and only .gsm) files in that directory since day one,
>> and it's always played them just fine. The .gsm files are still in that
>> directory, and transferring them to my computer and playing them works
>> just fine.
>>
>> I have autoload set in modules.conf, and I can't figure out why my music
>> on hold suddenly stopped working.
Obviously, something has changed. Are you absolutely sure that:
- you had only gsm files in that directory
- your system isn't configured to use mp3 MOH files?
There's been a Windows virus going around again that deletes all the
.mp3 files it finds. Is this system running Samba?
What happens when you put an Asterisk ready mp3 file in that directory
and restart Asterisk?
-Stephen-
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum