Hi everyone,
I have a setup using Matrix, LiveKit, and LiveKit SIP:
• I installed Matrix Synapse on one server.
• I installed LiveKit and LiveKit SIP on a different server using Docker images.
• I created an outbound trunk to connect to PSTN using LiveKit CLI commands.
• I created a participant to call an external number.
When I use the LiveKit CLI to create the participant:
• The call is established successfully.
• The external number is connected.
• The participant is added to a pre-existing room that already has other Matrix participants joined.
Issue:
• I am getting one-way audio for the call.
• No audio on the Matrix/LiveKit side.
• The PSTN side receives distorted audio.
Could you please suggest:
• What could be causing these audio issues?
• Where should I start troubleshooting this setup?
I checked the RTP in the PCAP and found that the RTP from the Element app to LiveKit is present, and the audio from the external PSTN to LiveKit SIP is also visible and I can hear both the audio clearly. However, for some reason, the participant on the Element app side cannot hear any audio — the audio from LiveKit SIP is not reaching the Element client.
Thanks in advance!