I was wondering if someone can tell me the command to turn on call recording. Ilan Perez Webmaster
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
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_n umber}_${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
You can put it in either place.. the extensions folder is next to the last thing in line in the dialplan. /b On Jul 30, 2008, at 8:13 PM, Ilan Perez wrote:
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
Brian West sip:brian@freeswitch.org
As a suggested best practice I would recommend making as few changes to the default config as possible. In the case of conf/dialplan/ extensions/ it is easy to put all of your custom extension definitions in one or more distinct files. You get multiple benefits: You don't have to sift through a large and sometimes unfamiliar XML file. You don't have to worry about messing up the default config. When the default config gets updated in svn you can update without wiping out your customizations. -MC Sent from my iPhone On Jul 30, 2008, at 6:23 PM, Brian West <brian@freeswitch.org> wrote:
You can put it in either place.. the extensions folder is next to the last thing in line in the dialplan.
/b
On Jul 30, 2008, at 8:13 PM, Ilan Perez wrote:
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
Brian West sip:brian@freeswitch.org
_______________________________________________ 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
participants (3)
-
Brian West
-
Ilan Perez
-
Michael S Collins