[Freeswitch-users] Configurable Hold Music while conference in freeswitch

Michael Jerris mike at jerris.com
Wed Oct 23 15:59:52 MSD 2013


the conference param moh_sound is per conference, not per user.  It currently will not use channel variables to attempt to expand this variable.  It does appear it will use globals if they are set.

On Oct 23, 2013, at 2:21 AM, Harsimran singh <harsimran2201 at gmail.com> wrote:

> Hi,
> I want play configurable hold sound while conference using freeswitch.
> I am using "moh-sound" variable in conference.conf.xml as follows.
> 
> <param name="moh-sound" value="/srv/sounds/${uuid}/knowlus_hold_music.mp3"/>
> 
> The uuid is the variable "variable_uuid" in the events comes from freeswitch,but the freeswitch is unable to expand this variable and error comes as follows : 
> 
> [ERR] mod_shout.c:683 Error opening /srv/sounds/${uuid}/knowlus_hold_music.mp3
> [ERR] mod_shout.c:862 Error from mpg123: File access error. (code 22)
> 
> Freeswitch is not able to expand the variable as variable exists and the file which i want to play also exists.
> 
> Can anybody help me out in this ?
> 
> With Regards
> 
> Harsimran Singh
> +91-9711271158



Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list