Build Asterisk-Gemini Call Bridge

via Freelancer ·

Budget / Salary$250–750
TypeFreelance project
LocationRemote
Posted1 hour ago
I need a working bridge that lets Google Gemini join any phone call routed through my Asterisk server. Both directions matter: when someone dials my number the call should land on Gemini first, and when I place a call from my Android it should also be handled by Gemini before the other party answers.

Here is the flow I have in mind: an incoming or outgoing call reaches Asterisk over a regular SIP trunk, Asterisk sends the live audio stream through a bidirectional WebSocket to Gemini, Gemini speaks back in real time, and Asterisk feeds that audio to the phone. Gemini’s role is limited to a natural voice conversation—no call transfers, no additional post-call actions—so latency and audio clarity are the priorities.

The Android side must work in two ways: a small dedicated app (you can build it or show me how to adapt an open-source one) and direct use of the phone’s native dialer via SIP registration. Whichever method is active, the end user should not notice any extra steps; dialing and answering should feel native.

Deliverables
• Complete Asterisk dial-plan, SIP/WebRTC configuration, and any custom modules or AGI scripts
• WebSocket interface code or middleware that passes audio to Gemini and returns synthesized speech
• Android app source (if custom) plus step-by-step setup so the stock dialer can register to Asterisk
• Clear README covering installation, TLS setup, and test procedure on a fresh VPS and a standard Android handset

I’ll spin up the VPS and supply SIP trunk credentials; you give me working code, clear documentation, and a short live test to prove full duplex voice with Gemini.
linux android asterisk pbx voip telecommunications engineering audio processing android app development sip webrtc natural language processing
Apply on Freelancer →

Project sourced from Freelancer.com. Applications happen directly on the original platform — we never collect your data.