how to set moh without setting queue music with SetMusicOnHold

Home » Asterisk Users » how to set moh without setting queue music with SetMusicOnHold
Asterisk Users 1 Comment

Giorgio,

On 05/18/2011 10:32 AM, gincantalupo wrote:

> I want to change my moh without changing my queue music…is it possible?
>
> SetMusicOnHold changes my moh but with the wrong effect to change my
> queue music I do not want to change…did anybody solve this problem or
> it is a bug?

Just define different MOH classes in musiconhold.conf. Refer to one in
queues.conf and another one with ‘musicclass’ in sip.conf (general or peer).

One thought on - how to set moh without setting queue music with SetMusicOnHold

  • Hi Alex,

    I tried but doesn’t work because the queue doesn’t give you control to
    change the moh. What I want is to change my moh depending on where the
    call is from. If it comes from Italy I have to play italian moh, if not,
    another moh. Normally I can change my moh but with queues, control is
    not in my hands. What I need is SetMusicOnHold to change moh only, not
    queues music which should be changeable with a sort of SetQueueMusic
    command or similar but this command does not exist.

    Giorgio Incantalupo