<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [Inviter](./sip.js.inviter.md)

## Inviter class

An inviter offers to establish a [Session](./sip.js.session.md) (outgoing INVITE).

<b>Signature:</b>

```typescript
export declare class Inviter extends Session 
```

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(userAgent, targetURI, options)](./sip.js.inviter._constructor_.md) |  | Constructs a new instance of the <code>Inviter</code> class. |

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [body](./sip.js.inviter.body.md) |  | <code>BodyAndContentType &#124; undefined</code> | Initial outgoing INVITE request message body. |
|  [localIdentity](./sip.js.inviter.localidentity.md) |  | <code>NameAddrHeader</code> | The identity of the local user. |
|  [logger](./sip.js.inviter.logger.md) |  | <code>Logger</code> | Logger. |
|  [remoteIdentity](./sip.js.inviter.remoteidentity.md) |  | <code>NameAddrHeader</code> | The identity of the remote user. |
|  [request](./sip.js.inviter.request.md) |  | <code>OutgoingRequestMessage</code> | Initial outgoing INVITE request message. |

## Methods

|  Method | Modifiers | Description |
|  --- | --- | --- |
|  [cancel(options)](./sip.js.inviter.cancel.md) |  | Cancels the INVITE request. |
|  [dispose()](./sip.js.inviter.dispose.md) |  | Destructor. |
|  [invite(options)](./sip.js.inviter.invite.md) |  | Sends the INVITE request. |

