[Home]

Summary:ASTERISK-09954: [Patch] Post 1.4 Add custom Moh to app_queue on the fly
Reporter:Tristan Mahe (tristan_mahe)Labels:
Date Opened:2007-07-25 04:29:58Date Closed:2011-06-07 14:08:00
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) moh_override_2.diff
( 1) moh_override.diff
Description:When the dialplan var QUEUE_MOH is set, app_queue will use this moh class instead of the one defined in queues.conf
Comments:By: Jason Parker (jparker) 2007-07-25 09:39:57

Can you not just set the musiconhold class for the channel?

By: Tristan Mahe (tristan_mahe) 2007-07-26 03:59:58

you are right, attached is the corrected patch !

Thanks Qwell.

By: Jason Parker (jparker) 2007-07-26 10:31:26

No, I mean in the dialplan.  Something like:

s,1,Set(CHANNEL(musicclass)=myqueueclass)
s,2,Queue(myqueue)

By: Tristan Mahe (tristan_mahe) 2007-07-26 10:47:37

My bad, I didn't know this could be overriden that way.
I'll test this way :)

By: jmls (jmls) 2007-07-27 01:36:27

tristan_mahe: can we close this then ?

By: Tristan Mahe (tristan_mahe) 2007-07-27 07:07:02

yup of course, it seems there's no need for this patch

By: Joshua C. Colp (jcolp) 2007-07-30 08:41:38

Patch is not required, functionality already exists.