big-microphone-99982
11/24/2025, 4:15 AMtall-airline-16756
11/24/2025, 4:15 AMtall-airline-16756
11/24/2025, 4:15 AMagent_name in the agent’s @rtc_session decorator so agents only join when explicitly dispatched.
• Ensure the access token used by your orchestration service includes the SIPCall grant so the agent can make/receive SIP calls.
• Implement SIP handling in your agent code:
◦ Use session.generate_reply() to answer incoming calls.
◦ Add any DTMF, voicemail, transfer, or other call logic you need.
◦ For outbound calls after dispatch, use ctx.api.sip.create_sip_participant().
• (Optional) Configure room_config.egress in the dispatch rule to record or perform AutoEgress for calls if you need recordings.
• Test the full flow by starting the agent, placing an inbound call (or initiating outbound), and verifying the agent joins and handles the call as expected.
Would you like steps for configuring a SIP trunk with a specific provider, or an example agent snippet for answering calls?
Sources: SIP overview | LiveKit docs | SIP trunk setup | LiveKit docs | LiveKit Phone Numbers | LiveKit docs | Agents telephony integration | LiveKit Docs | Agent dispatch | LiveKit docsthousands-football-71253
11/24/2025, 4:56 AMtall-airline-16756
11/24/2025, 4:56 AMagent_name 명시적 디스패치, SIPCall 권한 토큰 설정, session.generate_reply() 사용 예제) 예시 코드 제공
• 디스패치 규칙에 room_config.egress 추가해서 녹음/AutoEgress 설정 방법 안내
• 전체 흐름 테스트 체크리스트 제공
어떤 걸 도와드릴까요?