[Freeswitch-users] Specifying MOH
Nathan Neulinger
nneul at mst.edu
Fri May 31 21:29:51 MSD 2013
Did you copy that verbatim? Cause you have "hold_music=hold_music=..." doubled.
-- Nathan
On 05/31/2013 12:20 PM, Sean Devoy wrote:
> HI,
>
> I see in the wiki it says:
>
>
> hold_music <https://wiki.freeswitch.org/wiki/Variable_hold_music>
>
> Per-channel hold music. Supports all audio formats and audio streams. The hold_music variable can also be set globally
> at vars.xml.
>
>
> *Usage:*
>
> <action application="set" data="hold_music=/sounds/holdmusic.wav" />
>
> For multi-tenant environment, if you want to have a separate MOH for the phone with hold button (like Polycom) that
> utilizes RE-INVITE with no media ip addr (0.0.0.0) for hold, you can override the hold-music values in the sip profile
> parameter similar to the following example:
>
> <action application="bridge_export" data="hold_music=$${sounds_dir}/music/company-a.mp3"/>
>
> I set this in my dial-plan like this:
>
> <anti-actionapplication="bridge_export"data="hold_music=hold_music=/usr/local/freeswitch/sounds/RBW_On_Hold.mp"/>
>
> I had an error on the console that said “File access error.” I chmod’ed the MP3 file. Now I get no error, but
> complete silence on hold.
>
> Any ideas?
>
> Thanks,
>
> Sean
>
--
------------------------------------------------------------
Nathan Neulinger nneul at mst.edu
Missouri S&T Information Technology (573) 612-1412
System Administrator - Architect
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list