VoiceGuide IVR Software Main Page
Jump to content

Recording Incomming Call With Prompts

Recommended Posts

How to record incoming call (not transfered) including caller and IVR sounds?



We need to record what hear caller from IVR and what he is talking during connection.

Share this post

Link to post

Recording of the callers interaction with the IVR can be done using the action_callrec_start and action_callrec_stop directives.


Setting $RV[action_callrec_start] to the filename to record into will start the recording.

Setting $RV[action_callrec_stop] will stop the recording.



vg.RvSet $RV_LINEID, "action_callrec_start", "C:\mydir\myfile.wav"

vg.RvSet $RV_LINEID, "action_callrec_stop", ""



A 'pool' of voice resources needs to be set up. Voice resources from that 'pool' will then be used to make the recording.


Here is an example of the 'voice device pool' definition in Config.xml:


The voice devices assigned to the pool cannot be used by any Channel. ie. Only extra spare voice devices that are not assigned to any channel can be placed in a pool.


Alternatively, if a <Device_Voice2> is set as part of the <Channel> configuration in Config.xml then that voice device will be used to make the recording.

Share this post

Link to post

The Record_2Lines_Start function can also be used.


Same $RV_LINEID must be specified for all three LineID parameters in order to record both sides of the Caller<->IVR interaction. eg:

vg.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV_LINEID, "c:\mydir\myfile.wav", ""

The additional voice resource must be made available by setting a entry <Device_Voice2> in Config.xml, or by assigning sufficient voice devices to a 'pool', as per previous post.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now