Record_2Lines_Start
Start Recording the sound from two sources into the specified file. Can be used to record:
- Both sides of a bridged/conferenced call, or
- Caller's interaction with the IVR
Can also record each side of the call into separate files. Those separate files can then be used to create a trasncription of the call that identifies what each party said.
Syntax
object.Record_2Lines_Start iLineIdRec, iLineId1, iLineId2, sSoundFile, sOptions
Part | Description |
object | VoiceGuide object |
iLineIdRec | LineID or device name of the line handling the recording process. |
iLineId1 | LineID or device name of the first line to be recorded |
iLineId2 | Identification number of the second line to be recorded |
sSoundFile | Filename of the created sound file |
sOptions | Options |
Options
play_beep : Play a beep tone when recording
ab_split : Make separate 'A' side and 'B' side recordings as well as the main recording.
stt_after_record : Make separate 'A' side and 'B' side recordings as well as the main recording.
Note:
In the examples below the predefined vgo object is used, instead of creating the "vgServices.CommandLink" object.
Example : Record a bridged call between two parties.
vgo.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV[Conf_LineId_2], "c:\recfile.wav", ""
Example : Record caller's interaction with the IVR. Everything caller says/presses and everything the IVR plays will be recorded.
A "Pool" of voice resources must be set up in order to use this functionality. One "Pool" voice resource is used for this call.
vgo.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV_LINEID,, "c:\recfile.wav", ""
Example : Record a bridged call into the 3 separate files: Main, A-Side, B-Side.
A "Pool" of voice resources must be set up in order to use this functionality. Two "Pool" voice resource are used for this call.
vgo.Record_2Lines_Start $RV_LINEID, $RV_LINEID, $RV[Conf_LineId_2], "c:\newfile.wav", "ab_split"
Note : To create a "Pool" of voice resources the <Pools> section would need to be placed
inside the
Voice devices then must be allocated to the pool. Voice devices allocated to the pool cannot be assigned to any line/channel.
<Pools>
<Pool_Voice>
<Device_Voice>dxxxB11C1</Device_Voice>
<Device_Voice>dxxxB11C2</Device_Voice>
<Device_Voice>dxxxB11C3</Device_Voice>
<Device_Voice>dxxxB11C4</Device_Voice>
<Device_Voice>dxxxB12C1</Device_Voice>
<Device_Voice>dxxxB12C2</Device_Voice>
<Device_Voice>dxxxB12C3</Device_Voice>
<Device_Voice>dxxxB12C4</Device_Voice>
</Pool_Voice>
</Pools>