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

Harsimran singh harsimran2201 at gmail.com
Wed Oct 23 16:41:29 MSD 2013


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
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131023/8c8b6c4b/attachment.html 


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