<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'>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:-<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><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):<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Conference 35319017881-192.168.3.178 not found<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Its clear my issue is now with how the ‘res’
statement should be formed. I now have:-<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><action application="set"
data="res=${sched_api +1 none conference $1@conference_2 play
file_string://${namefile}!conference/conf-has_joined.wav}"/><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><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?<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'> <o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </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 18:43<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> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>As best I can tell it looks
like this line is the problem:<br>
<condition field="destination_number"
expression="^xxxxxxxxxxx$"><br>
<br>
You need to wrap the capture value in parens like this:<br>
<condition field="destination_number" expression="^(xxxxxxxxxxx)$"><br>
<br>
That should make $1 have something useful in it.<br>
<br>
-MC<o:p></o:p></p>
<div>
<p class=MsoNormal>On Fri, Jun 15, 2012 at 10:08 AM, Bobthebeat <<a
href="mailto:brian.meaney@bsb.ie" target="_blank">brian.meaney@bsb.ie</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal>Hi Folks,<br>
<br>
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>
<extension name="main_number_11" continue="true"><br>
<condition field="destination_number"
expression="^xxxxxxxxxxx$"><br>
<action application="export"
data="hold_music=silence"/><br>
<action application="set"
data="namefile=/tmp/${uuid}-name.wav"<br>
inline="true"/><br>
<action application="answer"/><br>
<action application="sleep"
data="1000"/><br>
<action application="playback"
data="conference/conf-welcome.wav"/><br>
<action application="sleep"
data="1000"/><br>
<action application="playback"<br>
data="voicemail/vm-record_name1.wav"/><br>
<action application="playback"
data="tone_stream://%(1000,0,500)"/><br>
<action application="record"
data="${namefile} 1"/><br>
<action application="playback"<br>
data="ivr/ivr-call_being_transferred.wav"/><br>
<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}"/><br>
<action application="transfer"
data="$1 XML default"/><br>
</condition><br>
</extension><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<br>
<br>
--<br>
View this message in context: <a
href="http://freeswitch-users.2379917.n2.nabble.com/Conference-Caller-Announce-tp7579898.html"
target="_blank">http://freeswitch-users.2379917.n2.nabble.com/Conference-Caller-Announce-tp7579898.html</a><br>
Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<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>
Join Us At ClueCon - Aug 7-9, 2012<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><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</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>