> ## Documentation Index
> Fetch the complete documentation index at: https://docs-classic.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ringing

> The ringing event fires when an outgoing call is in progress and the remote party's phone is ringing.

Emitted when an outgoing call is ringing (progress). This event means the call is in progress and the remote party hasn't answered. While the call is ringing, [`getCurrentSession()`](https://docs-classic.cognigy.com/click-to-call/sdk/api-reference/get-current-session) returns `null`. You can't end or mute the call.

## Category

Call

## Callback Parameters

| Parameter | Type | Description |
| - | - | - |
| `session` | [`CallSession`](https://docs-classic.cognigy.com/click-to-call/sdk/api-reference/types#callsession) | The current call session. |

## Example

```typescript theme={null}
client.on('ringing', (session) => {
  console.log('Call is ringing. Session ID:', session.id);
});
```

## More Information

* [answered](https://docs-classic.cognigy.com/click-to-call/sdk/event-reference/answered.md)
* [failed](https://docs-classic.cognigy.com/click-to-call/sdk/event-reference/failed.md)
* [startCall](https://docs-classic.cognigy.com/click-to-call/sdk/api-reference/start-call.md)
* [CallSession](https://docs-classic.cognigy.com/click-to-call/sdk/api-reference/types.md#callsession)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.