https://retellai.com/?utm_source=discord&utm_medium=seo logo
Agent Speaking for Both User and Assistant Roles
# ❓・bug-report
m
Call ID: call_e96ca2481db39b618a8d3c2950c I'm experiencing a critical issue with my voice agent where the assistant is generating messages that appear to come from both the user and assistant sides of the conversation, causing role confusion. In my test conversation (see attached screenshot), the agent is saying \"Salve\" (Hello) twice and generating the user's side of the conversation instead of only responding. The transcript shows: - \"Salve,\" (appears as assistant) - \"Salve grazie\" (appears as user, but I didn't say this) - \"grazie per aver chiamato Lo\" (appears as assistant) - \"Buongiorno! Come posso aiutarla oggi?\" (appears as assistant) The agent is essentially having a conversation with itself. My system prompt includes: 1. An opening greeting: \"Salve, grazie per aver chiamato Lo Chalet! Come posso aiutarla oggi?\" 2. Instructions to \"complete the full greeting without interruption\" 3. Logic to assume \"sì\" (yes) when transcripts are empty or unclear I need the agent to: Say the opening greeting only once and Wait for the actual user to respond How should I properly configure the initial greeting so the agent only says it once and waits for user input? Is there a way to prevent the agent from generating both sides of the conversation? Thank you so much https://cdn.discordapp.com/attachments/1433386000452681819/1433386000847212615/Screenshot_2025-10-30_alle_10.23.59.png?ex=6904803d&is=69032ebd&hm=de55209c82c6561487e84b58e29aab6277d12bb28c831d70ac1f31eac4e89774&
o
Hello @matteo_v99 , can you share the call recording for this call .
m
Sure, Call ID: call_e96ca2481db39b618a8d3c2950c @Omar Ashraf | Community Lead
@Colin - Integrations @ Retell AI @User
o
Hello @User , hope you doing fine. can you tell how often this happens ?
because this usually happens if there a problem in the mic and the agent hearing it self and the user
can you try another phone and tell me if you can reproduce it
m
it often happens when we’re calling on speakerphone but I wish the agent would never stop when it says the opening greeting: Salve, grazie per aver chiamato Lo Chalet! Come posso aiutarla oggi?
@Omar Ashraf | Community Lead
@User @Colin - Integrations @ Retell AI
m
Ok thanks but my question is for the opening greeting only. During the conversation the person can interrupt the agent. Can I only set it for the opening greeting only? @Omar Ashraf | Community Lead @User @Colin - Integrations @ Retell AI
c
you would have a greeting node and basically set the interruption sensitivity to 0 or block the interruptions for that node
c
that’s correct that’s where you put it
then after it says the greeting transition to your main menu node
m
Thanks but I have a multi prompt agent not a Conversational Flow Agent @Colin - Integrations @ Retell AI
c
i’m aware
you can still have it transition
m
Ok thanks