I have a ring group for which I would like to add music on hold but only when transferring. When the ring group is called I only want “ring”. Is this possible or does the “Play Music On Hold” only work for both incoming and transferred calls?
My default MOH is set to play a custom internet stream.
If the Ring Group option Play Music On Hold is set to Ring, callers will hear only ringing until the call is initially answered. If the call is then (attended) transferred, the caller will hear music while the transferor is ringing or talking privately with the transferred-to party. In a semi-attended transfer (transferor hangs up while the transferred-to phone is still ringing), the caller’s audio will switch to ringing when the transferor hangs up.
If you need different behavior, please provide details.
[2020-11-02 14:12:31] WARNING[25355][C-00000005] format_wav.c: Read failed (type)
[2020-11-02 14:12:31] WARNING[25355][C-00000005] file.c: Unable to open format wav
[2020-11-02 14:12:31] WARNING[25355][C-00000005] res_musiconhold.c: Unable to open file ‘/var/lib/asterisk/moh/.nomusic_reserved/silence’: No such file or directory
[2020-11-02 14:12:37] WARNING[25355][C-00000005] format_wav.c: Read failed (type)
[2020-11-02 14:12:37] WARNING[25355][C-00000005] file.c: Unable to open format wav
[2020-11-02 14:12:37] WARNING[25355][C-00000005] res_musiconhold.c: Unable to open file ‘/var/lib/asterisk/moh/.nomusic_reserved/silence’: No such file or directory
Ok, but I’m not sure what to do now. I have created a directory /var/lib/asterisk/moh/.nomusic_reserved/silence and copied the files from /var/lib/asterisk/sounds/nl/silence/10.* to that directory, but I’m will getting the same error and no music on hold. I have found a file called “silence.wav” in /var/lib/asterisk/moh/.nomusic_reserved.