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<br><br><div class="gmail_quote">On Fri, Jun 15, 2012 at 10:08 AM, Bobthebeat <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">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><br>
</blockquote></div><br>