Do I put this code…
<extension
name="ext-666">
<condition field="destination_number"
expression="^666$">
<action application="set" data="RECORD_TITLE=Recording
${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d
%H:%M)}"/>
<action application="set" data="RECORD_COPYRIGHT=(c) 1980
Factory Records, Inc."/>
<action application="set"
data="RECORD_SOFTWARE=FreeSwitch"/>
<action application="set" data="RECORD_ARTIST=Ian
Curtis"/>
<action application="set" data="RECORD_COMMENT=Love will tear
us apart"/>
<action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d
%H:%M)}"/>
<action application="set" data="RECORD_STEREO=true"/>
<action application="record_session"
data="$${base_dir}/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
<action application="set" data="ringback=${us-ring}"/>
<action application="bridge"
data="sofia/external/18007842433@sip.voip-provider.com"/>
</condition>
</extension>
In the dialplan default file or the actual extension file?
Also I want to apply to all extensions so I thought I would
Edit the first two line like this
<extension name="all-ext">
<condition field="destination_number"
expression="^([1-9][0-9][0-9][0-9])$">
Is this correct?
Ilan Perez
Webmaster
From:
freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org]
On Behalf Of Brian West
Sent: 30 July 2008 23:48
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] Turn on call recording
http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session
/b
On Jul 30, 2008, at 1:18 AM, Ilan Perez wrote:
I was wondering if someone can tell me the command to turn on call
recording.
Ilan Perez
Webmaster
_______________________________________________
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
Brian West
sip:brian@freeswitch.org