I think I am missing something obvious. I've created a self-hosted SIP server that is run natively without Docker. I want to use it with LiveKit Cloud Server. My SIP Sever config.yaml is:
log_level: debug
api_key: xxxxxxx
api_secret: xxxxxxx
ws_url: wss://xxxxxx-5cb9cj27.livekit.cloud
health_port: 8080
sip_port: 5060
rtp_port: 10000-20000
use_external_ip: true
redis:
address: localhost:6379
Server is starting and running nicely.
In the Docs there are instructions on how to add Inbound Trunk and Dispatch Rule but those are added to the LiveKit Cloud.


Is this part done correctly? When using self-hosted SIP Server, do I still need to add Trunk and Dispatch config to the LiveKit Cloud or does need to go somewhere into the self-hosted SIP Server config?
On the Twilio side I also have the SIP-trunk configured and when I call my number I see in the SIP Server logs:
Jan 09 21:39:01 4066261-fk23777 sip[3081]: 2025-01-09T21:39:01.387+0300 INFO sip sip/inbound.go:173 processing invite {"nodeID": "NE_7PbsSX7sWPnH", "callID": "SCL_ZxHsyRYehWg6", "fromIP": "54.171.127.194", "toIP": "188.225.72.77:5060", "fromHost": "rodion-trunk.pstn.twilio.com", "fromUser": "+3725258198", "toHost": "188.225.72.77", "toUser": "+3726510312", "sipTag": "75348722_c3356d0b_11fbc320-60be-4765-b8b7-5a1734195fe9", "sipCallID": "c72948d3b463d8ff6f1e5e5556812462@0.0.0.0", "twilioCallSID": "CA3cb523806805f311638778f6ad3a63d1", "twilioAccSID": "AC75f32eb24a42a26e29ac1a086798f125"}
Jan 09 21:39:02 4066261-fk23777 sip[3081]: 2025-01-09T21:39:02.388+0300 WARN sip sip/inbound.go:209 Rejecting inbound, auth check failed {"nodeID": "NE_7PbsSX7sWPnH", "callID": "SCL_ZxHsyRYehWg6", "fromIP": "54.171.127.194", "toIP": "188.225.72.77:5060", "fromHost": "rodion-trunk.pstn.twilio.com", "fromUser": "+3725258198", "toHost": "188.225.72.77", "toUser": "+3726510312", "sipTag": "75348722_c3356d0b_11fbc320-60be-4765-b8b7-5a1734195fe9", "sipCallID": "c72948d3b463d8ff6f1e5e5556812462@0.0.0.0", "twilioCallSID": "CA3cb523806805f311638778f6ad3a63d1", "twilioAccSID": "AC75f32eb24a42a26e29ac1a086798f125", "error": "no response from servers"}
It says "no response from servers", but what servers is it not getting the response from?
In Twilio the Origination URL is:
SID Friendly Name Sip URL Priority Weight
OU4923984c171009f70f8de239b496218a null sip:188.225.72.77 1 1
Does my config look correct? What am I missing to make this work?
I think I am missing something obvious. I've created a self-hosted SIP server that is run natively without Docker. I want to use it with LiveKit Cloud Server. My SIP Sever config.yaml is:
Server is starting and running nicely.
In the Docs there are instructions on how to add Inbound Trunk and Dispatch Rule but those are added to the LiveKit Cloud.
Is this part done correctly? When using self-hosted SIP Server, do I still need to add Trunk and Dispatch config to the LiveKit Cloud or does need to go somewhere into the self-hosted SIP Server config?
On the Twilio side I also have the SIP-trunk configured and when I call my number I see in the SIP Server logs:
It says "no response from servers", but what servers is it not getting the response from?
In Twilio the Origination URL is:
Does my config look correct? What am I missing to make this work?