This is a jambonz application that allows Millis AI users to connect their agents to any SIP trunking provider or PBX.
For those of you not familiar with jambonz, it is an open source (MIT-licensed) voice gateway for CPaaS, CX/AI, and Voice/AI which is the functional equivalent of Twilio with the added ability to self-host on your own infrastructure (or use our cloud at jambonz.cloud). Jambonz lets you bring your own carrier (BYOC) and use features like bidirectional streaming at no additional cost. Jambonz integrates with literally hundreds of SIP trunk providers, PBXs, and session border controllers. It is used in large-scale production deployments by some of the largest CX/AI and Communication Service Providers.
This application makes use of the Millis AI audio websocket API.
This is intended to be a sample application that you can start with and later extend. It currently supports these features
- inbound calls are connected to your Millis AI agent
- bidirectional streaming is established between your SIP provider and Millis AI
- audio barge-in is enabled through handling the 'clear' message from Millis AI
Having checked out this repo, do the usual:
npm ci
Edit the ./ecosystem.config.js file and fill in the environment variables where indicated. Basically, you need to specify your Millis AI public key and agent id, and the details of your jambonz environment.
Got you covered. Easiest way to get started is to create a free trial account on jambonz.cloud. Once you have an account, add a Carrier for your chosen SIP trunking provider. Then add an Application that contains the websocket endpoint that this application exposes. Add a phone number from your Carrier and connect it to the Application, and you are set to go.
Join our Slack channel by going to https://joinslack/jambonz.org.