Turn music on hold before dialing

Hello, everyone.
How can I can turn on music on hold before dialing and turn it off when needed? If I turn it on within the dial function with the m switch, it restarts each time I dial and stops between dials. If I turn it on using StartMusicOnHold, it is turned off by the dial application.

At a guess, use a local channel to do the multiple dials and set the music on hold on the Dial that invokes the local channel.

The problem disappeared after I had upgraded Asterisk from version 13 to 15. Now the music continues after the first dial smoothly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.