Hi, I have a project using LiveKit Agents that works as follows: a client makes an outbound call to the end user, and when the user answers, the call is redirected to our LiveKit server hosted on-prem in AWS.
The problem is that part of our logic depends on certain SIP headers sent by the client (via Asterisk), which should be mapped to the remote participant’s attributes using the headers to attributes feature. For some reason, those headers sometimes arrive correctly, and sometimes they don’t.
Has anyone experienced this? I’ve checked PCAPs both on the client and our side, and it looks like the call gets stuck in the SIP ringing state. The LiveKit server doesn’t respond, and after about 10 seconds the client sends a SIP CANCEL (this happens when it fails).
The LiveKit Server and so on is self hosted on AWS EKS. Does anyone have an idea why this happens?