- Contents
Interaction Scripter Developer's Guide
Conference Calls
Conference calls allow many parties to participate in an interaction simultaneously. This is useful when it is necessary to connect multiple agents to an interaction or pull a supervisor into a conversation. Creating and managing a conference call in Scripter is surprisingly simple. The following Scripter functions will be used:
As with any interaction, knowing the CallID opens up many possibilities. Building conference calls is no different. It is simply a matter of adding objects, by their CallID, to a conference call object. Likewise, it is important to manage CallIDs by resetting them, simply by assigning their value to -1, before creating new conference or call objects. If a conference has not already been created then that will be the first step. After that, create a call object by dialing a party and then use the CallID of that object to add it to a conference. The scripter.conferenceObject.add method will add already created call objects to a conference.
In the example javascript code provided, the conference create and add processes are included in the same function. Use a global boolean variable to make a decision whether a new conference must be created.