<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [SubscriptionDelegate](./sip.js.subscriptiondelegate.md) &gt; [onTerminated](./sip.js.subscriptiondelegate.onterminated.md)

## SubscriptionDelegate.onTerminated() method

Subscription termination. This includes non-NOTIFY termination causes only. Thus this will not be called if a NOTIFY is the cause of termination. https://tools.ietf.org/html/rfc6665\#section-4.4.1

<b>Signature:</b>

```typescript
onTerminated?(): void;
```
<b>Returns:</b>

`void`

