No subject


Thu Jan 15 22:29:28 CST 2009


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...

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0013222 Asterisk commands "moh reload&quot...
====================================================================== 

---------------------------------------------------------------------- 
 (0104820) lmadsen (administrator) - 2009-05-15 09:05
 https://issues.asterisk.org/view.php?id=14759#c104820 
---------------------------------------------------------------------- 
OK I have finally come back to this and reproduced.

Using the old formatting in musiconhold.conf, when we do a reload oh the
MOH system while the phone is on hold, we can't put them back on hold (with
music).

I would agree this appears to be a problem with the way res_musiconhold.c
parses the file on reload. This should work as the formatting is
deprecated, but should still work.

BTW: It *is* mentioned as deprecated in the UPGRADE-1.2.txt file in the
root of the asterisk source directory. Additionally, you get a WARNING on
startup mentioning that the formatting of musiconhold.conf has changed. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-15 09:05 lmadsen        Note Added: 0104820                          
======================================================================




More information about the asterisk-bugs mailing list