Call RoutingNovember 27, 20267 min read

Call forwarding loop: detect and stop ping‑pong calls

Break live loops fast, read your logs to spot ping‑pong calls, and set safe ring and overflow rules that end in a queue or voicemail.

CallFlow Engineering Team

Telecom engineering and support at CallFlow (ALERTSIO LLC)

Call forwarding loop: detect and stop ping‑pong calls – Call Routing article from the CallFlow blog

To detect and stop a call forwarding loop right now, disable one hop in the route and turn off any carrier forwarding on the on-call mobile. The most common cause is a conditional carrier forward (no-answer or busy) or an after-hours failover that points back to your main number. Pause or remove the mobile target in your routing, then disable forwarding on that phone. The live call should stop bouncing within a minute and land in a queue or voicemail.

What a call forwarding loop is (and why it happens)

A call forwarding loop is when a call forwards between two or more numbers and returns to a number it already visited. It repeats until the caller hangs up, a timer ends, or some limit breaks the cycle.

Common triggers are unconditional carrier forwarding (the star code many carriers call *72), conditional forwarding on no-answer or busy, PBX (your office phone system) ring group failovers, and after-hours rules. Loops can cross networks: your carrier, a cloud routing platform, a PBX on-site or in a data center, and a mobile carrier.

Here’s a clean example used throughout this page. Your main business number sits on a cloud platform. It rings the office PBX ring group for 20 seconds. If no one answers, the PBX sends the call to the on-call mobile for 20 seconds. That mobile line has carrier “no-answer” forwarding set to the main number. The call comes back to the start and repeats.

The fastest way to break a live loop

When a call is bouncing now, act in this order:

  1. In your routing platform, pause or remove one external target. The easiest first cut is the on-call mobile. Save the change and watch your live logs.

  2. On the on-call mobile, turn off carrier call forwarding. This stops conditional forwards that you don’t control from your PBX or platform.

  • US and many GSM carriers: dial ##002# to cancel all forwarding. Some carriers use other codes; check your operator’s help page.
  • iPhone: Settings → Phone → Call Forwarding → Off.
  • Android: Phone app → Settings → Calling accounts or Carrier features → Call forwarding → Off.
  1. If your PBX ring group forwards to an external number on no-answer, turn that off. Keep the failover local (PBX queue or PBX voicemail) while you test.

Result: the call stops bouncing and reaches your queue or voicemail within about a minute. If it still loops after you’ve disabled forwarding, go to “When to escalate.”

How to detect a call forwarding loop in your logs

Your call detail records (CDRs) or live logs tell the story. Look for the same ANI (the caller’s number) hitting the same DNIS (the number they dialed) again and again within seconds. You’ll also see a burst of short ring legs (5–20 seconds each) that hop across the same few destinations, then repeat. If your platform records Diversion or History-Info headers (SIP fields that show prior forwards), you’ll see the same list of numbers repeat.

If you capture SIP (the protocol your phones use over the internet) detail, you may see 486 Busy Here, 480 Temporarily Unavailable, 408 Request Timeout, or repeated 3xx/181 in the same pattern.

A quick workflow to confirm a loop:

  • Filter the last 1–2 hours by the called number (your main DNIS).
  • Group by caller number.
  • Sort by time, newest first.
  • Scan for callers who appear multiple times within a minute.
  • Open one call. Expand the legs. Check timestamps and targets. If the path returns to your entry number or the same IVR (a press-1 phone menu), you have a loop.

If you need a refresher on the fields to read, see Call Logs and CDRs.

Common loop patterns across carriers, PBXs, and mobiles

Running example loopDiagram of Running example loop. Steps: Caller; Main number (DNIS); PBX ring group (20s); On-call mobile (20s); Carrier fwd (no-answer); Voicemail. Connections: Caller to Main number (dials); Main number to PBX ring group (route); PBX ring group to On-call mobile (20s no answer); On-call mobile to Carrier fwd (20s no answer); Carrier fwd to Main number (loops back); PBX ring group to Voicemail (fallback).dialsroute20s no answer20s no answerloops backfallbackCallerMain numberDNISPBX ring group20sOn-call mobile20sCarrier fwdno-answerVoicemail
Illustrative exampleRunning example loop Main number → PBX → mobile → carrier forward → back to main.

Pattern 1: Cloud number → PBX ring group (20 seconds) → on-call mobile (20 seconds) → the mobile’s conditional carrier forward goes back to the main number. The telltale sign is a DNIS that repeats and a caller that hits the same ring group twice in under a minute. Break it by turning off the mobile’s carrier forwarding and ending the PBX failover at a local queue or voicemail.

Pattern 2: A ↔ B ping-pong. Two numbers each set to forward on no-answer or busy to the other. This often comes from star-code forwarding (*72 or similar) put on both lines. You’ll see A calls B, then B forwards to A, and back again. Disable forwarding on one side, then remove it on the other.

Pattern 3: Voicemail loop. An external carrier voicemail or a PBX voicemail reroutes to an outside number instead of taking a message. This is common when “press 0 for operator” on a voicemail box sends back to the main number. Fix by turning off the “operator escape” or sending that escape to a local queue that ends in voicemail.

Pattern 4: IVR fallback to main. An IVR sends invalid entries or timeouts back to the main number rather than to a queue or local voicemail. A caller who doesn’t press a key cycles through IVR → main → IVR. Update the IVR’s timeout and invalid branches to end on a queue or voicemail, not the entry line.

Safe ring timers and overflow rules that don’t loop

Loops thrive when ring timers are long and failovers point outside. Short, clear timers and a local end point stop them.

Use 15–20 seconds per hop (about three to four rings). Let a queue wait 30–60 seconds, then end in local voicemail. Never overflow back to your entry number or any number that can reach it.

Keep the final stop on your platform rather than an external carrier’s voicemail when you can. That gives you clean logs and lets you cut a target during an incident without waiting for carrier settings to update.

Avoid simultaneous ring to devices with their own carrier conditional forwarding. A mobile’s carrier voicemail may “win” the race, or its carrier’s no-answer forward may reroute outside your plan. If you must use simultaneous ring, send to SIP endpoints or PBX extensions with known no-answer behavior. Use it sparingly; see Ring timeout settings and Queue timeout and overflow for how timers interact. If you do run a wide fan-out, plan the last stop so it cannot reenter the same route.

Use per-target schedules. After-hours mobiles shouldn’t forward back into business-hours routes. Give the on-call mobile a narrow window, and send outside that window to your platform queue or voicemail instead of back to the main number.

Prevent loops when forwarding to a PBX or SIP trunk

Keep ring group failovers local on the PBX. Queue or PBX voicemail should be the end, not an external business number that lands in the same IVR or ring group.

If you truly need to send a call out and back in, use a different DID (the business number callers dial) that points to a distinct entry path. Never send a failover to the very number that started the route. Label those DIDs in your routing notes so anyone on duty knows which is the “return” path and which is the public entry.

On SIP trunks, coordinate rules with your PBX admin. Avoid forwarding externally on no-answer or busy unless the external destination cannot reach your entry DID. Prefer sending to a SIP endpoint you control, where you can set a short timer and a clear end at voicemail.

When you forward to a PBX or SIP address, make sure you know where no-answer lands before you turn it live. If you don’t control the mobile carrier’s settings, keep the last hop on your platform or on the PBX, not on a mobile line. For setup patterns, see Forward calls to a SIP address or PBX and plan your fallbacks with Failover call forwarding.

When to escalate to your carrier or platform support

Escalate when a loop continues after you’ve disabled your known forwards, or when your logs show a carrier leg you can’t touch, like a mobile’s conditional forward you don’t control. If calls enter another provider’s network and loop there, you need their help.

Include in your ticket:

  • Timestamps with time zone.
  • Calling number (ANI) and called number (DNIS).
  • A short note of the route you expect.
  • Sample CDRs or screenshots that show repeats and short legs.

One note for CallFlow users: you can update your routing and watch real-time logs to confirm the loop stops, then re-enable targets in a controlled way. If callers report looping but you can’t reproduce it, set a temporary queue with a short max wait and a voicemail overflow to protect callers while you investigate.

Lock in a safe path before you turn forwarding back on

Do this after you’ve broken the loop:

  • Set each hop to 15–20 seconds.
  • Make your last stop a queue (30–60 seconds), then local voicemail.
  • Remove any failover that points to your entry number or to a number that can reach it.
  • Test with two calls: one answered at hop 1, one that times out to voicemail. Check logs to confirm there’s no reentry.

If you route at scale and want clean controls, sign up for CallFlow and build your path with queues, IVR, and per-target schedules you can see and change in real time: https://callflow.solutions/register. If you need help mapping a tricky PBX or SIP trunk handoff, drop a note to our team: https://callflow.solutions/contact.

Frequently asked questions

Why are my forwarded calls bouncing between two phones?

Most often, a loop happens because one target forwards back to a number already in the route. Common cases: a PBX failover pointing to a mobile whose carrier's no-answer forward sends the call back, or two lines, each set to conditional forwarding to the other. Break it by pausing one external target and disabling carrier forwarding on the mobile, then watch your logs for repeated DNIS/ANI pairs.

Will conditional call forwarding to voicemail cause a loop?

It can, if that voicemail system routes calls back to your entry number instead of taking a message. External carrier voicemail or an ‘operator’ escape that sends callers to the main DNIS will create a loop. Make voicemail the final stop on the same platform or the PBX, not an external number that can re-enter the same IVR or ring group.

Can my iPhone or Android create a loop by itself?

Yes, a phone can cause a loop when device or carrier conditional forwarding (no-answer or busy) is enabled and points back to your main number. On an iPhone, turn off Settings → Phone → Call Forwarding. On Android, use the Phone app → Settings → Calling accounts or Carrier features → Call forwarding and disable any rules. Also pause that target in your routing while you test.

What code disables all forwarding on my mobile carrier?

Many GSM-style networks accept ##002# to cancel all conditional and unconditional forwarding, but codes vary by operator and country. If the code doesn’t work for your line, check your mobile operator’s help page or support. When you stop a live loop, disable forwarding on the phone and pause the mobile target in your routing platform at the same time.

Do call queues ever create loops?

Yes, queues can create loops when their overflow or failover routes point back to the public entry number or to an external line that can reach that entry. Avoid that by ending queues in local voicemail or keeping the final stop on your platform. Use 30–60 second queue waits, and never overflow back to a DID that re-enters the same route.

Does call forwarding mean someone can listen to my calls?

Forwarding itself doesn’t grant third-party listening. Someone on the forwarded destination can answer and listen. Platforms can record or allow live call monitoring only when those features are enabled. If you want recordings or live monitoring, you must turn on call recording or monitoring explicitly; otherwise, a forwarded leg is just a normal call leg to the destination.

From the team

CallFlow Engineering Team

Telecom engineering and support at CallFlow (ALERTSIO LLC)

The engineers and support staff who build and operate CallFlow's call-routing platform. We write from what we see running inbound routing for pay-per-call marketers, agencies and small businesses every day: routing rules, carrier behaviour, spam flags, and the configuration mistakes that quietly cost calls.

Ready to get started with CallFlow?

No subscription. Transparent usage billing. Per-number spam scores. Built for scale.

Create Free Account →