CallDuration

The CallDuration plugin converts the value in RawActualDuration to minutes.

Program ID

MetraPipeline.MTCallDurationPlugin.1

Required Input Properties

Tag Name

Value Type

Description

RawActualDuration

Long

The duration of the call in seconds

Required Output Properties

Tag Name

Value Type

Description

ActualDuration

decimal

The duration of the call in minutes

Additional Configuration Tags

None.

Configuration Example

<configdata>
    <RawActualDuration>RawActualDuration</RawActualDuration>
    <ActualDuration>ActualDuration</ActualDuration>
</configdata>
 

Remarks

If RawActualDuration is not evenly divisible by 60, ActualDuration is the number of minutes + (a fractional value *0.6). For instance, if a call takes 23 minutes and 30 seconds ActualDuration is 23.3. If a call takes 23 minutes and 58 seconds, ActualDuration is 23.578. Note that the precise duration of the call can be lost due to the conversion to a decimal.