It might be possible that for inbound calls, the SIP setup requires the media path to be fully established before the call is considered "picked up." According to a
Slack discussion, the SIP connection is only fully established when another participant joins the conversation. This means that the call will not be considered "answered" until your LiveKit agent or another participant joins the room.
To ensure your agent is initialized before the call is picked up, you could configure your SIP trunk and dispatch rules to delay the connection until the agent is ready. This setup might involve ensuring that the agent joins the room promptly upon call initiation.
Would you like more detailed guidance on setting up your SIP trunk and dispatch rules for this purpose?
Sources:
-
Slack discussion š 0 button š 0 button š”
Hint: Mention @runllm in the thread for followups.