<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">OK, wow, given the amount of time i've spent searching the wiki i'm surprised i hadn't already seen that! Presumably i had overlooked it as i'm working purely with ESL rather than XML dialplans.</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Anyway your suggestion pointed me in the right direction and the file string syntax gave me everything i needed to get things working. </div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">As such my conference XML shows:</div>
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><param name="enter-sound" value="file_string://${ConferenceJoinName}!/usr/share/sounds/ConferenceJoined.wav"/><br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><param name="exit-sound" value="file_string://${ConferenceJoinName}!/usr/share/sounds/ConferenceLeft.wav"/><br>
</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">
This solved the issue and is the nice clean solution i have been looking for.</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">
Thank you!</div><div class="gmail_default"><font color="#333399" face="verdana, sans-serif"><br></font></div></div><div class="gmail_extra"><br clear="all"><div><pre style="word-wrap:break-word;white-space:pre-wrap"><font face="verdana, sans-serif" color="#333399">______________________________</font><font size="1" face="verdana, sans-serif" color="#333399">
Callum Guy
Developer
X-on
Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ
T 0333 332 0116
E <a href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>
<img src="http://www.x-ondata.com/images/footerv2.jpg">
<br></font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font size="1" face="verdana, sans-serif" color="#333399">X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
Company Registration No. 2578478
This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
</font><font size="1" face="verdana, sans-serif" color="#006600">Please consider the environment before printing this email.</font></pre></div>
<br><br><div class="gmail_quote">On 3 October 2013 15:28, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@yahoo.com" target="_blank">ssinyagin@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:10pt;font-family:arial,helvetica,sans-serif">isn't the example at the bottom of <br><a href="http://wiki.freeswitch.org/wiki/Mod_conference" target="_blank">http://wiki.freeswitch.org/wiki/Mod_conference</a><br>
doing exactly that?<br><br><br><div><span><br></span></div><div><br></div> <div style="font-family:arial,helvetica,sans-serif;font-size:10pt"> <div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div dir="ltr"> <hr size="1"> <font face="Arial"> <b><span style="font-weight:bold">From:</span></b> Callum Guy <<a href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>><br> <b><span style="font-weight:bold">To:</span></b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a>> <br>
<b><span style="font-weight:bold">Sent:</span></b> Thursday, October 3, 2013 4:04 PM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Freeswitch-users] Conference Configure Multiple Prompts<br> </font> </div>
<div><div><div class="h5"><br><div><div><div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Hi All,</div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">
<br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">I am still having problems implementing a conference announcement where i need to play two files in sequence. For clarity i want to play the joiners (or leavers) name, followed by "has joined/left the conference".</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">I have tried channel variables in the conference XML. This works great for a single file so i can play the name of the joiner/leaver to the conference but not both files in sequence.</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">I have tried phrases as suggested by Michael but these are incompatible with the conference XML (if i understand correctly). I also attempted to use these with uuid_broadcast however that does not interrupt the conference.</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">My most recent attempt has been to use the conference play API (i.e. "api conference test play /usr/share/sounds/ConferenceJoined.wav async") where I am having some success. The problem is that this configuration is awkward because it won't play a set of files either and often due to suspected timing issues one of the play events doesn't happen at all!</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Overall i have to say that using channel variables in the XML for the enter sound (<param name="enter-sound" value="${ConferenceJoinName}"/>) is the only stable option but I really do need to be able to play two files if at all possible. I have considered concatenating the audio files but this doesn't seem like a clean solution.</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Does anyone have any ideas for me to pursue?</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Thanks,</div>
<div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)"><br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">Callum</div>
</div><div><br clear="all"><div><pre style="word-wrap:break-word;white-space:pre-wrap"><font color="#333399" face="verdana, sans-serif">______________________________</font><font color="#333399" face="verdana, sans-serif" size="1">
Callum Guy
Developer
X-on
Framlingham Technology Centre
Station Road, Framlingham,
Suffolk, IP13 9EZ
T 0333 332 0116
E <a rel="nofollow" shape="rect" href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>
<img>
<br clear="none"></font></pre><pre style="word-wrap:break-word;white-space:pre-wrap"><font color="#333399" face="verdana, sans-serif" size="1">X-on is a trading name of Storacall Technology Ltd a limited company registered in England and Wales
Registered Office : Avaland House, 110 London Road, Apsley, Hemel Hempstead, Herts, HP3 9SD
Company Registration No. 2578478
This email has been sent from X-on.The contents and attachments are confidential to the sender and the intended addressees.If the message
is received by anyone other than the addressee please return the message to the sender by replying to it and then delete the message from
your computer without copying or disclosing the contents to anyone.Opinions, conclusions and statements of intent in this email are those of
the sender and do not bind X-on unless confirmed by authorised representatives independently of this message.While best endeavours have
been taken to avoid transmission of viruses, it is the responsibility of the recipient to scan for these.Please note emails sent to and from X-on
are routinely monitored for record keeping and quality control, to ensure regulatory compliance and prevent unauthorised use of our systems.
</font><font color="#006600" face="verdana, sans-serif" size="1">Please consider the environment before printing this email.</font></pre></div>
<br clear="none"><br clear="none"><div><div>On 2 October 2013 17:31, Callum Guy <span dir="ltr"><<a rel="nofollow" shape="rect" href="mailto:callum.guy@x-on.co.uk" target="_blank">callum.guy@x-on.co.uk</a>></span> wrote:<br clear="none">
<blockquote style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">OK so i've run into another issue when trying uuid_broadcast.</div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">
<br clear="none"></div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">I'm running the following just after joining an existing conference:</div><div style="font-family:verdana,sans-serif;font-size:small;color:rgb(51,51,153)">
<br clear="none"></div><div><font color="#333399" face="verdana, sans-serif">api uuid_broadcast [UUID] phrase:conferenceAnnounce:${ConferenceJoinName} both</font><br clear="none"></div><div><font color="#333399" face="verdana, sans-serif"><br clear="none">
</font></div><div><font color="#333399" face="verdana, sans-serif">This is having no immediate effect however when either leg closes they hear the broadcast message set by the closing channel!</font></div>
<div><font color="#333399" face="verdana, sans-serif"><br clear="none"></font></div><div><font color="#333399" face="verdana, sans-serif">I'm sure i'm doing something wrong and i'll revisit tomorrow!</font></div>
<div><br clear="none"></div></div>
</blockquote></div></div><br clear="none"></div></div></div><br></div></div><div class="im"><div>_________________________________________________________________________<br clear="none">Professional FreeSWITCH Consulting Services:<br clear="none">
<a shape="rect" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br clear="none"><a shape="rect" href="http://www.freeswitchsolutions.com/" target="_blank">http://www.freeswitchsolutions.com</a><br clear="none">
<br clear="none">FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br clear="none"><a shape="rect" href="http://www.cudatel.com/" target="_blank">http://www.cudatel.com</a><br clear="none"><br clear="none">Official FreeSWITCH Sites<br clear="none">
<a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"><a shape="rect" href="http://wiki.freeswitch.org/" target="_blank">http://wiki.freeswitch.org</a><br clear="none">
<a shape="rect" href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com</a><br clear="none"><br clear="none">FreeSWITCH-users mailing list<br clear="none"><a shape="rect" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br clear="none">
<a shape="rect" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br clear="none">UNSUBSCRIBE:<a shape="rect" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br clear="none">
<a shape="rect" href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org</a><br clear="none"></div><br><br></div></div> </div> </div> </div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>