[asterisk-bugs] [Asterisk 0013222]: Asterisk commands "moh reload" or "reload res_musiconhold.so" causes MOH not to work properly
Asterisk Bug Tracker
noreply at bugs.digium.com
Tue Sep 9 13:18:12 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=13222
======================================================================
Reported By: urzedo
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 13222
Category: Resources/res_musiconhold
Reproducibility: always
Severity: minor
Priority: normal
Status: feedback
Asterisk Version: 1.4.21.2
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 2008-08-01 14:27 CDT
Last Modified: 2008-09-09 13:18 CDT
======================================================================
Summary: Asterisk commands "moh reload" or "reload
res_musiconhold.so" causes MOH not to work properly
Description:
SIP peer A is calling SIP peer B. When A put B on hold, B starts to listen
to the MOH configured in the parameter "mohsuggest" of the peer A. If I
look at Asterisk's verbose, I can see "Started music on hold..." and
"Stopped music on hold..." stuff while peer A press the hold button.
During the above conversation, if someone runs "moh reload" or "reload
res_musiconhold.so", than peer B is not able anymore to listen to the MOH
when A press the hold button. In the Asterisk's verbose, I cannot see
"Started music on hold..." and "Stopped music on hold..." anymore.
If "moh reload" or "reload res_musiconhold.so" commands are executed
again, than everything starts to work again. And so on...
======================================================================
----------------------------------------------------------------------
(0092269) pgarcia (reporter) - 2008-09-09 13:18
http://bugs.digium.com/view.php?id=13222#c92269
----------------------------------------------------------------------
Hi,
I'd like to add a piece of information here. I use streamplayer to provide
music on hold with Asterisk 1.4.21.2. If a channel is listening moh I can
see a streamplayer process running normally.
When I issue a 'reload' or 'reload moh' command (still playing the moh) I
can see *two* streamplayer process running together. When I finish that
call, the first process is killed and I have just one streamplayer process
again but the moh using streamplayer won't work anymore which makes sense
because the socket connection was ended and I didn't restart that
connection to streamplayer.
So, to keep my software working, after a reload, I restarted socket
connection to streamplayer. The next calls will listen to the moh normally
but if there is a call listening during the reload, its moh will stop.
I don't know if it is the same issue reported here, but it seems that it
is.
Thanks!
Issue History
Date Modified Username Field Change
======================================================================
2008-09-09 13:18 pgarcia Note Added: 0092269
======================================================================
More information about the asterisk-bugs
mailing list