Cyber Week: a free onboarding call with every new server, until 7 December. See plans
VICIfast
ENES
Operations

A browser phone that rings but never answers: the 30-second STUN wait

A browser phone told to use a public STUN server waits for it before it answers. When the network blocks that server, the call rings for about 30 seconds and VICIdial cancels it.

VICIfast Support
··3 min read
A modern call-centre office — illustration for: A browser phone that rings but never answers: the 30-second STUN wait
Photo by Pavel Danilyuk on Pexels

It rings, it never picks up, and about 30 seconds later the call is gone. The stock phone, meanwhile, works fine.

When we chased this down, the browser phone had been told to use a public STUN server, and the agent's network blocked it. Here's why that turns into a ring with no answer, and why our own webphone doesn't use STUN at all.

Why a browser phone waits before it answers

A browser phone is a Webphone built on WebRTC, the browser's own calling technology. Before it can answer, it gathers the addresses its audio could use.

STUN is one source of those addresses. A STUN server is a public server the phone asks, in effect, "what address do you see me coming from?" It's a NAT traversal aid: a way for a phone behind a router to learn the public address the router shows the world.

The catch: a phone told to use a STUN server waits for it before it can answer. It doesn't matter whether the agent clicks to answer or Webphone Auto-Answer, VICIdial's setting that makes the web phone pick up by itself, does it for them. Nothing answers until gathering is done.

What happened on the agent's network

The agent's network blocked the public STUN server the phone was set to use. The phone sat gathering addresses for about 30 seconds. VICIdial gave up waiting and cancelled, so from the agent's side the call rang and was never answered.

Ringing is a useful clue. A phone that rings has already finished its Phone registration (signing in to the dialer), so this isn't a webphone that won't register. The failure comes later, at the moment of answering.

flowchart TD
  A[Call comes in for the agent] --> B[Browser phone rings]
  B --> C{Told to use a STUN server?}
  C -->|no| D[Uses its own addresses]
  D --> E[Answers]
  C -->|yes| F[Asks the public STUN server]
  F --> G{Network blocks it?}
  G -->|no| E
  G -->|yes| H[Waits about 30 seconds]
  H --> I[VICIdial cancels the call]

Why our webphone skips STUN

Every server we run has a public address. The browser's own addresses are enough to reach it, and Asterisk, the phone engine on the dialer, sends audio back to wherever the browser's packets come from. A STUN server has nothing to add.

So the VICIfast webphone doesn't ask one, and a network that blocks public STUN servers has nothing to block. Its audio goes straight between the agent's browser and the server, encrypted.

The server-side twin: joined, but silent

STUN can trip up the server too. On one server with a public address, a stunaddr line in Asterisk's rtp.conf, the file that sets how it handles RTP (the voice packets), left an agent joined to the conference with no audio. Removing the line fixed it.

Don't add a STUN setting "just in case" on a server with a public address. We've seen it break calls from both ends: a phone that waits about 30 seconds and never answers, and an agent joined to the conference with no audio.

If calls connect but stay silent for other reasons, finding the cause of one-way audio and NAT audio problems on a cloud dialer cover the wider checks.

How to check a phone that rings and never answers

  1. Confirm it really rings. Ringing means registration is fine, so skip the registration checklist.
  2. Time it. A ring that ends in a cancel after about 30 seconds fits the STUN wait.
  3. Find the phone's STUN setting, and ask whether the agent's network lets that server through. A phone that works on one network and fails on another points at what that network blocks.
  4. If your server has a public address, try the phone without STUN. That's how we run ours.
  5. Check the server's side as well. A STUN address in Asterisk's RTP configuration on a public-address server is worth a second look.

The other ways a browser phone fails, from choppy audio to dropped registrations, are mapped in the VICIdial call-quality guide.

Frequently asked

› Why does my VICIdial browser phone ring but never answer?
One cause we've measured: the phone was told to use a public STUN server, the agent's network blocked it, and the phone waited about 30 seconds for it. VICIdial cancelled the call before the phone could answer.
› Does a VICIdial server with a public address need STUN?
On ours, no. The browser's own addresses reach the server, and Asterisk sends audio back to wherever the browser's packets come from.
› Is a phone that rings but won't answer a registration problem?
No. A phone that rings is already registered to the dialer. The wait happens when it tries to answer.

A 30-second wait for a server you never needed is an easy fault to miss and an easy one to remove. If you'd rather run browser phones on servers with a public address and no STUN to wait for, try a server free for 7 days.

About VICIfast

We run VICIdial servers for call centres, so you don’t have to. You get the dialer set up, secured and kept running — we handle the server, the updates and the backups. Bring your own phone carrier at no markup, or use VICIfast Voice, our own US calling and numbers, from $0.0085 a minute. From $49 a month per server.

Questions? Call +1 636 556 0022 and talk to someone who runs dialers.

Citing this article

VICIfast Engineering. “A browser phone that rings but never answers: the 30-second STUN wait”. VICIfast LLC, November 30, 2026. Retrieved from https://vicifast.com/blog/vicidial-webphone-rings-never-answers-stun

Have questions?

Related posts

You might be interested in

Comments

Comments are reviewed before they appear. We never publish your email.

No comments yet - be the first.