CallControlAPIReplaceWithAsync(ActiveConnection, String, DN, CallControlAPIDivertReason) Method
Blind transfer with route to number. Does not allow to bypass forwarding/routing rules.
Namespace: TCX.PBXAPIAssembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
public static Task<CallControlResult> ReplaceWithAsync(
this ActiveConnection ac,
string number,
DN onBehalf = null,
CallControlAPIDivertReason divertreason = CallControlAPIDivertReason.None
)
- ac ActiveConnection
- The ActiveConnection which should be replaces with connection created by routing to the number
- number String
- the number where to the routing should be performed
- onBehalf DN (Optional)
- Route to the destination should be performed on behalf of the specified DN
- divertreason CallControlAPIDivertReason (Optional)
- not the None if tranfer should inherit diversion path from the parent
TaskCallControlResultIn 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).