Tachyon SIP Link
FreeJun …Knowledge …Sarvam …Qwen …

A phone line that understands Bengaluru Kannada.

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.

The call, step by step

  1. 1
    Phone line → SIP trunk / carrier

    8 kHz audio and call events arrive from the carrier (FreeJun/Teler, Twilio, Plivo, or your own SIP trunk through Asterisk/LiveKit).

    carrier
  2. 2
    Speech to text — Sarvam

    Kannada, Hindi or English speech becomes text. A guard retries in Kannada when a transcript comes back in another Indian script.

    Sarvam
  3. 3
    Language engine — free, rule-based

    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.

    algorithm
  4. 4
    Model with the Kannada policy kn-1 — Sarvam or Qwen

    One 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.

    Sarvam / Qwen
  5. 5
    Reply check and colloquial rewrite

    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.

    algorithm
  6. 6
    Numbers prepared for speech

    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.

    algorithm
  7. 7
    Text to speech — Sarvam

    The reply is spoken with a Kannada voice and sent back down the line as 8 kHz audio.

    Sarvam

How it "fine-tunes" — what actually happens

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.

Rules and word lists

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.

Corpus for testing

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.

Policy versions

The policy is versioned (kn-1), so a revision can be tested against the same questions and rolled back. Changes come from reviewers' notes.

Try the language engine's ideas

What is verified, and what is not

Verified

  • Policy kn-1 on Sarvam's conversation model: 114 of 119 evaluation replies had no automatic flag (the other model tried: 23 of 36).
  • The owner, a native Kannada speaker, approved kn-1 for that one model on the two-way conversation.
  • Number-to-speech rules: 50 automated cases pass. Opt-out phrases: all 20 recognised.
  • Sarvam speech at telephone quality: about 0.4 s speech-to-text and 0.75 s text-to-speech for a short line (single measurements).

Not done

  • No independent second native reviewer and no per-reply scores.
  • No audio has been listened to for the rewritten text; pronunciation of mixed Kannada and English is unverified.
  • No real phone call has ever completed. Nothing here is production-ready until one does.
  • SIP trunking itself (Asterisk / LiveKit) is a plan only, not built or tested.

Connect a SIP trunk or carrier

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.

1Public addressnot set
2Carrier & trunknot set
3Modelschecking
4First eventnone yet

1 · Public address

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.

2 · Carrier & trunk

No SIP password is asked for or stored here. Put carrier credentials in the carrier's own console or in a server environment variable.

3 · Models

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.

SIP trunk creation sheet

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.

Where to paste them

Host it yourself

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.

The audio part (honest status)

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.

Call the assistant

FreeJun sandbox: call in from a verified phone, or have the assistant call a verified test number. Each call uses a little Sarvam credit.

Call in

From a verified phone, dial this number, then enter the PIN when asked.

Dialnot set
PINnot set

Your FreeJun sandbox numbers

Copy these from the FreeJun dashboard (sandbox mode). This site cannot read them from the API.

Place a call

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.

Audio diagnostic (find where the static comes from)

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).

What happens

  1. FreeJun is asked to call the number and fetch the call flow from this site.
  2. When you answer, the assistant greets you; speak, then pause.
  3. Watch the steps live on Test & events.

Test & events

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.

Run one turn (algorithm → model → speech text)

Webhook path

Sends a fake status event to this site's own webhook address, to prove the path and secret work without a carrier.

Latest events

Numbers are masked. No speech, text or audio is stored.

TimeCarrierKindFromToState

No events yet.

Call logs

Technical timeline of every call: carrier webhooks, the audio stream, levels, delays and errors. Numbers are masked; no speech text or audio is stored.

Timeline

Time+msStepDetails

No calls recorded yet.