AI Agent with ChatGPT

Hi there,
in regards to this tutorial:

On my Ubuntu VPS I’ve implemented everything as described using this right here as my vitalpbx installation: GitHub - VitalPBX/vitalpbx_agent_ai: VitalPBX - AI Agent with OpenAI ChatGPT, Whisper and Microsoft Azure AI Speech (TTS)
(installed via the “install.sh” - maybe I should mention that I’ve installed asterisk AFTER I did this)

Now here’s the issue:
I don’t know how to tell Asterisk that it should pull the extensions.conf from the AGI “VitalPBX” (which is located at “/var/lib/asterisk/agi-bin/”).
So I’ve tried to run whatever is in the VitalPBX extensions.conf inside the actual Asterisk extensions.conf. Now within the Asterisk CLI (“asterisk -rcvvvv”) I can see that it’s actually trying to execute the command, it’s actually logging/printing this:
– Executing [s@public:2] AGI(“SIP/XXcensoredXX”, “/var/lib/asterisk/agi-bin/vpbx-agent-ai.py,1730906987.468,“en-US””) in new stack
– Launched AGI Script /var/lib/asterisk/agi-bin/vpbx-agent-ai.py
– <SIP/XXcensoredXX>AGI Script /var/lib/asterisk/agi-bin/vpbx-agent-ai.py completed, returning 0
– Auto fallthrough, channel ‘SIP/XXcensoredXX’ status is ‘UNKNOWN’

And nothing happens.
So I was thinking, maybe look inside the code of “vpbx-agent-ai.py” and after I’ve tried to debug it a little via “print(‘something’)” to see after what line/command it’s actually bailing out, I’ve realized it was right after “agi = AGI()” - pretty much at the beginning of the code.

What could be the issue here?
Or is it the actual installation?

Should I just use this installation instead with a clean new vanilla Ubuntu VPS?:

Thank you guys so much in advance!

Best regards,
Eddy