CallControlAPIReplaceWithAsync(ActiveConnection, RegistrarRecord, DN, CallControlAPIDivertReason) Method
BlindTransfer to the specific device. Ignores all forwarding rules and tries to deliver call to specific device.
Namespace: TCX.PBXAPIAssembly: 3cxpscomcpp2 (in 3cxpscomcpp2.dll) Version: 20.0.1
public static Task<CallControlResult> ReplaceWithAsync(
this ActiveConnection ac,
RegistrarRecord device,
DN onBehalf = null,
CallControlAPIDivertReason divertreason = CallControlAPIDivertReason.None
)
- ac ActiveConnection
- The connection which should be replaces by connection with device
- device RegistrarRecord
- The exact device which should answer to replace ac
- onBehalf DN (Optional)
- route on behalf of the DN instead of owner of the connection
- divertreason CallControlAPIDivertReason (Optional)
- No None if routing should inherit divertion path
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).