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

Michael Jerris mike at jerris.com
Wed Oct 23 17:52:21 MSD 2013


you can't use a variable to do that, you can make different conference profiles for each one you want and references the right profile in the dialplan.


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

> Hi Michael ,
> Thanks for the reply.
> It is agreed that moh-sound variable is per conference not per user. 
> So How can i set the global values for moh-sound so that i can use different moh-sound for each conference ? 
> 
> Thanks
> 
> With Regards
> 
> Harsimran Singh
> +91-9711271158
> 
> 
> On Wed, Oct 23, 2013 at 5:29 PM, Michael Jerris <mike at jerris.com> wrote:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131023/6fc713e6/attachment.html 


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