<html><head></head><body bgcolor="#FFFFFF"><div>Hi Peter and thank you for your input. Glad to hear somebody else is searching for answers to this. Hopefully we can help one another with resolving the issue!</div><div><br></div><div>I have already defined the conference profile within the conference XML file, so I assume that's all that's required to put the caller into the conference.</div><div><br></div><div>If I discover anything I'll be sure to update this thread.<br><br>On 17 Jun 2012, at 17:16, "Peter Stevens" &lt;<a href="mailto:Peter.Stevens@bbc.co.uk">Peter.Stevens@bbc.co.uk</a>&gt; wrote:<br><br></div><div></div><blockquote type="cite"><div>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="GENERATOR" content="MSHTML 8.00.6001.19258">
<style>
<!--
                       
 font-face
        {font-family:"Cambria Math";}
font-face
        {font-family:Calibri;}
font-face
        {font-family:Tahoma;}
                        
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {}

div.Section1
        {page:Section1;}
-->
</style>


<div dir="ltr" id="idOWAReplyText26460">
<div dir="ltr"><font color="#000000" size="2" face="Arial">Hi Brian,</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">I've also been looking at this particular example this week and also posted a question! See [Freeswitch-users] Problem passing and playing audio files into a conference.</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">Mine will transfer into the default conference (using conference $1-${domain} in the res line below, but not play the files parsed into the res line.</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">My guess with yours is that you are specifying <a href="mailto:conference$1@conference_2">conference$1@conference_2</a> in the res line. I think that it expects to find a conference_2 profile in the conference.conf.xml file, so if you don't have that it might well bomb out.</font></div>
<div dir="ltr"><font size="2" face="Arial">
<div dir="ltr"><font size="2" face="Arial">The other thing that you may also find is that with your existing&nbsp;res line in the debug log you may also be getting [res]=[UNDEF]<br></font></div>
<div dir="ltr"><font size="2" face="Arial">The only way I could get it not to produce this was to add a left brace after sched_api and a right brace after the last audio file to be parsed in the res line, as here:</font></div>
<div dir="ltr"><font size="2" face="Arial">&nbsp;</font></div></font></div>
<div dir="ltr"><font size="2" face="Arial">&lt;action application="set" data="res=${sched_api (+2 none conference $1-${domain} play file_string://${sound_prefix}/conference/8000/conf-welcome.wav!${sound_prefix}/conference/8000/conf-has_joined.wav)}"/&gt;<br></font></div>
<div dir="ltr"><font size="2" face="Arial">I hope that this helps you and maybe you and/or someone else might be able to help me with the audio files being played once the conference starts.</font></div>
<div dir="ltr"><font size="2" face="Arial"></font>&nbsp;</div>
<div dir="ltr"><font size="2" face="Arial">Peter</font></div>
<div dir="ltr"><font size="2" face="Arial">&nbsp;</font></div></div>
<div dir="ltr"><br>
<hr tabindex="-1">
<font size="2" face="Tahoma"><b>From:</b> Brian Meaney [mailto:brian.meaney@BSB.IE]<br><b>Sent:</b> Sat 16/06/2012 11:21<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Conference Caller Announce<br></font><br></div>
<div>
<div class="Section1">
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Thanks MC,</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;Here it is:-</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&lt;extension name="main_number_11" continue="true"&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field="destination_number" expression="^(xxxxxxxxxxx)$"&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="export" data="hold_music=silence"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="namefile=/tmp/${uuid}-name.wav" inline="true"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="answer"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="1000"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="playback" data="conference/conf-welcome.wav"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="sleep" data="1000"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="playback" data="voicemail/vm-record_name1.wav"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="playback" data="tone_stream://%(1000,0,500)"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="record" data="${namefile} 1"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="playback" data="ivr/ivr-call_being_transferred.wav"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="set" data="res=${sched_api +1 none conference $1@conference_2 play file_string://${namefile}!conference/conf-has_joined.wav}"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application="transfer" data="$1 XML default"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang="EN-US">From:</span></b><span style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang="EN-US"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael Collins<br><b>Sent:</b> 15 June 2012 23:00<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Conference Caller Announce</span></p></div>
<p class="MsoNormal">&nbsp;</p>
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal">Show us the dialplan code where you put the caller into the conference.<br>-MC</p>
<div>
<p class="MsoNormal">On Fri, Jun 15, 2012 at 11:21 AM, Brian Meaney &lt;<a href="mailto:brian.meaney@bsb.ie" target="_blank">brian.meaney@bsb.ie</a>&gt; wrote:</p>
<div>
<div>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Hi and thanks for your response. I altered the expression to include parentheses, and the number is successfully picked up. I also attempted to simplify the ‘res’ expression by using $1-{domain}<br>However, it still wont connect to the conference. Sophia output is now:-</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">2012-06-15 18:12:53.303084 [DEBUG] mod_commands.c:3092 Command conference(35319017881-192.168.3.178 play file_string:///tmp/799d7748-e75b-425c-bccd-1e6632eacc72-name.wav!conference/conf-has_joined.wav):</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Conference 35319017881-192.168.3.178 not found</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">Its clear my issue is now with how the ‘res’ statement should be formed. I now have:-</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">&lt;action application="set" data="res=${sched_api +1 none conference $1@conference_2 play file_string://${namefile}!conference/conf-has_joined.wav}"/&gt;</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt">How should I construct the statement such that it connects the caller to the conference named conference_2 ? Should I even be referencing the conference name, seeing as I already have the expression matching in place earlier in the definition?</span></p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<p class="MsoNormal"><span style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: #1f497d; FONT-SIZE: 11pt"></span>&nbsp;</p>
<div style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<p class="MsoNormal"><b><span style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang="EN-US">From:</span></b><span style="FONT-FAMILY: 'Tahoma','sans-serif'; FONT-SIZE: 10pt" lang="EN-US"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b>On Behalf Of </b>Michael Collins<br><b>Sent:</b> 15 June 2012 18:43<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Conference Caller Announce</span></p></div>
<p class="MsoNormal">&nbsp;</p>
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal">As best I can tell it looks like this line is the problem:<br>&lt;condition field="destination_number" expression="^xxxxxxxxxxx$"&gt;<br><br>You need to wrap the capture value in parens like this:<br>&lt;condition field="destination_number" expression="^(xxxxxxxxxxx)$"&gt;<br><br>That should make $1 have something useful in it.<br><br>-MC</p>
<div>
<p class="MsoNormal">On Fri, Jun 15, 2012 at 10:08 AM, Bobthebeat &lt;<a href="mailto:brian.meaney@bsb.ie" target="_blank">brian.meaney@bsb.ie</a>&gt; wrote:</p>
<p style="MARGIN-BOTTOM: 12pt" class="MsoNormal">Hi Folks,<br><br>&nbsp;brand new Freeswitch user here.<br><br>I have modified the example shown on the mod_conference<br>(<a href="http://wiki.freeswitch.org/wiki/Mod_conference#FAQ" target="_blank">http://wiki.freeswitch.org/wiki/Mod_conference#FAQ</a>) wiki for my own<br>deployment.<br><br>I am attempting to have a user record his name, then have this recording<br>announced on joining the conference, but I am struggling. Here is my<br>dialplan entry:-<br><br><br>&lt;extension name="main_number_11" continue="true"&gt;<br>&nbsp; &nbsp; &nbsp;&lt;condition field="destination_number" expression="^xxxxxxxxxxx$"&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="export" data="hold_music=silence"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="namefile=/tmp/${uuid}-name.wav"<br>inline="true"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="answer"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="sleep" data="1000"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="playback" data="conference/conf-welcome.wav"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="sleep" data="1000"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="playback"<br>data="voicemail/vm-record_name1.wav"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="playback" data="tone_stream://%(1000,0,500)"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="record" data="${namefile} 1"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="playback"<br>data="ivr/ivr-call_being_transferred.wav"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="set" data="res=${sched_api +1 none conference<br>$1-${domain_name}@conference_2 play<br>file_string://${namefile}!conference/conf-has_joined.wav}"/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application="transfer" data="$1 XML default"/&gt;<br>&nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>&nbsp; &nbsp;&lt;/extension&gt;<br><br>The call connects and I am prompted to record, then I am notified of the<br>imminent transfer, but it bombs out here. Sophia output reads<br><br>Command conference($1-192.168.3.178@conference_2 play<br>file_string:///tmp/b34c9679-9fdb-4934-a1d9-dd4b646c88e2-name.wav!conference/conf-has_joined.wav):<br>Conference $1-192.168.3.178@conference_2 not found<br><br>I can dial into the conference without issues when I disregard the 'Set'<br>expression and just dial the conference directly.<br><br>Can anybody point me in the right direction?<br>Thank you very much,<br>B</p></div></div></div></div></div><font color="#009900" size="4" face="Webdings">P</font><font color="#009900" size="2" face="verdana,arial,helvetica"> <strong>Please consider the environment before printing this email</strong></font> </div><div>&nbsp;</div><br><font size="3" face="Times New Roman"><a href="http://www.bbc.co.uk">http://www.bbc.co.uk</a><br>This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated.<br>If you have received it in error, please delete it from your system.<br>Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately.<br>Please note that the BBC monitors e-mails sent or received.<br>Further communication will signify your consent to this.</font>

</div></blockquote><blockquote type="cite"><div><span>_________________________________________________________________________</span><br><span>Professional FreeSWITCH Consulting Services:</span><br><span><a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a></span><br><span><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a></span><br><span></span><br><span>FreeSWITCH-powered IP PBX: The CudaTel Communication Server</span><br><span><a href="http://www.cudatel.com">http://www.cudatel.com</a></span><br><span></span><br><span>Official FreeSWITCH Sites</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br><span><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a></span><br><span><a href="http://www.cluecon.com">http://www.cluecon.com</a></span><br><span></span><br><span>Join Us At ClueCon - Aug 7-9, 2012</span><br><span></span><br><span>FreeSWITCH-users mailing list</span><br><span><a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a></span><br><span><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a></span><br><span>UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users</span><br><span><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><br></div></blockquote><font color="#009900" face="Webdings" size="4">P</font><font
  color="#009900" face="verdana,arial,helvetica" size="2"> <strong>Please
consider the environment before printing this email</strong></font>
</body></html>