<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 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
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-IE link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks MC,<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;Here it is:-<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&lt;extension name=&quot;main_number_11&quot;
continue=&quot;true&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot;
expression=&quot;^(xxxxxxxxxxx)$&quot;&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;export&quot;
data=&quot;hold_music=silence&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;namefile=/tmp/${uuid}-name.wav&quot; inline=&quot;true&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;answer&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;sleep&quot;
data=&quot;1000&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;playback&quot;
data=&quot;conference/conf-welcome.wav&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;sleep&quot;
data=&quot;1000&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;playback&quot;
data=&quot;voicemail/vm-record_name1.wav&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;playback&quot;
data=&quot;tone_stream://%(1000,0,500)&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;record&quot;
data=&quot;${namefile} 1&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;playback&quot;
data=&quot;ivr/ivr-call_being_transferred.wav&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot;
data=&quot;res=${sched_api +1 none conference $1@conference_2 play
file_string://${namefile}!conference/conf-has_joined.wav}&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;transfer&quot;
data=&quot;$1 XML default&quot;/&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>&nbsp;&nbsp;&nbsp; &lt;/extension&gt;<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'>
freeswitch-users-bounces@lists.freeswitch.org
[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<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Show us the dialplan code where
you put the caller into the conference.<br>
-MC<o:p></o:p></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:<o:p></o:p></p>

<div>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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
&#8216;res&#8217; expression by using $1-{domain}<br>
However, it still wont connect to the conference. Sophia output is now:-</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Conference
35319017881-192.168.3.178 not found</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Its
clear my issue is now with how the &#8216;res&#8217; statement should be formed. I now
have:-</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&lt;action
application=&quot;set&quot; data=&quot;res=${sched_api +1 none conference
$1@conference_2 play file_string://${namefile}!conference/conf-has_joined.wav}&quot;/&gt;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>&nbsp;</span><o:p></o:p></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> <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><o:p></o:p></p>

</div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>As best
I can tell it looks like this line is the problem:<br>
&lt;condition field=&quot;destination_number&quot;
expression=&quot;^xxxxxxxxxxx$&quot;&gt;<br>
<br>
You need to wrap the capture value in parens like this:<br>
&lt;condition field=&quot;destination_number&quot; expression=&quot;^(xxxxxxxxxxx)$&quot;&gt;<br>
<br>
That should make $1 have something useful in it.<br>
<br>
-MC<o:p></o:p></p>

<div>

<p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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:<o:p></o:p></p>

<p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>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=&quot;main_number_11&quot; continue=&quot;true&quot;&gt;<br>
&nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot;
expression=&quot;^xxxxxxxxxxx$&quot;&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;export&quot;
data=&quot;hold_music=silence&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot;
data=&quot;namefile=/tmp/${uuid}-name.wav&quot;<br>
inline=&quot;true&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;answer&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;sleep&quot;
data=&quot;1000&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;playback&quot;
data=&quot;conference/conf-welcome.wav&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;sleep&quot;
data=&quot;1000&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;playback&quot;<br>
data=&quot;voicemail/vm-record_name1.wav&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;playback&quot;
data=&quot;tone_stream://%(1000,0,500)&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;record&quot;
data=&quot;${namefile} 1&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;playback&quot;<br>
data=&quot;ivr/ivr-call_being_transferred.wav&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;set&quot;
data=&quot;res=${sched_api +1 none conference<br>
$1-${domain_name}@conference_2 play<br>
file_string://${namefile}!conference/conf-has_joined.wav}&quot;/&gt;<br>
&nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;transfer&quot;
data=&quot;$1 XML default&quot;/&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<o:p></o:p></p>

</div>

</div>

</div>

</div>

</div>

<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>