Confidentiality Mode not working + How to capture only Messages not try and transfer

pcwg

Premier Customer
Joined
Nov 11, 2021
Messages
11
Reaction score
3
Hi All,

Firstly, Loving the AI progress! Well done!

Just trying to figure out where im going wrong, when i first called in on my new AI agents DID, after the introduction welcome message and subsequent questioning of how they can help.
they were more than happy to share first name, last name, department members.

I've Sanitized the transcript to give you an idea of what is happening at the bottom of this post

Reading through the online guide, I've enabled - Confidentiality Mode under call routing within my AI Agent however it still doesn't stop.
I tried a few combinations
1. only having Extensions for my Queues , and allow extensions and enabled con
2. No Extensions and only Allow Extension Routing by name + Confidentiality Mode Enabled.
3. Having Extensions for my Queues ,then ticking allow extension routing by name so i can tick Confidentiality Mode enabled then unchecking extension by name
4. Tried calling in from private callerID to ensure no trusted caller was overwriting rules.

Any tips would be greatly appreciated or if i can share any more info to assist let me know
Cheers


1772000252545.png


I'm running the default Agent Instruction Prompt, when i expand it via the customise button i can see the rules for {{#confidential_mode_enabled}}



Sanitised Chat Transcript​


Placeholder Key​

PlaceholderDescription
[AGENT_ALIAS]AI agent short name
[COMPANY_A]Receiving company
[COMPANY_B]Caller's company
[LOCATION_1]Store/branch location
[PHONE_1]Caller's phone number
[CALLER_FIRSTNAME]Caller's first name
[EMPLOYEE1_FIRSTNAME] [EMPLOYEE1_LASTNAME]Staff member #1
[EMPLOYEE2_FIRSTNAME] [EMPLOYEE2_LASTNAME]Staff member #2
[EMPLOYEE3_FIRSTNAME] [EMPLOYEE3_LASTNAME]Staff member #3
[ORDER_NUMBER]Full purchase order number
[ORDER_NUMBER_PARTIAL]Partial order number
[ORDER_REFERENCE]Order reference code

Transcript​

[00:00:00] AI Agent: Hello, welcome to [COMPANY_A]. This is [AGENT_ALIAS]. I'm an AI agent covering the phones while our customer service team is in a meeting. Can I please take a message on how they can help you today? They can also return your call after 1pm today.
[00:00:15] Caller ([PHONE_1]): Hi, it's [CALLER_FIRSTNAME] from [COMPANY_B] [LOCATION_1].
[00:00:21] AI Agent: Welcome [CALLER_FIRSTNAME] from [COMPANY_B] [LOCATION_1]. This is [AGENT_ALIAS] from [COMPANY_A]. How may I assist your company today?
[00:00:29] Caller ([PHONE_1]): I've got a problem with one of our orders. It hasn't turned up.
[00:00:36] AI Agent: It sounds like your best point of contact might be someone in the supply chain department, as they typically handle order issues. [EMPLOYEE1_FIRSTNAME] [EMPLOYEE1_LASTNAME] or [EMPLOYEE2_FIRSTNAME] [EMPLOYEE2_LASTNAME] in supply chain are available. Would you like to be connected to one of them or would you prefer to leave a message?
[00:00:49] Caller ([PHONE_1]): I would like to leave a message. Sure.
[00:00:53] AI Agent: Could you please provide the details of your message, including any specifics about the order issue, so I can make sure the team gets the information?
[00:01:02] Caller ([PHONE_1]): Hello, it is [CALLER_FIRSTNAME] and I need a follow up on purchase order [ORDER_NUMBER]. Thank you for the details [CALLER_FIRSTNAME].
[00:01:16] AI Agent: Here's what I have so far. You'd like to leave a message regarding the follow up on purchase order [ORDER_NUMBER_PARTIAL] with reference to [ORDER_REFERENCE]. Could you confirm if you'd like me to include any more details or is that everything?
[00:01:34] Caller ([PHONE_1]): That's all. That's all.
[00:01:42] AI Agent: It seems the destination is ambiguous, because there are multiple possible contacts in the supply chain department. Could you let me know if you prefer [EMPLOYEE1_FIRSTNAME] [EMPLOYEE1_LASTNAME] or [EMPLOYEE2_FIRSTNAME] [EMPLOYEE2_LASTNAME]? Once I have that detail, I can proceed with leaving the message.
[00:01:55] Caller ([PHONE_1]): I don't want either of them. Can you send it to [EMPLOYEE3_FIRSTNAME] [EMPLOYEE3_LASTNAME]?

[00:02:18] Caller ([PHONE_1]): Hello.


then the call hung with no feedback and dropped
 
Hi,

Can you advice of the AI models chosen in the OpenAI config tab?
 
Hi,

Can you advice of the AI models chosen in the OpenAI config tab?
Thanks for the quick reply,
OpenAi Model for realtime Calls - gpt-realtime-mini
OpenAi Model for Text gpt-5-mini
 
Switch to gpt-realtime (not mini) and check again. If it works ok, that should be a temporary measure, as we are working on getting mini to behave properly soon - see here.
 
Thank you! that looks to have fixed it. I’ll keep an eye out for your next patch. And an eye on my api credits too :)

I realised i didnt include the question for part two of my subject.

When the agent say it a take a message and send it. Can it really? Where does it send it to?
Ive checked chat, email nothing.

So far it’s mostly trying to transfer because it thinks it has a matching Queue or person , , sometimes asks all the right questions, reads back my message says it’s sending it but just hangs up. Other times it replys and says message sent then hangs up.

Ideally I want this agent sit on a DID (or as a member of Queue or overflow.
answer politely , advise they're here to take a message, to prompt them for a few details name phone email etc, take the notes and send it on for a human to action later like a receptionist.

I added a KB with some hints and topics which it seems to recognise. It doesnt always prompt or use the right answers but thats probably more on me and needing some refinement of the pdf.

Best i can figure out what to do right now is review the recorded transcripts and hope the called doesn’t get too peeved when its repeats itself :)
 
  • Like
Reactions: KyriacosS_3CX
Regarding messages - if you are not sure where it chose to send and if it did (the change of model could have fixed this issue too), you can impersonate the agent via the three dots in the agent listing pane, and see its chats.

For the KB, the description given to the Source (and to the files) is very important for the agent to be able to pick up on the correct source material - also if using tables, a plain text CSV is better than a PDF that might not be parsed as a table correctly in all cases.
 

Forum statistics

Threads
112,025
Messages
590,367
Members
164,978
Latest member
FringeIT-Eric