<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [SubscribeUserAgentClient](./sip.js.subscribeuseragentclient.md) &gt; [onNotify](./sip.js.subscribeuseragentclient.onnotify.md)

## SubscribeUserAgentClient.onNotify() method

Handle out of dialog NOTIFY assoicated with SUBSCRIBE request. This is the first NOTIFY received after the SUBSCRIBE request.

<b>Signature:</b>

```typescript
onNotify(uas: NotifyUserAgentServer): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  uas | <code>NotifyUserAgentServer</code> | User agent server handling the subscription creating NOTIFY. |

<b>Returns:</b>

`void`

