<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">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.<div><br></div><div><br><div><div>On Oct 23, 2013, at 8:41 AM, Harsimran singh <<a href="mailto:harsimran2201@gmail.com">harsimran2201@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi <span style="font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap">Michael ,</span><div><font face="arial, sans-serif"><span style="white-space:nowrap"><b>Thanks for the reply.<br>
</b></span></font><div><span style="font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap">It is agreed that moh-sound variable is per conference not per user. </span></div><div><span style="font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap">So How can i set the global values for moh-sound so that i can use different moh-sound for each conference ? </span></div>
</div><div><span style="font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap">Thanks</span></div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>With Regards<br></div><br>Harsimran Singh<br>+91-9711271158<br></div></div>
<br><br><div class="gmail_quote">On Wed, Oct 23, 2013 at 5:29 PM, Michael Jerris <span dir="ltr"><<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; position: static; z-index: auto;">
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.<br>
<div><div class="h5"><br>
On Oct 23, 2013, at 2:21 AM, Harsimran singh <<a href="mailto:harsimran2201@gmail.com">harsimran2201@gmail.com</a>> wrote:<br>
<br>
> Hi,<br>
> I want play configurable hold sound while conference using freeswitch.<br>
> I am using "moh-sound" variable in conference.conf.xml as follows.<br>
><br>
> <param name="moh-sound" value="/srv/sounds/${uuid}/knowlus_hold_music.mp3"/><br>
><br>
> 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 :<br>
><br>
> [ERR] mod_shout.c:683 Error opening /srv/sounds/${uuid}/knowlus_hold_music.mp3<br>
> [ERR] mod_shout.c:862 Error from mpg123: File access error. (code 22)<br>
><br>
> Freeswitch is not able to expand the variable as variable exists and the file which i want to play also exists.<br>
><br>
> Can anybody help me out in this ?<br>
><br>
> With Regards<br>
><br>
> Harsimran Singh<br>
> +91-9711271158<br></div></div></blockquote></div></div></blockquote></div><br></div></body></html>