
agent.ts β tsimport { FiretellClient, EClientEventName, type Call } from '@firetell/firetell-client-sdk';βconst client = new FiretellClient(agentJwt, 'yourcompany.firetell.app');const session = await client.ready;βclient.events.on(EClientEventName.CALL_RING, (ring) => {showIncomingCall(ring.from?.name, ring.from?.number);});βclient.events.on(EClientEventName.CALL_OFFER, (call: Call) => call.accept());
| Mode | Who hears the supervisor | Typical use |
|---|---|---|
| Listen | Nobody (silent) | Quality assurance and new-hire training |
| Whisper | Agent only | Live coaching during difficult conversations |
| Barge-in | Agent and caller | Escalations and taking over the call |