many-forest-60185
10/29/2025, 11:04 PMtall-airline-16756
10/29/2025, 11:04 PMtall-airline-16756
10/29/2025, 11:06 PMtrunk_ids field in your dispatch rule with only the IDs of your inbound trunks. This way, the rule will apply just to calls coming from those trunks.
Example in Python:
dispatch_rule = await lk_api.sip.create_sip_dispatch_rule(
api.CreateSIPDispatchRuleRequest(
trunk_ids=[inbound_trunk.sip_trunk_id],
rule=api.SIPDispatchRule(
dispatch_rule_individual=api.SIPDispatchRuleIndividual(
room_prefix="call"
)
)
)
)
2. Use Explicit Dispatch for Outbound Rooms:
• For outbound calls, you can explicitly assign participants to specific rooms using the CreateSIPParticipant API.
Example in Python:
# Create outbound SIP participant with explicit room assignment
outbound_participant = await sip_client.create_sip_participant(
api.CreateSIPParticipantRequest(
sip_trunk_id="outbound_trunk_id",
sip_call_to="+1234567890",
room_name="explicit-room-name",
participant_identity="caller-identity"
)
)
If you run into any questions or need a hand with these steps, please don’t hesitate to reach out. I’m here to help!
Sources: packages/sip--um-actually/src/setup-livekit.ts | SIP dispatch rule | LiveKit Docs | protobufs/livekit_sip.proto | Community & Support | livekit/livekit_composite | DeepWikimany-forest-60185
10/30/2025, 12:38 AMtall-airline-16756
10/30/2025, 12:39 AMCreateSIPParticipant API to start the call directly through that trunk.
If you have any other questions or would like a hand with setting up your outbound configuration, please don’t hesitate to reach out—I’m here to help!
Sources: SIP overview | LiveKit Docs | livekit/livekit_sip.pb.gomany-forest-60185
10/30/2025, 12:39 AMtall-airline-16756
10/30/2025, 12:40 AMCreateSIPParticipant API to assign only the specific agent you want to the room.
Here are a few steps that might help:
1. Double-check that your outbound call logic is assigning the right participant and not triggering extra dispatch rules.
2. Confirm that voicemail detection is enabled and properly configured to handle voicemail calls, like disconnecting when voicemail is detected.
3. Review your agent dispatch settings to make sure no extra agents are being assigned by mistake.
If you’d like, I’m here to help you review your setup or guide you through making these changes. Just let me know!
Sources: Agents telephony integration | LiveKit Docs | agent.py | How to detect and handle silence during calls | examples/warm-transfer/warm_transfer.py | App templates | LiveKit docs