Supervisor Events
These events can be used by a softphone (sent from the base connector automatically) or by using the publishEvent API (when on a desk phone). These events can only be sent if the rep has the capability isSupervisor. They’re used by Salesforce to update the Supervisor Call Monitor UI.
For information about publishing events, see publishEvent().
- VOICE_EVENT_TYPE.CALL_BARGED_IN— This event notifies the rep that a supervisor has barged in. The payload is SupervisedCallInfo. This event can only be sent if rep has the
hasSupervisorListenIncapability. - VOICE_EVENT_TYPE.HOLD_TOGGLE—Can be used during Supervisor Barge In.
- VOICE_EVENT_TYPE.MUTE_TOGGLE—Can be used during Supervisor Barge In.
- VOICE_EVENT_TYPE.RECORDING_TOGGLE—Can be used during Supervisor Barge In.
- VOICE_EVENT_TYPE.SUPERVISOR_BARGED_IN— The supervisor has barged in. This event can be called by a hardphone when a supervisor has barged in successfully. To use it, the vendor needs to perform the barge in and then publish this event when the barge in is successful. This event can only be sent if rep has the
hasSupervisorListenIncapability. - VOICE_EVENT_TYPE.SUPERVISOR_CALL_CONNECTED — The call has connected. This event is sent automatically on a softphone. It must be sent from a desk phone to connect the call.
- VOICE_EVENT_TYPE.SUPERVISOR_CALL_STARTED — The call has started. This event is sent automatically by the base connector for desk phones.
- VOICE_EVENT_TYPE.SUPERVISOR_HANGUP — The supervisor has disconnected.
See Also