Auto Egress with dispatch rules

Hi there -

How does one set up Auto Engress when using SIP trunk + dispatch rules and agents?

when manually dispatching an agent following a request from the browser for example, I can create the room with Auto Egress enabled, however, I’m not sure how to do this with dispatch rules.

Does one have to first add the user into a waiting room and then create a room with auto egress before dispatching the user and agent to that room?

The create dispatch rule api accepts room config object that includes the auto egress configuration: Room service API | LiveKit Documentation

2 Likes