<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [Byer](./sip.js.byer.md) &gt; [(constructor)](./sip.js.byer._constructor_.md)

## Byer.(constructor)

Constructs a new instance of the `Byer` class.

<b>Signature:</b>

```typescript
constructor(session: Session, options?: ByerOptions);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  session | <code>Session</code> | The session the BYE will be sent from. See [Session](./sip.js.session.md) for details. |
|  options | <code>ByerOptions</code> | An options bucket. See [ByerOptions](./sip.js.byeroptions.md) for details. |

