app_queue: Add music on hold option to Queue.

Adds the m option to the Queue application, which allows a
music on hold class to be specified at runtime which will
override the class configured in queues.conf.

This option functions like the m option to Dial.

ASTERISK-29876 #close

Change-Id: Ie25a48569cf8755c305c9438b1ed292c3adcf8d7
This commit is contained in:
Naveen Albert
2022-01-22 15:53:27 +00:00
committed by Kevin Harwell
parent da44b848f5
commit ede4e2099f
3 changed files with 33 additions and 13 deletions

View File

@@ -64,8 +64,9 @@ monitor-type = MixMonitor
;
; Musicclass sets which music applies for this particular call queue.
; The only class which can override this one is if the MOH class is set
; using the m option when calling the Queue application or if set
; directly on the channel using Set(CHANNEL(musicclass)=whatever) in the
; dialplan.
; dialplan (the latter of which overrides everything).
;
;musicclass = default
;