# LiveKit

[Web version](https://docs.eis.it/en/voip/livekit)

LiveKit Telephony connects SIP providers outside the LiveKit rooms. An inbound trunk receives calls, a dispatch rule assigns them to a room and a trunk outbound allows agents to originate calls.

## Integration path

### Prepare the EIS service

Activate the number and create a dedicated SIP Trunk with endpoint and authentication compatible with LiveKit.

### Create inbound trunk

In LiveKit configures the trunk with the EIS numbering and limits the sources when architecture allows it.

### Add a dispatch rule

Define how each call is assigned to room and agent.

### Configure the outbound trunk

Enter EIS endpoint, licensed numbering and credentials provided to generate calls.

### Test the agent

Check room creation, agent input, audio, termination and transfers.

Technical sources: [LiveKit SIP trunk setup](https://docs.livekit.io/telephony/start/sip-trunk-setup/) and [LiveKit SIP API](https://docs.livekit.io/reference/telephony/sip-api/).

> LiveKit separates trunk, dispatch rule and SIP participant. Keep these identifiers in application logs to rebuild the path of each call.
