As best I can tell it looks like this line is the problem: <condition field="destination_number" expression="^xxxxxxxxxxx$"> You need to wrap the capture value in parens like this: <condition field="destination_number" expression="^(xxxxxxxxxxx)$"> That should make $1 have something useful in it. -MC On Fri, Jun 15, 2012 at 10:08 AM, Bobthebeat <brian.meaney@bsb.ie> wrote:
Hi Folks,
brand new Freeswitch user here.
I have modified the example shown on the mod_conference (http://wiki.freeswitch.org/wiki/Mod_conference#FAQ) wiki for my own deployment.
I am attempting to have a user record his name, then have this recording announced on joining the conference, but I am struggling. Here is my dialplan entry:-
<extension name="main_number_11" continue="true"> <condition field="destination_number" expression="^xxxxxxxxxxx$"> <action application="export" data="hold_music=silence"/> <action application="set" data="namefile=/tmp/${uuid}-name.wav" inline="true"/> <action application="answer"/> <action application="sleep" data="1000"/> <action application="playback" data="conference/conf-welcome.wav"/> <action application="sleep" data="1000"/> <action application="playback" data="voicemail/vm-record_name1.wav"/> <action application="playback" data="tone_stream://%(1000,0,500)"/> <action application="record" data="${namefile} 1"/> <action application="playback" data="ivr/ivr-call_being_transferred.wav"/> <action application="set" data="res=${sched_api +1 none conference $1-${domain_name}@conference_2 play file_string://${namefile}!conference/conf-has_joined.wav}"/> <action application="transfer" data="$1 XML default"/> </condition> </extension>
The call connects and I am prompted to record, then I am notified of the imminent transfer, but it bombs out here. Sophia output reads
Command conference($1-192.168.3.178@conference_2 play
file_string:///tmp/b34c9679-9fdb-4934-a1d9-dd4b646c88e2-name.wav!conference/conf-has_joined.wav): Conference $1-192.168.3.178@conference_2 not found
I can dial into the conference without issues when I disregard the 'Set' expression and just dial the conference directly.
Can anybody point me in the right direction? Thank you very much, B
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/Conference-Caller-Announce-tp7... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org