CallControlAPIRouteToAsync(ActiveConnection, RouteRequest) Method

the request to route call to specific endpoint. the connection is assumed as Parent. Routing request could create many "ringing" destinations, but only one may answer The answering connection is replacing the parent connection. If all destination have failed, task is completed with failed state and Parent connection left alive.

Definition

Namespace: TCX.PBXAPI
Assembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
C#
public static Task<CallControlResult> RouteToAsync(
	this ActiveConnection ac,
	RouteRequest route
)

Parameters

ac  ActiveConnection
the parent connection of the route
route  RouteRequest
the route rquest

Return Value

TaskCallControlResult

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ActiveConnection. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

Exceptions

NotImplementedException

See Also