[asterisk-users] Disabling Music On Hold

Urs Buob
Fri, 28 Jan 2011 17:02:31 -0000

> On 11-01-28 07:37 AM, Urs Buob wrote:
> > modules.conf
> > ----------------------------------------------------------
> > [modules]
> > autoload=yes
> > ; res_phoneprov requires func_strings.so to be loaded:
> > preload => func_strings.so
> > noload => pbx_gtkconsole.so
> > noload => res_musiconhold.so
> >
> This is the correct method.  But you are saying even if you stop and
> start Asterisk res_musiconhold.so is still loads?
>
> I just tested with the latest 1.6.2 branch with the same settings, MOH
> was not loaded.

Well, I did not say that MOH get's loaded. I just say that asterisk is
still trying to play MOH and does NOT inform the remote side of the hold
status.

Actually the error message that the CLI shows when I put the call on hold
also indicates that MOH is not loaded.

    -- Music class default requested but no musiconhold loaded.

So, the problem is not that MOH is loaded, but that asterisk still tries
to invoke MOH (triggering the error message) and that there is no
re-invite to the remote SIP user indicating that the call is on hold. My
main goal is to have a clean hold functionality with re-invites that
asterisk sends out. (RTP stream goes via asterisk and not directly between
the SIP clients)

regards

Urs
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.digium.com/pipermail/asterisk-users/attachments/20110128/a65fcfd0/attachment.htm>