[Freeswitch-users] mod_callcenter and moh-sound

Vik Killa vipkilla at gmail.com
Wed Mar 28 23:17:43 MSD 2012


The wiki says you can use the channel variable ${hold_music}
(http://wiki.freeswitch.org/wiki/Mod_callcenter#moh-sound)
Yet when you use <param name="moh-sound" value="${hold_music}"/>
You will get:
mod_native_file.c:74 Error opening
/usr/local/freeswitch/sounds/en/us/callie/${hold_music}.PCMU

If you use <param name="moh-sound" value="$${hold_music}"/>
It will play the hold music set in the global variable.
Is there any way for mod_callcenter to take a channel variable as the
music on hold?



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list