Menu

I Open-Sourced a Local Multi-Agent Calling Desk with Asterisk and a Browser Phone
📰

I Open-Sourced a Local Multi-Agent Calling Desk with Asterisk and a Browser Phone

DEV Community: nextjs·Muhammad Afzal Kalwar·3 days ago
#iXmXzC3K
#devtonextjs#devto#dev#gateway#office
Long article (301 words) — no AI summary yet.
Reading 0:00
15s threshold

A Pakistani ecommerce office needed seven to ten agents to share ten real SIM lines, without putting a PBX on the public internet.

Agent Line is a local calling desk for that office. Agents sign in from the browser and register as phones on one Asterisk queue. Voice uses a 10-SIM GSM gateway on the office LAN, and every call shows the real SIM that carried it. There is no public homepage. The desk and the PBX stay on the office machine.

What it can do today, as version 0.1.0:

Ring every free agent for an inbound call to any of the ten SIM numbers, then give the call to the first answer.

Store Pakistani numbers as +92, dial the gateway with a leading 0, and hunt the primary SIM first.

Pop a known customer on the call screen, and store the agent, the SIM, the disposition, and a note.

Place, answer, and hang up one simulated call before the gateway arrives.

The app is TypeScript and Next.js, with SQLite for customers and history. Asterisk runs in Docker. Each browser phone uses SIP.js over WebRTC.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.