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

---------------------------------------------------------------------- 
 (0102375) urzedo (reporter) - 2009-03-30 08:30
 http://bugs.digium.com/view.php?id=14759#c102375 
---------------------------------------------------------------------- 
Hi all,

I have created issue http://bugs.digium.com/view.php?id=13222 and I would like
to share how I could finally
resolve that issue.

It was very simple. The way we used to write the musiconhold.conf file was
the same since asterisk 1.x. Recently, after moving to 1.4, we noticed that
the way that file is written is a little different. We switched to the new
1.4 formatting and the issue never happened again! See bellow the "new"
formatting I am talking about:

[MOH_NAME]
mode=files
directory=/var/lib/asterisk/sounds/ --> (where the files are)

Hope it helps! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-30 08:30 urzedo         Note Added: 0102375                          
======================================================================




More information about the asterisk-bugs mailing list