2.1.2 Scripting - Technical Details
In this section you will find a description of the technical processes during the creation and editing of a Rule Book.
If rules, actions or sequences of actions are created using the Call Routing Manager or the Graphical Script Editor, these will be saved as Visual Basic Script (VBScript) in the database. The rules of Call Routing Managers are saved in the "user_book.srb" file. The Graphical Script Editor creates a ruleXXX.rse or actionXXX.ase file and a corresponding VBScript ruleXXX.vbs or actionXXX.vbs for each rule or action. XXX stands for the name of the rule or action.
If you close the Call Routing Manager, the CRM will compile all rules and actions into a Rule Book, which is then saved in the database as a VBScript called ‘callrouting.vbs’.
If the user now receives a call, this Rule Book will be applied or, in other words, the file ‘callrouting.vbs’ for this user will be executed by SwyxServer . The script ‘callrouting.vbs’ references other script files, which are also automatically started by SwyxServer.