[asterisk-users] how to set moh without setting queue music with SetMusicOnHold
gincantalupo
gincantalupo at fgasoftware.com
Wed May 18 10:12:18 CDT 2011
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
On 05/18/2011 04:34 PM, Alex Balashov wrote:
> 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).
>
More information about the asterisk-users
mailing list