Skip to content

Devnagri

Devnagri specializes in real-time speech recognition for Indic languages. This bridge wires Teler call audio to Devnagri’s WebSocket; transcripts flow back into your application.

  • A Devnagri account with a real-time WebSocket endpoint
  • A Teler account with an active API key
  • One Teler phone number on your account
  • An ngrok auth token (for local development)
  • Docker and Docker Compose
VariableRequiredDefaultDescription
DEVNAGRI_WS_URLyesnoneThe Devnagri WebSocket URL provided by your Devnagri account.
TELER_API_KEYyesnoneYour Teler API key.
NGROK_AUTHTOKENyes (local)nonengrok auth token.
Terminal window
git clone https://github.com/frejun-tech/teler-devnagri-bridge
cd teler-devnagri-bridge
cp .env.example .env
docker compose up -d --build
Terminal window
curl -X POST http://localhost:8000/api/v1/calls/initiate-call \
-H "Content-Type: application/json" \
-d '{
"from_number": "+91XXXXXXXXXX",
"to_number": "+91XXXXXXXXXX"
}'
  • Hindi, Bengali, Tamil, Telugu, Marathi, Punjabi, and other Indic languages.
  • Code-mixed speech (Hindi-English, etc.) where general-purpose STT models drop accuracy.
  • Cost-sensitive deployments in Indian markets.

For English-first agents, Deepgram is usually the better fit.

SymptomLikely causeFix
Empty transcriptsWrong sample rateConfirm your Devnagri model expects 8 kHz
Connection refusedStale DEVNAGRI_WS_URLRefresh the WebSocket URL from Devnagri
Bridge doesn’t speak backSTT only by designAdd LLM + TTS in your fork