MusicOnHold

Hi,
I’m using asterisk 11, I just want to build a call center setup.for that I made custom queue of having only one extension and custom recording for MOH and I put that .wav file in /var/lib/asterisk/mohmp3/vinc…and I called that in /etc/asterisk/musiconhold.conf…and called in my queue as music=vinc…

for testing I made a call, I heard that customised MOH recording in my headset while queue was (ringing voice) ringing, I answered the call. At the same time I jz made another call to that queue to test the waiting tone …the call was on wait (ringinuse=disabled) and is also playing same MOH with call position and all in Queue.
actually what I want is to separate the 3 instances.

same custom recording for waiting time and Hold time in Queue
and differentiate ringing voice of Queue as default “tring tring” or else.

I tried setmusiconhold in Dialplan …these 3 instances are getting same MOH.
Is there any possibility to separate these ???

Thanks in advance …

Hey vinc, try adding this line to the dialplan;

exten =>n,Set(CHANNEL(musicclass)=you-moh)

Let me know if that works for you :wink:

Thanks for the reply gnu…

Actually I had worked a lot on this one … I got some combinations tooo!!! that reached my requirement what that is…

same custom recording for waiting time and Hold time in Queue
and differentiate ringing voice of Queue as default “tring tring” or else.

I made it by %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

  1. SetMusicOnHold in dialplan before routing to Queue.
  2. Calling the Queue with option R.

by making these two changes the asterisk gave the response as

ring voice : tring tring…(default)
wait time in Queue as custom recording
hold time in queue also custom recording

anyways thanks for reply :smiley:

:wink: