Returns or sets the mode to handle calling party number and redirecting number on outgoing calls from a script, i.e. the script connects the call to an external destination.
PBXCall.CLIMode = 0
The property takes or returns an integer value.
The most common usage of this property is to set it within the PreProcessing rule which will be called for every incoming call to make sure to display the correct number.
The SwyxECR manual (chapter 220.127.116.11, Preprocessing and Postprocessing) explains the functionality of the pre- and post- processing system within the call routing.
Within the Enreach Partner Net there is a webinar available (English and German) which also describes functionality and usage of the PreProcessing in detail:
The following is a list of all possible values for the CLI mode:
Name Value PBXCLIModePreferOriginatingNumer 0 PBXCLIModePreferRedirectingNumber 1 PBXCLIModeUseOriginatingNumerOnly 2 PBXCLIModeUseRedirectingNumberOnly 3