Caller ID information is provided to the Call Tree in the CallerIDName and CallerIDNumber variables. Refer to these variables in a macro to retrieve Caller ID information that may be present. For more information, refer to the section on Caller ID variables.
Example
Create a Call Tree that retrieves Caller ID information:
From the menu bar, choose File ... New Call Tree and create a new Call Tree.
Click on the Answer_Phone Node (the purple phone icon).
When the Edit Node window appears, check the box marked Don't Ask a Question at this Node.
Click over to the VBScript Macro tab.
Set the macro to the following:
MsgBox "Incoming call from " & _ CallerIDName & " at " & _
CallerIDNumber
Press Click here when finished to close the Edit Node window.
From the menu bar, choose Phone Calls ... Monitor Phone Lines to test the Call Tree.