Jump to: navigation, search

TMakePredictiveCall

Description

Originates a predictive call from the telephony object specified by the parameter dn to the called party specified by the parameter destination.

A predictive call occurs before any agent-subscriber interaction. For example, if the call is answered by a fax machine, no agent connection is made. Agent connection is made only if there is an actual subscriber present on the line.

Parameters

Name Description
server Local server handle to the T-Server in question.
dn Directory number of the telephony object from which the call is requested to be made. (See note below.)
destination Directory number of the party to be dialed.
ring_timeout Timeout, in seconds, after which the call should be considered unanswered.
user_data A pointer to the user data that should be attached to the call.
reasons A pointer to a data structure that provides additional information associated with this action.
extensions A pointer to an additional data structure. TMakePredictiveCall() uses the following extensions: VoiceDest, AnsMachine, and FaxDest. To specify a Calling Party Number (CPN), it may also use CPNType, CPNPlan, CPNPresentation, CPNScreening, and CPNDigits.

Return Values

Standard (See standard-return-values.)

Important
When selection of a target DN depends on the results of the call answer detection, T-Server generates EventDialing and EventQueued for the call origination DN specified by the dn parameter. Then, T-Server diverts a call to the target DN specified for this call type in the extensions parameter and generates EventDiverted for the DN specified by the dn parameter and appropriate events for the target DN.
This page was last edited on March 17, 2016, at 18:07.
Comments or questions about this documentation? Contact us for support!