[Home]

Summary:ASTERISK-03089: Version 1.42 of res_musiconhold ignore music files paths
Reporter:Fernando Romo (el_pop)Labels:
Date Opened:2004-12-24 13:58:48.000-0600Date Closed:2004-12-25 23:32:15.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_musiconhold
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) musiconhold-diff-1.41-vs-1.42.txt
Description:The version 1.42 of res_musiconhold.c and 1.4 of musiconhold.h ignore the mp3 files declared in musiconhold.conf. Any application using Music on Hold send silence.

****** ADDITIONAL INFORMATION ******

The problem is in the fuction moh_register() when load the mp3 files and generate a empty list and then destroy the music on hold process and quit inmidiatly and left the audio channel in silence.
Comments:By: Brian West (bkw918) 2004-12-24 14:32:57.000-0600

did you make clean or do a fresh checkout?  I suspect not.

bkw

edited on: 12-24-04 14:34

By: Brian West (bkw918) 2004-12-24 14:41:30.000-0600

Yep you're right it starts then stops it... odd

By: Brian West (bkw918) 2004-12-24 14:56:16.000-0600

it only has a problem when using mpg123 if you go get rawplayer from http://bugs.digium.com/bug_view_page.php?bug_id=0002639

and follow the custom one it works... i'll see if we can get a fix for this ASAP.

bkw

By: Fernando Romo (el_pop) 2004-12-24 21:35:09.000-0600

The only work around (for now) is back one version the following files:

channel.c
file.c
include/asterisk/channel.h
include/asterisk/file.h
include/asterisk/musiconhold.h
res/res_musiconhold.c

with this, compile fine and work normaly

By: Brian West (bkw918) 2004-12-25 00:33:06.000-0600

Works fine with rawplayer... just not mpg123... :P

bkw

By: Mark Spencer (markster) 2004-12-25 17:25:04.000-0600

Uhm, I need a fix from anthm or I'm going to have to revert this last patch until it gets fixed since it's breaking music on hold for everyone.

By: Brian West (bkw918) 2004-12-25 20:02:14.000-0600

MOH is now fixed... but kram dear you broke chan_sip in a major bad bad bad way ;)

bkw