The Call Ending VBScript Macro is a macro that is guaranteed to execute at the end of every Call Tree processed by Active Call Center. Although the "Speak" variables and other variables that interact with the caller do not work in the call ending macro, the call ending macro does provide a useful place to perform call ending "cleanup" operations.
Call ending macros are specific to individual Call Trees. To view/modify the call ending macro for a specific Call Tree:
Open the Call Tree.
From the menu bar, choose Call Tree ... Edit Call Tree's Ending VBScript Macro.
Note: the call ending Macro only executes if the Call Tree actually begins processing. For example: with some telephony devices outbound calls that result in busy signals do not generate a "connected" event that initiates Call Tree processing. In these special situations, the call ending Macro may not execute. Test the behavior of your specific hardware carefully for such anomalies.