Pause/resume recording mod_callcenter
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
mod_fifo (the call queue module written and maintained by the core freeswitch team) already automatically pauses recordings while you are waiting in queue by default.
On Sep 21, 2020, at 3:21 PM, Jonathan Hunter <jhunter@voxboxcoms.co.uk> wrote:
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
Hi Mike, Thanks for the reply. Understood with regards to mod_fifo, however I have already gone done the callcenter path quite a long way. In terms of recording, I have disabled call recording within mod_callcenter, however I cant see to append recordings correctly, it just overwrites it, am I using RECORD_APPEND correctly? Jon On Wed, Sep 23, 2020 at 8:58 PM Mike Jerris <mike@freeswitch.org> wrote:
mod_fifo (the call queue module written and maintained by the core freeswitch team) already automatically pauses recordings while you are waiting in queue by default.
On Sep 21, 2020, at 3:21 PM, Jonathan Hunter <jhunter@voxboxcoms.co.uk> wrote:
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
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services. Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
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 https://freeswitch.com
-- Jonathan Hunter Principle Consultant M:(+44) 7917 190 438 Email:jhunter@voxboxcoms.co.uk www.voxboxcoms.co.uk/
participants (2)
-
Jonathan Hunter
-
Mike Jerris