TotalConfConn

Program ID

MetraPipeline.MTTotalConfConn.1

Description

TotalConfConn computes the total charge for the audio-conference connection.  This plug-in is designed to run in the child stage of an audio-conference compound session.

Required Input Properties

Tag name

Value type

Description

Precision

Long

The number of digits to maintain after the decimal point.

MtiDomesticRounded

decimal

The number of minutes rounded to the nearest meter tick interval.  This can be a fractional number of the MTI is less than one minute (i.e 1 second, 6 second)

MtiIntlRounded

decimal

Same as MtiDomesticRounded but for the international minutes

Rate

decimal

The domestic rate

RateIntl

decimal

The international rate

SetupCharge

decimal

Setup charge

MinCost

decimal

The minimum cost of the connection.

International

Boolean

If the connection is International.

CallType

string

The type of call.  Must be the DialInStr or DialOutStr (see additional configuration tags)

Required Output Properties

Tag name

Value type

Description

Amount

decimal

The total amount for this audio-conference connection.  It is the Maximum of MinCost or (StandardAmount + IntlAmount + SetupCharge)

StandardAmount

decimal

The domestic charge is MtiDomesticRounded * Rate

IntlAmount

decimal

The international charge is MtiIntlRounded * RateIntl if International is true and CallType is DialOutStr

Additional Configuration Tags

Tag name

Value type

Description

DialInStr

String

The string that signifies a Dial-in call.

DialOutStr

string

The string that signifies a Dial-out call.

Configuration Example

<configdata>
    <!-- inputs -->
    <Precision>Precision</Precision>
    <MtiDomesticRounded>ConnectionMinutes</MtiDomesticRounded>
    <MtiIntlRounded>MTI2RoundedDuration</MtiIntlRounded>
    <Rate>Rate</Rate>
    <RateIntl>RateIntl</RateIntl>
    <SetupCharge>SetupCharge</SetupCharge>
    <MinCost>MinCost</MinCost>
    <International>IsInternational</International>
    <CallType>CallType</CallType>
    <!-- outputs -->
    <Amount>_Amount</Amount>
    <StandardAmount>StandardAmount</StandardAmount>
    <IntlAmount>IntlAmount</IntlAmount>
   <DialInStr>Dial-In</DialInStr>
    <DialOutStr>Dial-Out</DialOutStr>
</configdata>

Remarks

International charges are not applied if the user called into the bridge.