Remix.run Logo
Show HN: Self-hosted voice AI agent for Asterisk/FreePBX(github.com)
27 points by hkjarral 3 days ago | 17 comments

Hi HN folks ! I am the author of AVA, a self hosted AI Voice Agent that plugs into Asterisk/Freepbx so you own all the aspects of an AI Voice agent in your own infrastructure. It uses Asterisk native Audiosocket/RTP with python engine to run STT,LLM and TTS loop. The project support several full providers openai, gemini, grok, elevenlabs out of the box and also provides options to build custom pipelines by choosing different stt tts and llm.

It also supports full local agent if you have a GPU with 25GB RAM which enables realtime conversation along with tool calling.

I started this as a hobby project last year when I started exploring voice agents and every saw every Saas tried to lock you in their eco system. Since then project has taken off and a lot of asterisk people started using it due to ease of setup and wide range of providers and flexibility.

Core is MIT: https://github.com/hkjarral/AVA-AI-Voice-Agent-for-Asterisk Free and open source forever.

No install Mock UI us hosted at: https://demo.agent6789.com

I am also exploring to convert this into a more polished version for Operators to handle multiple customer and multi tenant environment and I would genuinely like to hear feedback on it.

Happy to answer any questions and gather any feedback. Thanks.

deepspace 20 hours ago | parent | next [-]

There was a window between the early 2000s and the late 2010s when self-hosted telephony made sense. But these days, there are so many cheap commercial services that it is almost impossible to justify the cost of maintaining your own voice infrastructure. Moreover, the proliferation of spam / scam calls has tarnished the perception phone interactions so much that most people avoid them at all costs.

And the few people who do still use the phone absolutely, unequivocally do not want to talk to an AI voice agent ever.

icedchai 19 hours ago | parent | next [-]

I set up Asterisk systems for a few small businesses in the mid-2000's (5 to 50 extensions.) It was seriously fun working with that stuff. These days I'll do almost anything to avoid phone calls.

hkjarral 19 hours ago | parent | prev [-]

[dead]

notahan 2 days ago | parent | prev | next [-]

This is so cool, what are the system requirements needed to run this?

hkjarral a day ago | parent | next [-]

Thanks, it depends a lot on what are you trying to do, if you are going to use just cloud providers you don't need a heavy system , a simple system with 2 cores 4 GB RAM with asterisk should suffice, if the call volume is low.

But if you want to go full local route then you need GPU and if call volume is heavy then more RAM and CPU.

Basic hardware should be handle 20-30 concurrent calls with a cloud provider.

Full breakdown of hardware requirements is captured in this document: https://github.com/hkjarral/AVA-AI-Voice-Agent-for-Asterisk/...

2 days ago | parent | prev [-]
[deleted]
_superposition_ 16 hours ago | parent | prev | next [-]

This looks awesome. Great work.

oliver236 20 hours ago | parent | prev | next [-]

freepbx vs fusionpbx? explain please

hkjarral 20 hours ago | parent [-]

Freepbx, Fusionpbx uses Freeswitch. This is built for Asterisk but there is nothing stopping from setting a SIP trunk from Freeswtich to Asterisk box to make use of Agents like this user did https://github.com/hkjarral/AVA-AI-Voice-Agent-for-Asterisk/...

oliver236 20 hours ago | parent [-]

can you please give me an explanation of the two though ?

hkjarral 19 hours ago | parent [-]

Freepbxx built on Asterisk primarily for single orgs whereas Fusionpbx is built on freeswitch designed for multi tenant and carrier grade deployments. Is that what you were looking for or something more specific in relation to this project ?

moid_22321 20 hours ago | parent | prev | next [-]

Just waiting for vicidial integration part other than that everytime good to go

hkjarral 20 hours ago | parent [-]

Vicidial experimental right now and is on the roadmap as soon as I get time and setup vicidial in my own environment, it requires exhaustive testing :)

jason_liu_ptbo 3 hours ago | parent | prev | next [-]

[dead]

a day ago | parent | prev | next [-]
[deleted]
hkjarral 20 hours ago | parent | prev | next [-]

[dead]

3 days ago | parent | prev [-]
[deleted]