Experiencing issues when calling the agent and put...
# ask-ai
h
Experiencing issues when calling the agent and putting it on speaker. The agent seems to hear itself and cut itself off.
t
Thanks for reaching out, Shawn. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'd love to help you get this sorted out! Could you please share a bit more about what's going on? Specifically: • Are you working with LiveKit's SDK or something custom? • Which device and browser or app are you using? • Is this happening all the time, or just in certain situations?
h
Call is coming in via SIP Trunk and the caller is calling from a iPhone and it happens all the time
t
I understand how echo during SIP Trunk calls can be quite frustrating. Let’s work through some steps together to help improve your call experience: • Enable Echo Cancellation: It’s important to make sure echo cancellation is turned on in your audio settings. For LiveKit, you can do this by setting the
echoCancellation
parameter to
true
within the
AudioCaptureOptions
. • Use Headphones: If it’s possible, asking participants to use headphones instead of speakerphone can really help reduce audio feedback. • Enable Noise Suppression: Turning on noise suppression can minimize background noise and make the audio much clearer. • Check Audio Processing Module: If you have a custom setup, double-check that the
AudioProcessingModule
has echo cancellation enabled as well. If you’re still experiencing the echo, no worries! Could you please let me know if echo cancellation is already enabled on your end and share some details about your current audio setup? That way, I can assist you further and find the best solution together. Sources: Noise & echo cancellation | LiveKit Docs | README.md | SIP troubleshooting guide | LiveKit Docs | livekit-rtc/livekit/rtc/apm.py | examples/local_audio/src/main.rs