Summary:ASTERISK-00308: Pointing moh to an existing but empty directory causes fd leak
Reporter:Ryan Tucker (rtucker)Labels:
Date Opened:2003-09-25 13:03:12Date Closed:2004-09-25 02:21:15
Versions:Frequency of
Description:If MOH is configured to point to a directory that exists but is empty, e.g. with quietmp3:/var/lib/asterisk/mohmp3/default, eventually calls to music on hold will leak fd's, eventually causing a situation that may affect Asterisk's ability to do anything useful.

Workaround:  Either remove the default directory, or put stuff in there, or change the config accordingly.
Comments:By: Brian West (bkw918) 2003-11-19 19:27:52.000-0600

do you happen to have a patch that could fix this?

By: Ryan Tucker (rtucker) 2003-11-19 21:14:54.000-0600

No.  However, I think it may have been fixed in CVS a few weeks back.  I e-mailed Mark when I saw the patch come through, but never got a response.  If you catch me tomorrow, I can dig through my old e-mail for it.  -rt

By: Brian West (bkw918) 2003-11-20 10:08:52.000-0600

2003-11-04 18:23  markster

* res/res_musiconhold.c (1.17): Handle mpg123 failures without
leaking fd's

By: Brian West (bkw918) 2003-11-20 10:09:07.000-0600

fixed in cvs