Configuring [Recorder]

The [Recorder] section is used to configure the interaction with orkaudio and the OrecX Audio .wav files (optional).

[Recorder]
server = localhost
audiodir = /var/log/orkaudio/audio
#ch0inremote = true
agentonchannel0 = never
#ucidprefix = ABC
keepaudio = true
mincalldur = 10
maxcalldur = 7200
maxcalls = 100000
port = 59150
reconnectdelay = 1
reconnectattempts = 0
reconnectmaxdelay = 600
metasrc = localhost:root:xxx:oreka
Table 1. Recorder Settings — /config/custom.cfg

Recorder Parameter

Values

Description

server

URL: HTTP or HTTPS

Specify the hostname of the OrecX server to receive call events.

audiodir

/var/log/orkaudio/audio (required)

Root of the directory hierarchy where Voci Adapter looks for audio files.

agentonchannel0

never (default), always , inbound , outbound

Possible values for agentonchannel0 are the following:

  1. always — The agent is on channel 0 regardless of call direction.

  2. never — The agent is on channel 1 regardless of call direction.

  3. inbound — The agent is on channel 0 for inbound calls only.

  4. outbound — The agent is on channel 0 for outbound calls only.

Note: Invalid values are ignored and the default value never is used instead.

ucidprefix

true , false

Enables addition of a ucid10 field, computed from the ucid field, using the specified prefix. ucid processing does not happen if the parameter is excluded.

keepaudio

true (default), false

Determines if the audio written by OrecX is kept or deleted after consumption.

port

The port of the OrecX server for receiving call events. The port parameter is not read by the Voci Adapter.

reconnectdelay

1 (default)

Initial delay in seconds before attempting to reconnect. Reconnects are attempted exponentially, where the waiting time increases between each attempt. The limit to the exponential increases in time is defined in the reconnectmaxdelay parameter.

reconnectattempts

0 (default)

Maximum number of reconnect attempts before shutting down the service. The default value 0 means unlimited.

reconnectmaxdelay

600 (default)

The maximum time to reach before attempting to reconnect. Reconnects are attempted exponentially, where the waiting time increases between each attempt.

deleteretry

0 (default)

Retry deleting the OrecX recording for the current call. The default value 0 means that it will not retry.