5-09-23 14:17:22,103 - ERROR outbound-caller - err...
# ask-ai
s
2025-09-23 141722,103 - ERROR outbound-caller - error creating SIP participant: twirp error unknown: unexpected status from INVITE response: sip status: 500: Internal Server Error, SIP status: 500 Internal Server Error
t
Thanks for reaching out, Ajay. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
It looks like the error message is pointing to a server-side issue when creating a SIP participant. Let’s work through some steps together to help get this sorted out: 1. Validate SIP Trunk Configuration: Please double-check that your outbound trunk is set up correctly with the right credentials and that the
sip_trunk_id
is accurate. Also, verify the SIP endpoint address and destination country parameters if they apply. 2. Check Request Parameters: Make sure all the necessary fields like
sip_call_to
,
room_name
, and
participant_identity
are included and formatted properly. 3. Review Server Logs: Since this is an internal server error, taking a look at the LiveKit server logs can be really helpful. They often provide detailed messages that can pinpoint the root cause. 4. Test and Debug: Try using simplified requests to narrow down the issue, and review some implementation examples to ensure the API is being used correctly. Adding retry logic might also help if the errors are temporary. If you’re still running into trouble after these steps, please feel free to share more details like your
sip_trunk_id
, request parameters, and any relevant server log info. I’m here to help you through this! Sources: livekit/livekit_sip.twirp.go | livekit-protocol/livekit/protocol/sip.py | SIP troubleshooting guide | LiveKit Docs | agent.py | ivr-nagivator/flask_livekit/extension.py