<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [UserAgent](./sip.js.useragent.md) &gt; [(constructor)](./sip.js.useragent._constructor_.md)

## UserAgent.(constructor)

Constructs a new instance of the `UserAgent` class.

<b>Signature:</b>

```typescript
constructor(options?: Partial<UserAgentOptions>);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  options | <code>Partial&lt;UserAgentOptions&gt;</code> | Options bucket. See [UserAgentOptions](./sip.js.useragentoptions.md) for details. |

