ICallSetDefaultRoute Method

Script may specify "default" destination for the call. Default destination is triggered when: 1. Return(Boolean) is called by the initial CallFlow (no scripts objects to return). 2. unrecoverable failures in call flow.

Definition

Namespace: CallFlow
Assembly: 3CX.CallFlow (in 3CX.CallFlow.dll) Version: 20.0.1
C#
Task<bool> SetDefaultRoute(
	string destination,
	string custom_display_name = null
)

Parameters

destination  String
can be DN number or external number. in case of DN, the destination can be prepended with 'V' to request reroute to the voice mail box. If call was not answered by the route point, scripting engine will redirect call using Divert(String, Boolean)
custom_display_name  String  (Optional)
Desired caller Name (CN) for the default route. May be ignored if routing procedure or destination does not support modification of the caller name.

Return Value

TaskBoolean

See Also