Not model training
No weights are changed. Sarvam and Qwen are used as they are. What changes is everything around them: the input they see, the instructions they follow and the checks on what they say.
A caller's voice goes through Sarvam speech, a free rule-based language engine, a Kannada policy and a model (Sarvam or local Qwen), and comes back as Sarvam speech. Nothing in this chain is a retrained model: the "tuning" is rules, word lists, a written policy and automatic checks. This page shows each step and what is and is not verified.
8 kHz audio and call events arrive from the carrier (FreeJun/Teler, Twilio, Plivo, or your own SIP trunk through Asterisk/LiveKit).
Kannada, Hindi or English speech becomes text. A guard retries in Kannada when a transcript comes back in another Indian script.
Detects language and script, understands Kanglish (Kannada typed in English letters), and spots stop-contact phrases before any model runs. The model still receives the customer's original words.
kn-1 — Sarvam or QwenOne central, versioned policy is injected into every customer-facing request: spoken Bengaluru forms, English words kept English, short answers, one question at most, no invented facts.
The reply is flagged for formal or translated words, repeats, Kannada numerals, extra questions. A formal reply is rewritten by free rules; a hard failure gets one corrected draft.
In Kannada speech every number is spoken in English: ₹1,25,000 → "one lakh twenty-five thousand", phone numbers digit by digit. This cannot be switched off.
The reply is spoken with a Kannada voice and sent back down the line as 8 kHz audio.
No weights are changed. Sarvam and Qwen are used as they are. What changes is everything around them: the input they see, the instructions they follow and the checks on what they say.
About 60 formal-to-spoken Kannada words and about 130 Kanglish spellings, plus verb-ending rules. They fix common dealership vocabulary, not Kannada in general. Numbers, names and English words are never lost.
A hand-built Bengaluru Kannada corpus (casual, professional, customer service, long-form) and an evaluation set. They are used to measure the system and find gaps, not to train a model.
The policy is versioned (kn-1), so a revision can be tested against the same questions and rolled back. Changes come from reviewers' notes.
kn-1 on Sarvam's conversation model: 114 of 119 evaluation replies had no automatic flag (the other model tried: 23 of 36).kn-1 for that one model on the two-way conversation.Point your carrier's webhooks at this site, choose which model answers, and check each link. Secrets stay on this computer: the site stores only the names of environment variables.
Carriers must reach this site over the internet. For testing, run a tunnel (for example cloudflared tunnel --url http://127.0.0.1:8795) and paste the https address it prints.
No SIP password is asked for or stored here. Put carrier credentials in the carrier's own console or in a server environment variable.
Keys are read from the server environment (a .env file beside server.js): FREEJUN_API_KEY, SARVAM_API_KEY, and QWEN_API_KEY only if you use cloud Qwen. They are never shown here. Do not paste keys into this page or into chat.
The carrier addresses are not shown or entered on this website. They are kept only in the file sip-urls.txt beside server.js, sealed with the admin key. Run SHOW_SIP_URLS.bat on this computer to read them.
Run START_SIP_LINK_PUBLIC.bat. It asks for nothing, makes an admin token if you have none, starts the site and opens a free Cloudflare tunnel; paste the https address it prints into step 1. Visitors from the internet can only reach the webhook addresses; the control panel needs your admin token. Stop it by closing the window.
For FreeJun the incoming-call address answers with a stream action, and Teler then connects to this site's wss:// audio bridge: caller speech → Sarvam speech-to-text → algorithm and model → Sarvam text-to-speech → back to the caller, with barge-in. The first words of every call say it is an AI assistant, and a "do not call me" phrase is remembered (as a hash) and ends the call's conversation. The bridge answers only while "answer inbound calls" is ticked, a public https address is set and the Sarvam key is present; otherwise the call is hung up cleanly. It has been tested with a simulated caller only: no real FreeJun sandbox call has been heard yet, and the voice and Kannada wording are unreviewed.
FreeJun sandbox: call in from a verified phone, or have the assistant call a verified test number. Each call uses a little Sarvam credit.
From a verified phone, dial this number, then enter the PIN when asked.
not setnot setCopy these from the FreeJun dashboard (sandbox mode). This site cannot read them from the API.
Type any phone number and the assistant calls it and starts with a short AI greeting. Needs the sandbox key (FREEJUN_API_KEY in .env), the reference number, a public https address and "answer calls" ticked on the Connect page. There is no call-count limit. Nothing is recorded.
A 1-minute call to the number above with a labelled test: silence, zeros, very quiet room tone, a pure tone, a louder tone, the assistant voice, and the voice quieter. Listen for static in each segment and note the numbers. Run it twice: via the live stream (our audio path) and via FreeJun's own file playback (no stream from us at all).
Each model test is one real request: a Sarvam question uses a few tokens of your Sarvam credit, a Qwen question runs on this computer. Nothing is sent to a customer.
Sends a fake status event to this site's own webhook address, to prove the path and secret work without a carrier.
Numbers are masked. No speech, text or audio is stored.
| Time | Carrier | Kind | From | To | State |
|---|
No events yet.
Technical timeline of every call: carrier webhooks, the audio stream, levels, delays and errors. Numbers are masked; no speech text or audio is stored.
| Time | +ms | Step | Details |
|---|
No calls recorded yet.