<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [SimpleUserDelegate](./sip.js.simpleuserdelegate.md) &gt; [onCallHold](./sip.js.simpleuserdelegate.oncallhold.md)

## SimpleUserDelegate.onCallHold() method

Called when a call is put on hold or taken off hold.

<b>Signature:</b>

```typescript
onCallHold?(held: boolean): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  held | <code>boolean</code> |  |

<b>Returns:</b>

`void`

## Remarks

Callback for handling re-INVITE responses.

