The last item you mentioned is what we had in mind when we created chan_websocket but really any situation where you need to exchange audio with an external app is a possible use case. A custom voicemail application or custom call recording come immediately to mind.
I am trying to figure out what use will a AI chatbot provide a customer and improve productivity.
AI Receptionist
AI Personal Assistant
Both these examples, a caller can request via speech to speak to a user on Asterisk but the AI will need to have access to the callerid list to be able to process and return an extension. I believe there are already simplified ways to do this without AI.
Perhaps integration into the app_voicemail to allow for Speech-to-text that can be added to the email body.
My impression is that people haven’t had dedicated switchboard operators for well over a decade. The first human in the chain is typically in a contact centre, which is intended to cope with simple calls without passing them to anyone else. It is that that I think people are trying to replace with AI, and that is a job which is specific to the particular business, so you can’t have a fully trained AI product.
Even for the simple receptionist, it is the ability to work out which department is needed based on a poorly described description of the problem the caller wants handling, not a simple directory lookup.