[Freeswitch-users] Cannot get automatic call recording working.
Michael Collins
msc at freeswitch.org
Wed Apr 13 01:18:24 MSD 2016
Capture the complete log output of a test call and drop it into
pastebin.freeswitch.org. The output will definitely tell you exactly what
the dialplan is doing, so if it is attempting to initiate the
record_session app then you'll see any errors that may have resulted.
-MSC
On Mon, Apr 11, 2016 at 12:54 PM, Piotr Starzyk <
pstarzyk at general-devices.com> wrote:
> I’m running FreeSWITCH in console mode on a Windows 7 machine, using
> unmodified demo setup. I’m having a hard time getting automatic call
> recording to work. I’m using the following instructions to record a call
> (by modifying Local_Extension dialplan):
>
>
>
>
> https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+record_session
>
> *Record Calls To Extensions*
>
> To record all phone calls between extensions do the following. Make a
> directory under freeswitch/recordings/archive/. Then edit Local_Extension
> in dialplan in conf/dialplan/default.xml
>
> <extension name="Local_Extension">
>
> <condition field="destination_number" expression="^(10[01][0-8])$">
>
> Then add the following actions.
>
> <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) 2011"/>
>
> <action application="set" data="RECORD_SOFTWARE=FreeSWITCH"/>
>
> <action application="set" data="RECORD_ARTIST=FreeSWITCH"/>
>
> <action application="set" data="RECORD_COMMENT=FreeSWITCH"/>
>
> <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/archive/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>
>
>
>
>
>
> But when I place a call, no files are getting created in the recordings or
> archive folder. I tried calling both ways, still nothing. I am running in
> admin mode, and have firewalls disabled.
>
>
>
> When looking through the logs, the only two lines relevant to the
> recording are the following:
>
>
>
> 892ef279-18c7-4d8d-8795-fa1c366b68c7 EXECUTE sofia/internal/
> 1000 at 10.10.10.77
> bind_meta_app(2 b s record_session::C:/Program Files/FreeSWITCH/recordings/1000.2016-04-11-15-16-58.wav)
>
>
> 892ef279-18c7-4d8d-8795-fa1c366b68c7 2016-04-11 15:16:58.521344 [INFO] switch_ivr_async.c:4152 Bound B-Leg: *2 record_session::C:/Program Files/FreeSWITCH/recordings/1000.2016-04-11-15-16-58.wav
>
>
>
> From FreeSWITCH cookbook, I found out they allow manual recording by
> pressing *2 on receiving end. When I tested that, it did work, and the wav
> file was created in the recordings directory, so the recording module seems
> to be working. But for some reason, I still can’t get the automatic
> session recording to work. What am I doing wrong?
>
>
>
>
>
> Thanks.
>
>
>
>
>
>
>
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160412/84b83aa5/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list