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. This forum thread gives a brief explanation how to setup the pre processing. There is also a screencast available demoing these steps.
Additonally you should refer to the official SwyxECR manual, chapter 1.2.1.1 Preprocessing and Postprocessing.
The Swyx Partner Net Knowledgebase also provides an article on the PreProcessing topic:
The following is a list of all possible values for the CLI mode.
| Name |
Value |
| PBXCLIModePreferOriginatingNumer |
0 |
| PBXCLIModePreferRedirectingNumber |
1 |
| PBXCLIModeUseOriginatingNumerOnly |
2 |
| PBXCLIModeUseRedirectingNumberOnly |
3 |
? Server Script API
|
| View Topic History
|