> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# sipRefer()

> Hands off a SIP call to an external endpoint and removes Daily from the media path.

`sipRefer(options)`

Sends a SIP REFER to instruct the original SIP caller to establish a direct connection with a new destination. Once the REFER succeeds, Daily exits the media path entirely and stops billing for that leg.

Use this instead of [`sipCallTransfer()`](https://docs.daily.co/reference/react-native/instance-methods/sip-call-transfer) when Daily should not remain in the call path after the transfer. If Daily should stay anchored in the call, use `sipCallTransfer()`.

`sipRefer()` works with both [SIP providers](https://docs.daily.co/docs/guides/features/dial-in-dial-out#sip-providers). It is the only transfer method for a session on the Daily SIP provider.

Requires the initiating participant to be [an owner or admin](https://docs.daily.co/reference/rest-api/meeting-tokens/create-meeting-token.md#body-properties-permissions).

> [!WARNING]
>
> Each call to `sipRefer()` is billed separately. A one-time SIP REFER fee may apply when this method is called. Contact support for pricing details.

## Parameters

**sessionId** `string` *required*

The `session_id` of the SIP participant to transfer.

**toEndPoint** `string` *required*

The destination SIP URI (e.g., `sip:support@sip.example.com`) to refer the caller to.

## Return value

Returns a `Promise<void>`.

When the REFER is triggered, [`participant-left`](https://docs.daily.co/reference/react-native/events/participant-events#participant-left), [`dialin-stopped`](https://docs.daily.co/reference/react-native/events/telephony-events#dialin-stopped), and [`dialout-stopped`](https://docs.daily.co/reference/react-native/events/telephony-events#dialout-stopped) events fire in the originating room. For a session on SignalWire, the default provider, `calltransfer` webhooks (`triggered`, `initiated`, `answered`, `complete`) are also emitted.

## Example

```javascript theme={null}
await call.sipRefer({
  sessionId: 'ad96802d-c511-4d9a-a485-1a1af62732d0',
  toEndPoint: 'sip:support@sip.example.com',
});
```

## See also

> [card] Methods
>
> * [sipCallTransfer()](https://docs.daily.co/reference/react-native/instance-methods/sip-call-transfer.md)
> * [startDialOut()](https://docs.daily.co/reference/react-native/instance-methods/start-dial-out.md)

> [card] Events
>
> * [dialin-stopped](https://docs.daily.co/reference/react-native/events/telephony-events.md#dialin-stopped)
> * [dialout-stopped](https://docs.daily.co/reference/react-native/events/telephony-events.md#dialout-stopped)
> * [participant-left](https://docs.daily.co/reference/react-native/events/participant-events.md#participant-left)

> [card] Guides
>
> * [Dial-in / dial-out transfers](https://docs.daily.co/docs/guides/features/dial-in-dial-out/transfers.md)

> [card] REST API
>
> * [calltransfer-triggered webhook](https://docs.daily.co/reference/rest-api/webhooks/events/calltransfer-triggered.md)
> * [calltransfer-initiated webhook](https://docs.daily.co/reference/rest-api/webhooks/events/calltransfer-initiated.md)
> * [calltransfer-answered webhook](https://docs.daily.co/reference/rest-api/webhooks/events/calltransfer-answered.md)
> * [calltransfer-completed webhook](https://docs.daily.co/reference/rest-api/webhooks/events/calltransfer-completed.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.