Show us the dialplan code where you put the caller into the conference.<br>-MC<br><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 11:21 AM, Brian Meaney <span dir="ltr"><<a href="mailto:brian.meaney@bsb.ie" target="_blank">brian.meaney@bsb.ie</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-IE">
<div>
<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:-<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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):<u></u><u></u></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<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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:-<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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}"/><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></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?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"" 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<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><u></u> <u></u></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<u></u><u></u></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:<u></u><u></u></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></p></div></div></div></blockquote></div>