<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [sip.js](./sip.js.md) &gt; [SessionDescriptionHandler](./sip.js.sessiondescriptionhandler.md) &gt; [getDescription](./sip.js.sessiondescriptionhandler.getdescription.md)

## SessionDescriptionHandler.getDescription() method

Gets the local description from the underlying media implementation.

<b>Signature:</b>

```typescript
getDescription(options?: SessionDescriptionHandlerOptions, modifiers?: Array<SessionDescriptionHandlerModifier>): Promise<BodyAndContentType>;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  options | <code>SessionDescriptionHandlerOptions</code> | Options object to be used by getDescription. |
|  modifiers | <code>Array&lt;SessionDescriptionHandlerModifier&gt;</code> | Array with one time use description modifiers. |

<b>Returns:</b>

`Promise<BodyAndContentType>`

Promise that resolves with the local description to be used for the session. Rejects with `ClosedSessionDescriptionHandlerError` when this method is called after close or when close occurs before complete.

