[Freeswitch-users] Pause/resume recording mod_callcenter

Jonathan Hunter jhunter at voxboxcoms.co.uk
Mon Sep 21 19:21:48 UTC 2020


Hi guys,

I did see a post some years back when someone was using mod_callcenter and
trying to get pause/resume recording working correctly.

I am aware callcenter records by default but have removed that from the
profile, and I am trying to set the record parameters below before it hits
the call queue;


table.insert(xml, [[<action application="export"
data="RECORD_STEREO=true"/>]]);
table.insert(xml, [[<action application="export"
data="RECORD_TOGGLE_ON_REPEAT=true"/>]]);
table.insert(xml, [[<action application="export"
data="RECORD_APPEND=true"/>]]);
table.insert(xml, [[<action application="export"
data="execute_on_answer=record_session
$${recordings_dir}/${caller_id_number}.${uuid}.wav"/>]]);
table.insert(xml, [[<action application="bind_meta_app" data="1 b s
stop_record_session::$${recordings_dir}/${caller_id_number}.${uuid}.wav"/>]]);
table.insert(xml, [[<action application="bind_meta_app" data="2 b s
record_session::$${recordings_dir}/${caller_id_number}.${uuid}.wav"/>]]);

When the call answers the recording is there, however when I hit *1 it does
stop the recording, however when I hit *2 it starts recording again but
creates a new file, doesnt append the existing file.

Am I doing something wrong here with configuration? As just want to be able
to pause recording, and then start it which would then append.

We are using freeSWITCH version 1.10.5.

Any advice would be great!

Thanks

Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20200921/f68866f2/attachment.html>


More information about the FreeSWITCH-users mailing list