[Freeswitch-users] mod_callcenter and moh-sound

Vik Killa vipkilla at gmail.com
Wed Mar 28 23:32:58 MSD 2012

This was answered in IRC:
use the channel variable:
cc_moh_override like
<action application="set"
<action application="set"
<action application="set"

Thanks Moc, this module is badass!

On Wed, Mar 28, 2012 at 3:17 PM, Vik Killa <vipkilla at gmail.com> wrote:
> 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