JTapiMakeCall

Metreos.Providers.JTapi.JTapiMakeCall

Summary

Causes a monitored device to place a call from a specific line.

Usage

JTapiMakeCall will cause a line on a monitored device to place a call.

The JTapiCallActive event will fire to the same script that issued the JTapiMakeCall, if the remote party specified by the To action parameter answers the call.

If the remote party specified by the To action parameter answers the call, then the call is bound to this script, meaning JTapiCallActive, JTapiCallInactive, JTapiGotDigits, and JTapiHangup event will fire to the same script that issued the JTapiMakeCall.

If the outbound call from the monitored phone is cancelled before the remote party answers, then a JTapiHangup event is sent to the same script that issued the JTapiMakeCall.

A device in Cisco Unified Communications Manager does not make or receive calls; the line(s) on that device do. Therefore it is necessary to specify a real line number found on the device as the value of the From action parameter.

Remarks

None.

Action Parameters
Parameter Name.NET TypeDefaultDescription
DeviceName *System.StringThe name of a controlled device from which to place the call. The From action parameter must be a valid line number on this device.
TimeoutSystem.Int32The Timeout property specifies to the Application Runtime Environment how long to wait for a response from the provider for the current action. The ReturnValue returned in this case is Timeout. The value must be a literal value in milliseconds.
FromSystem.StringThe line on the controlled device from which to originate the call leg.
To *System.StringThe destination number for this call. In practice, this number must be routable according to the dial plan of the Cisco Unified Communications Manager cluster that the call is sent to.
Result Data
Parameter Name.NET TypeDescription
CallIdSystem.StringUnique identifier used to identify this call in all subsequent JTapi API operations.

Branch Conditions 

Success

No description.

Failure

No description.

Timeout

No description.