r/Asterisk • • 12h ago

JsSIP browser call connects but no audio — Asterisk 20 + coturn, relay refuses the browser's private address. What am I missing?

2 Upvotes

Hi everyone — I'm Hao, and I host a small podcast called Blind Kid's Life. I'm blind, and a lot of my listeners are too, so I built a free call-in line so people who can't use Spotify can just phone in and listen to episodes. It works when I test it in the Linphone app, but the browser link — the one a listener would simply tap, with no app to install — connects and then plays no sound at all. I've spent days on this and I'm stuck, so I'm hoping someone here can spot what I'm missing.

Here's the setup. The call page uses JsSIP 3.10.1 in Chrome, talking to Asterisk 20 (webrtc=yes) over secure WebSocket, with a coturn relay on the same cloud server. The call connects — the page says "Connected" — but there is no audio in either direction. The same Asterisk and coturn carry Linphone calls end to end with sound, so the server side can relay media; the failure is specific to the browser.

What the relay's own log shows: when the browser calls, Asterisk asks coturn for permission to send media to the browser's private home address, 10.10.10.172, and coturn refuses with 403 "Forbidden IP", because that address is in a denied private range. No media packets were relayed at all — the relay's usage counters stayed at zero. I then set the page to relay-only ICE (iceTransportPolicy: "relay" in the JsSIP pcConfig), confirmed it in the live page file, and loaded it fresh. On that relay-only call the browser allocated no TURN session at all and offered only its private address, and the call still connected in silence.

My three questions:

  1. Does JsSIP 3.10.1 actually pass the pcConfig — including iceTransportPolicy — through to the real RTCPeerConnection, or does it drop it? And if it drops it, is there a correct way to force relay-only through JsSIP?
  2. Is there an Asterisk-side setting that makes it use the browser's public relay address instead of asking the relay for permission to the browser's private address?
  3. Why would the browser allocate a TURN relay session on the very first call, but allocate none at all once relay-only is set?

Thank you for reading this far, and for any pointers at all. This line matters to my listeners, and I'd love to get it working for them.


r/Asterisk • • 1d ago

AiPBX – A 100% open-source, free PBX with native voice AI-Agent support (Asterisk 22, single-port 443, zero paywalls)

35 Upvotes

Hey everyone,

After spending over 20 years working with enterprise and open-source telephony systems, I grew tired of "open-core" PBX platforms that lock basic features behind expensive modules or paywalls.

Over the past 10+ years, I've been building and refining the core VoIP backend, and recently completed the modern web GUI with the help of AI coding tools to release AiPBX — a completely free, MIT-licensed, self-hosted PBX with native voice AI-Agent capabilities.

GitHub: https://github.com/mahirgul/AiPBX

Website / Docs: https://aipbx.bid

Key Features & Architecture

* 100% Free & Open Source (MIT): No commercial modules, no artificial extension limits, and no paywalled features.

* Native Voice AI-Agents: Full integration for conversational voice AI agents on calls. Supports both on-premise/local stacks (Whisper STT, Piper TTS, Ollama) and cloud OpenAI-compatible APIs with tool-calling support.

* Single-Port 443 Architecture: Uses Nginx L4 ALPN stream multiplexing to route Web UI, SIP/TLS, WSS (WebRTC), and provisioning traffic all over port 443—making it virtually immune to strict corporate/ISP firewall blocks.

* Lightweight & Fast: Powered by Asterisk 22, a clean PHP 8 MVC portal (server-rendered, zero heavy frontend bloat), and a Go microservice for real-time chat and presence.

* Modern Security & Auth: Built-in Passkeys / WebAuthn support, automated TLS, and modular plugin architecture (mahirgul/aipbx-plugins).

* Companion Softphones: Includes native Android and iOS mobile app support alongside standard SIP desk phones and WebRTC.

I built this to be a genuinely free, transparent, and hackable telephony platform for homelabbers, developers, and businesses alike.

I'd love to hear your feedback, architectural critiques, or feature requests. Feel free to test it out, open an issue, or contribute!


r/Asterisk • • 2d ago

Looking for a Real-Time Conversation Transcription solution

6 Upvotes

Hi,

I run a small contact center. I'm looking for a solution that can transcribe audio calls in real time. I use a self-hosted FreePBX server.

My next step would be to pipe the transcription to an AI model, that will prompt me answers based on the knowledge it has been provided.

If anybody has recommendations for a real-time transcription solution, please chime in.

TIA


r/Asterisk • • 3d ago

White label AI answering machine solution

1 Upvotes

We built nomoVM (https://nomovm.com) because answering machine detection on most dialers is still guesswork. Asterisk's built-in AMD(), which VICIdial and GoAutoDial use by default, decides by counting silences and word lengths. So a person who says "Hello?… Hello?" gets hung up on, and a short voicemail greeting gets sent to an agent, who hears a beep instead of a customer. Every one of those is a wasted lead or wasted agent time.

nomoVM is AI answering machine detection as a hosted service. Your dialer streams the first seconds of each answered call to us, and we send back HUMAN or MACHINE:

We'd love your honest feedback, especially from anyone running outbound campaigns:
- What does AMD cost you today, in dropped people or in agents hearing voicemail?
- Which dialer or integration should we support next?

We'll be here all day answering questions. Thanks for checking us out! 🙏


r/Asterisk • • 6d ago

Conectar una pizarra Issabel PBX con una Mitel 3300 ICP

1 Upvotes

Necesito ayuda para conectar via truncal una pizarra virtualizada con Issabel 5 y una Mitel 3300 ICP, se agradece de antemano cualquier ayuda sobre este tema


r/Asterisk • • 9d ago

I built a free SIP softphone for Linux, with a trace view of every call (early, GPL-3.0)

23 Upvotes

I'm the author of corasip, a free and open-source SIP softphone for Linux. It's early (version 0.1.2), and I'm sharing it to get feedback and bug reports.

I needed something to test SIP setups and make calls from my desktop. The options I found were browser or WebRTC tools, paid subscriptions, or Windows programs that needed Wine. So I wrote one in C++ with Qt 6 and PJSIP.

What it does:

- Registers over UDP, TCP or TLS. Codecs: Opus, G.722, G.711. SRTP over TLS.

- Calls, answer, hold, transfer, several calls at once, contacts, call history.

- A trace panel that shows every SIP message of a call as a ladder diagram. This helps when checking what a server or trunk actually sends.

- Tray icon and sip: / tel: links.

Install is one command. It downloads the signed release, checks the checksum and signature, and installs for your user:

curl -fsSL https://github.com/anfecoraca/corasip/releases/download/v0.1.2/install.sh | CORASIP_URL=https://github.com/anfecoraca/corasip/releases/download/v0.1.2 sh

If you'd rather read the script first, download install.sh from the release page.

Limits: the global hotkey works only on X11. It is not for emergency calls. It comes with no warranty, under GPL-3.0.

Source, downloads and issues: https://github.com/anfecoraca/corasip

Happy to answer questions, and I'd especially like to hear from anyone who tests it on a distro I haven't covered.


r/Asterisk • • 12d ago

Extension State/Hints Performance Improvement

6 Upvotes

I posted previously on the work I did for manager performance improvement linking to its blog post and now I've just posted a blog post about the extension state/hints work I did:

https://www.asterisk.org/new-extension-state-hopefully-you-dont-really-notice/

For those who want a TLDR it was a rewrite which focused on using modern Asterisk primitives to be more selective about the updates each hint receives, bringing caching into the hint, and splitting the logic away from the dialplan. Previously it was a single firehose and extension state was responsible for deciding if it needed to ignore updates or not, and when you asked for extension state it had to query other parts of Asterisk and calculate.

If anyone has any specific questions I'm happy to answer.

Disclaimer: I'm the Asterisk Project Lead and a Director of Engineering at Sangoma.


r/Asterisk • • 12d ago

Route call from asterisk to 3CX

4 Upvotes

Anyone manged to route calls from Asterisk to extrenal 3CX system?

I write program that accept call, Ai robot chats, then if needed would transfer call to client's phone system which is 3CX.

PS: an update, turned out i had to set qualify_frequency=0, otherwise Asterisk testing connection by sending OPTIONS request to 3CX and 3CX does not reply correctly, so Asterisk was marking [3cx] endpoint as invalid and would not send a call. By setting qualify_frequency=0 i am telling Asterisk not to verify connection and send the call directly.


r/Asterisk • • 14d ago

Self-hosted live panel and call transcription for Asterisk

1 Upvotes

I'm one of the developers and this is our commercial product, so read it with that in mind.

BeePanel runs on your own server next to Asterisk. Operators and supervisors see extensions, calls and queues live, can pause agents, listen, whisper or barge, and transfer or hang up calls. The server checks every action against the user's permissions. The Pro edition adds CEL-based call history, recordings and reports, plus transcription with an AI summary, either per call or automatically by queue, extension or line with a monthly spending cap.

It doesn't touch the configuration Asterisk manages; it adds its own settings and that's it. There's no telemetry, and recordings only leave the box when you transcribe them. Licensing is one-time per PBX with unlimited users, and the trial gives you 15 days of everything without a card.

It's a beta, so I mostly want to hear what breaks on your setup and what you'd need before using something like this. I'll answer questions in the comments.

https://beepanel.io/get-started

------------------

AI disclosure: drafted with help from an AI assistant, reviewed by me.


r/Asterisk • • 15d ago

Any Pbx experts in here? What’s your best tip you want to share with others?

Thumbnail reddit.com
9 Upvotes

r/Asterisk • • 18d ago

This is what I dreamed of when I started Routr about 10 years ago. 🚀

Post image
1 Upvotes

I used AI heavily to speed up development, like everyone else. Routr 2's architecture was sound; the language choice wasn't. Node couldn't keep up, and the most important component was Java wired into JS through GraalVM.

Routr 3 keeps the same architecture and APIs, rewritten in Go. It's 10x to 25x faster depending on the workload.

Turns out the design was fine. It just needed a different language. Full report: routr.io/benchmarks


r/Asterisk • • 19d ago

After 10 years of backend VoIP development, I finally completed the frontend with AI assistance — Meet AiPBX (Open-Source Asterisk 22 UC Platform + Live Demo)

39 Upvotes

Hi everyone, I’ve been developing the core telecom logic and backend architecture behind AiPBX for over 10 years. As a VoIP systems engineer, my bottleneck was always turning a decade of dialplan and infrastructure work into a clean, modern web interface. With the help of AI tools, I finally built and polished the entire frontend portal, and I’m releasing the complete platform as 100% free, open-source software (MIT License) with zero paywalls or per-seat limits.

⚡ Cutting-Edge Architecture & Capabilities

  • Single-Port 443 ALPN Multiplexing: Browser WebRTC softphone (DTLS-SRTP), Go-powered real-time team chat, SIP over TLS, and HTTPS are all multiplexed over port 443 — zero fragile high ports exposed through the firewall.
  • Native Mobile Mobility & Passwordless Auth: Android (Kotlin) and iOS (SwiftUI + CallKit) apps featuring native Apple PushKit (APNs) and Google FCM wake-up notifications, paired with Passkeys (WebAuthn / FIDO2) and QR provisioning.
  • On-Premise & Cloud AI Stack (x86_64 & ARM64): Run local Whisper STT, Piper TTS, and Ollama LLMs directly on your PBX hardware (or hook into OpenAI-compatible APIs) with a strict Cloud AI Lock and automated Luhn/PII redaction.
  • Sandboxed Plugin Engine & REST API (mahirgul/aipbx-plugins): Extend the portal with one-click SHA-256 verified plugins — including multi-carrier SMS/MMS messaging, embeddable Website WebRTC Call Widgets, Auto-Dialer with AMD, and MS Teams Direct Routing.
  • Automated Network & Telephony Provisioning: Zero-touch LAN phone discovery daemon, multi-site Phone Regions with automated Let's Encrypt SAN renewals, sub-microsecond AstDB spam blacklisting, and multi-DID T.38 Virtual Fax Units.
  • Self-Healing Atomic Updates (aipbx-update): Live-reloads Asterisk without dropping active calls, defers core library restarts to a zero-call night window, and automatically rolls back code, configs, and DB migrations if background smoke tests fail.

🚀 One-Line Install (Ubuntu 26.04+, Debian 13+, Raspberry Pi / ARM64)

GitHub: https://github.com/mahirgul/AiPBX

Website & Docs: https://aipbx.bid

🖥️ Interactive Live Demo: https://aipbx.bid/demo


r/Asterisk • • 21d ago

Asterisk based AI phone-toy goes into a PUB Restaurant in California!

12 Upvotes

Asterisk runs POTSBox and it is being use for FUN at a PUB in Pleasanton https://pots-box.org

It's hilarious — you can dial-a-joke or just ask about drinks. Anyone can use it to make fun things with their vintage phones.


r/Asterisk • • 24d ago

SIP softphone workflow: script-based call review, red flags and live agent coaching

Thumbnail
reddit.com
0 Upvotes

Disclosure: I work on AI Softphone. This walkthrough covers script-based quality review, evidence-based risk flags and live coaching in a SIP client. The PBX provides calling; ASR and the language model use separately configured endpoints. Configuration steps and complete prompts are included. The screenshots use fictional data and the example findings are authored, not measured results.


r/Asterisk • • 27d ago

OSS Endpoint Manager for FreePBX 17

Post image
8 Upvotes

r/Asterisk • • 29d ago

The biggest update to Routr SIP Server in years.

Post image
8 Upvotes

r/Asterisk • • Oct 29 '26

Mobile client

3 Upvotes

Hi

Has anyone got a recommendation of a decent, preferably open source client for iOS and android please. Need something reliable


r/Asterisk • • Oct 25 '26

AiPBX: A 100% free & open-source modern IP PBX with WebRTC, built-in chat, AI assistant, and native mobile apps (MIT Licensed, no paywalls)

38 Upvotes

For years, self-hosting a modern business phone system meant dealing with 15-year-old clunky web panels, complicated setups, or "open-core" platforms that lock essential features (like mobile push, WebRTC, or call recording) behind expensive commercial licenses.

I wanted something modern, clean, fast, and 100% genuinely free & open-source.

So I built AiPBX — a full-featured Unified Communications platform and PBX management portal built on Asterisk 22, released under the MIT License. There are no "enterprise editions", no artificial limits, and no locked features.

🌟 Key Highlights

  • 100% Free & Open-Source (MIT): Every single feature is included. No user limits, no feature gates, no telemetry.
  • 1-Command Turnkey Install: Sets up Ubuntu 26.04 LTS, Asterisk 22, PJSIP, Nginx, Apache, MariaDB, coturn (TURN/STUN), SSL certificates, and firewall in ~15 minutes.
  • WebRTC In-Browser Softphone: Make and receive crystal-clear audio and video calls directly inside the browser portal — no desktop softphone required.
  • Native Companion Apps:

    • Android: Native Kotlin app with push wake-up, foreground service, presence, chat, and full PBX control.
    • iOS: Native SwiftUI client with CallKit support.
  • Real-Time Team Chat: Built-in Go WebSocket service (aipbx-chat) for 1-to-1 / group messaging, file sharing, presence indicators, and read receipts.
  • Local & Cloud AI: Dialplan automation assistant, HEPv3 diagnostics, and Cloud TTS integration (Google, Polly, Azure, OpenAI, ElevenLabs).
  • Enterprise Telephony: Trunks, IVR, Queues, Call Center metrics, T.38 virtual fax, call recordings (with automatic MP3 conversion), and Yealink/Grandstream/Fanvil/Snom auto-provisioning.
  • Privacy & Self-Hosted: All data, configurations, and recordings stay strictly on your own hardware.

🔗 Links & Resources

💬 Community Feedback

I've poured an enormous amount of work into this to make self-hosted telephony modern, accessible, and truly free again.

I would love to hear your feedback, thoughts on the architecture, bug reports, or feature suggestions!


r/Asterisk • • Oct 24 '26

I built a free, self-hosted call screening plugin for Asterisk

14 Upvotes

GitHub: https://github.com/CallerAPI/Falcon
Adapter docs: https://github.com/CallerAPI/Falcon/blob/main/adapters/README.md

I'm Dmitry, founder of CallerAPI, and I built this with my small team. The code is Apache 2.0 and the engine runs without an account on our platform, just to clarify

Falcon is a lightweight screening engine that runs next to Asterisk. Asterisk hands it each inbound INVITE over AGI (or ARI). Falcon reads the SIP headers, verifies STIR/SHAKEN when there is an Identity header, names the provider behind the source IP, applies your own allow and deny lists, scores the request, and returns allow, flag, challenge or reject with the reasons. Asterisk keeps signaling and media. Falcon is not in the call path

The dialplan side:

[from-trunk-falcon]
exten => _[+0-9]X.,1,NoOp(Falcon screen ${EXTEN})
same => n,AGI(falcon.agi)
same => n,GotoIf({FALCON_ACTION}"="reject"]?drop)
same => n,GotoIf({FALCON_ACTION}"="challenge"]?drop)
same => n,Set(PJSIP_HEADER(add,X-Falcon-Score)=${FALCON_SCORE})
same => n,Goto(your-inbound-context,${EXTEN},1)
same => n(drop),Hangup(21)

Point the trunk's inbound context at it. The AGI sets FALCON_ACTION, FALCON_SCORE and FALCON_REASONS, so you can do whatever you like with them instead of hanging up… send flagged calls to voicemail, tag them, route them to a queue, etc.

I’m posting it here because I want real feedback from professionals and people who experience the pain of robocalls on their infrastructure

Let me know what you think :)


r/Asterisk • • Oct 23 '26

Built my own web UI for Asterisk, open source now

44 Upvotes

I do voice support for a living and run Asterisk at home. Editing config files by hand got old pretty quick and FreePBX was way too much for my home setup, so I built my own UI and called it VST (short for Vermittlungsstelle, German for telephone exchange).

Some of you might remember it as GonoPBX. I had to put the project on hold for a while for work reasons, but now it's back under a new name.

It does extensions, call forwarding, BLF, pickup groups, ring groups, IVR and voicemail with mail delivery. SIP trunks have templates for a bunch of German providers, or you go generic. There's a call history with stats, live SIP debugging and a Home Assistant integration (click to call, MQTT events).

Runs as 4 containers: Asterisk 20 with PJSIP, FastAPI, React and Postgres. The DB is the source of truth, Asterisk configs get generated from it.

Built it with Claude Code, which helped a ton, mostly with debugging. The telephony part is from my day job.

One warning: the backend mounts the Docker socket, so whoever gets code execution there has root on the host. Keep it behind VPN or a proxy, don't put it on the internet.

Demo with fake data (resets every 30 min): https://vst-demo.frickelfabrik.de

Code: https://github.com/ankaios76/vst

More info: https://frickelfabrik.de/projekte/vst/

Feedback welcome, especially if you run Asterisk yourself.


r/Asterisk • • Oct 22 '26

We released an on-prem answering machine detector that runs on the same box as Asterisk/VICIdial

Thumbnail
reddit.com
1 Upvotes

r/Asterisk • • Oct 22 '26

Does any SIP trunk deliver the real number in P-Asserted-Identity on a withheld (anonymous) inbound call?

Thumbnail reddit.com
2 Upvotes

r/Asterisk • • Oct 21 '26

Interface AXIS Camera with VIOP to old Intercom system

Thumbnail reddit.com
1 Upvotes

r/Asterisk • • Oct 17 '26

Open source SIP softphone for troubleshooting

Post image
111 Upvotes

GitHub: github.com/igtoth/sidetone
Try it in the browser (WebRTC, no install): igtoth.github.io/sidetone
Downloads (Linux, Windows, macOS): Releases

MIT licensed, written in Rust.

What it does

A real softphone

  • Multiple accounts and lines, hold, mute, blind and attended transfer (REFER / Replaces)
  • DTMF as RFC 4733, SIP INFO or inband
  • DND, auto answer, intercom, PRACK, session timers, DNS SRV, outbound proxy
  • Microphone and speaker with level meters, per-call WAV recording

Troubleshooting built in

  • Live SIP trace while you talk, with filters
  • Every packet (SIP + RTP) captured in-process, no Npcap or root needed
  • One click to analyze: ladder diagram plus ~40 rules that explain problems in plain words (missing ACK, private IP in SDP/Contact, drop at 32 s, one-way audio, codec mismatch, 481, glare, auth failures...)
  • RTP loss, jitter, gaps and an E-model MOS estimate
  • Also opens any pcap/pcapng from Wireshark, tcpdump, sngrep or your SBC

Sharing evidence

  • Annotated pcapng export with findings as Wireshark packet comments
  • Redacted export that masks numbers, names, credentials and public IPs for vendor tickets

Diagnostics

  • OPTIONS ping with round trip
  • RFC 3263 lookups (NAPTR / SRV / A)
  • STUN test to spot symmetric NAT
  • The address your registrar sees you from

Reproduce broken clients on purpose

Per-account knobs like user=phone, compact headers, long Contact, T1, DSCP, fake SDP address, even skipping the ACK, with a live preview of the INVITE the account will send.

Optional AI second opinion

Bring your own key (Anthropic, any OpenAI-compatible endpoint or a local Ollama). Masked by default, and you can preview exactly what gets sent before anything leaves your machine.

Automation

CLI, JSON test suites with JUnit output for CI, and an MCP server for AI agents.

Status

It’s alpha. CI runs it against a real Asterisk on every commit, but it’s young. Not there yet: TCP/TLS, SRTP and Opus in the native phone, conferencing, BLF.

If it reads one of your traces wrong, I’d really appreciate a redacted capture (Export > Redacted pcapng) in an issue. Real traces from other PBXs, SBCs and carriers are what improve the rules most.

Disclosure: built with heavy help from an AI coding assistant; the design, testing and telecom decisions are mine.

What would you want a troubleshooting softphone to check that most tools don’t?


r/Asterisk • • Oct 16 '26

Can Asterisk keep doing an AGI-based caller lookup in front of 3CX?

5 Upvotes

Our 14-person office uses an Asterisk AGI to look up inbound caller ANI in PostgreSQL and send known customers to the right queue. Unknown numbers go to the receptionist. I’m weighing 3CX for the phones, but I don’t want to rebuild that lookup before we know what the replacement routing can handle.

Has anyone kept Asterisk as the inbound front end and handed each call to a 3CX queue over a SIP trunk? I’m unsure whether to map each result to a separate 3CX destination or pass a value that 3CX can route on. If you’ve run this split, where did you put the customer lookup, and what caused the most trouble with call transfers or caller ID?