<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [UserAgentOptions](./sip.js.useragentoptions.md) &gt; [autoStop](./sip.js.useragentoptions.autostop.md)

## UserAgentOptions.autoStop property

If `true`<!-- -->, the user agent calls the `stop()` method on unload (if running in browser window).

<b>Signature:</b>

```typescript
autoStop?: boolean;
```
