Howwise RSS
VoIP & Phone Systems8 min read

Shared Line Appearance on Asterisk and FreePBX: What Works

Short answer

Shared line appearance on Asterisk and FreePBX is not supported natively: PJSIP has no BroadSoft-style SCA server, so Yealink and Polycom shared line settings do nothing useful. A ring group, BLF keys, call pickup and group voicemail come close.

Key takeaways
  • Stock Asterisk and FreePBX cannot act as an SCA/BLA server, so account.X.shared_line on Yealink and reg.x.type=shared on Polycom will register but not mirror call state.
  • A ringall ring group plus BLF keys plus pickup (*8 or **ext) plus a voicemail-only mailbox covers most small-office needs.
  • BLF shows idle, ringing or busy for an extension, never who is talking, and it cannot retrieve a held call.
  • Shared hold across phones is best emulated with parking slots and BLF keys on those slots.
  • If you need true shared hold and per-line state on every phone, move to a platform with SCA support such as 3CX, FreeSWITCH, Kamailio or OpenSIPS.

Does FreePBX support shared line appearance?

No. Shared line appearance (SLA, also called shared call appearance or SCA, and BLA on some phones) is a BroadSoft-derived feature where one line appears on several phones. All phones show the same call state, and a call held on one phone can be retrieved on another. Stock Asterisk with PJSIP and FreePBX do not provide this.

The mechanism is the reason. SCA relies on the server accepting SUBSCRIBE requests for the call-info event package (and dialog events) on the shared line's address. The server then pushes NOTIFY messages describing each appearance. Asterisk's PJSIP stack does not implement that server role, so nothing tells the other phones what is happening.

Asterisk does have an SLA() dialplan application in app_sla. It is a key-system emulation for analog-style trunks and stations, built on its own SLA configuration (sla.conf). It does not provide SCA to SIP phones and should not be mistaken for it.

FreePBX has no module that adds SCA either. Any guide that claims to enable it by editing a phone template is only changing the phone's behavior, not the server's.

Why do Yealink and Polycom shared line settings not work on Asterisk?

The phone settings are real, but they need a server that speaks the protocol. On Yealink, account.X.shared_line = 1 selects BroadWorks SCA. On Polycom, reg.x.type="shared" sets a shared line. Both make the phone send SUBSCRIBE for call-info or dialog state and expect NOTIFY replies describing the appearances.

Asterisk answers the REGISTER, so the phone shows a normal registered line. It does not handle the call-info subscription, so the phone gets an error or silence. You then see symptoms like those below.

The setting is accepted without complaint, which is why people assume it works. Accepting a config value is not the same as the server supporting the feature.

SymptomCauseFix
Phone registered, but line icons never mirror other phonesNo call-info NOTIFY from AsteriskSwitch the account back to a normal line and use BLF keys
Hold on phone A, no resume on phone BNo shared appearance stateUse call parking and a BLF park slot
Subscribe errors such as 489 Bad Event or 404 in the SIP logAsterisk does not serve that event package for the lineDisable shared line mode on the account
Each phone creates its own call legPhones treat the shared line as independentExpect separate channels per phone
# Watch what the phone sends and what Asterisk answers
asterisk -rvvv
pjsip set logger on
# or capture and read the dialogs live
sngrep port 5060
# Look for: SUBSCRIBE ... Event: call-info (or dialog), answered by 4xx/489

What is the difference between SLA, a ring group and BLF?

These three are often confused because they all involve several phones and one number.

A ring group rings a list of extensions in parallel (ringall) or in order. It keeps no shared state. Once one phone answers, the others stop ringing, and that is all they know.

BLF (busy lamp field) is a dialog-state subscription to one extension. The phone subscribes to the extension's hint, and Asterisk reports idle, ringing or busy through res_pjsip_exten_state. It shows the state of another extension. It does not make that extension a line on your phone.

SLA/SCA is the only one that gives a shared line with per-appearance state, shared hold and bridging into a call.

OptionShared stateHold pickup on another phoneVoicemailComplexityAsterisk/FreePBX support
True SLA/SCAFull, per appearanceYesServer-definedMediumNot supported
Ring group + BLF + pickupIdle, ringing, busy onlyNo (pickup only while ringing)Yes, on no answerLowNative
Same extension on several phonesNone per phoneUnreliableShared mailbox and MWIVery lowNative (max_contacts)
Parking with BLF slotsSlot occupied or freeYes, through the slotNot applicableLow to mediumNative
Ring group aloneNoneNoYesVery lowNative

How do I build a working substitute with a ring group and group voicemail?

This is the closest everyday replacement: one number rings several desks, and an unanswered call lands in a shared mailbox.

Create a voicemail-only mailbox first, so no person's personal mailbox is the fallback. In FreePBX you can add a virtual extension (a mailbox with no phone) for this, for example 2000.

  1. Create virtual extension 2000 with voicemail enabled, a PIN, and the shared office email address in the email field.
  2. Go to Applications > Ring Groups and add group 600 with strategy ringall and the members, for example 101-104.
  3. Set Ring Time to 20 to 25 seconds. Keep it shorter than any upstream or carrier timeout and shorter than any voicemail timer you rely on.
  4. Set the destination if no answer to Voicemail 2000 with the unavailable message (u).
  5. Leave Ignore CF Settings and Skip Busy Agent off unless you want busy phones skipped. If every member is busy, the call falls through to the same destination.
  6. Point the inbound route or IVR option at ring group 600.
  7. Test: answer on one phone, let it ring out, call with all phones busy, and check that the voicemail email arrives.
Warning: Do not set the ring time higher than the time your upstream trunk or an IVR will wait. The caller may be dropped before voicemail picks up, and the message is then lost with no error.

How do I set up BLF and call pickup on Yealink and Polycom?

BLF only works if the extension has a hint. FreePBX creates hints for extensions automatically, and Asterisk's res_pjsip_exten_state publishes the state. Phones subscribe with a SUBSCRIBE for the dialog event.

Pickup lets a phone grab a ringing call. FreePBX uses *8 for group pickup (same pickup group) and ** followed by an extension for directed pickup. If staff are in different pickup groups, *8 will not find the call, so set the same Call Pickup Group on each extension in Advanced settings.

On Yealink, set the line key type to BLF (type 16) with the extension as value and the pickup code in the extension field. On Polycom, use the attendant resource list.

Check the hints in the CLI before blaming the phone.

# Yealink auto-provision (per key)
linekey.2.type = 16
linekey.2.value = 102
linekey.2.label = Reception
linekey.2.extension = **
features.pickup.direct_pickup_code = **
features.pickup.group_pickup_code = *8
features.pickup.blf_visual_enable = 1

# Polycom (per resource)
attendant.resourceList.1.address = 102
attendant.resourceList.1.label = Reception
attendant.resourceList.1.type = normal
feature.BLF.enabled = 1

# Asterisk CLI checks
# core show hints
# pjsip show endpoint 101
Tip: Use individual BLF keys per extension. A BLF list URI (RLS, one subscription for many entries) needs resource-list support that Asterisk does not provide without extra components, so leave list URI or BLF list fields empty.

Can several phones register the same extension, and how do I emulate shared hold?

Yes. A PJSIP endpoint can have several contacts on its AOR, so one extension can ring on a desk phone, a second desk phone and a softphone. Raise Max Contacts in the extension's Advanced tab above 1 (for example 3), or the second registration will be rejected or will replace the first when remove_existing is set.

The behavior is simple. Every registered phone rings, the first to answer wins, and voicemail and MWI are shared because it is the same mailbox. There is no per-phone status, so one phone cannot see that another has the call.

Hold is the weak point. Each device handles its own leg, so a call held on one phone usually cannot be resumed on another. Auto-provisioning also gets awkward because one extension means one set of credentials in several phone configs.

To emulate shared hold, park the call. FreePBX's Parking Lot module defines a park extension (commonly 70) and slots (commonly 71 and up, confirm in the module). Put BLF keys on the slots. The person on the call presses Transfer then the slot, and anyone can press the lit BLF to retrieve it.

; Yealink BLF on a park slot, value is the slot extension
linekey.5.type = 16
linekey.5.value = 71
linekey.5.label = Park 1

; Check the park slots and hints
; asterisk -rx "core show hints" | grep 7
; asterisk -rx "parking show"   (may vary by version)
Warning: Parked calls time out and ring back to the parker after the park timeout. Set that to a value your staff actually expect, or callers will be bounced around.

When should you move to a platform that really supports SLA?

If staff need to see which appearance is in use, hold on one phone and resume on another, or bridge into a call, the substitutes will frustrate them. That is the point at which moving makes more sense than adding workarounds.

Platforms with real shared line support include 3CX (shared parking and shared line features), FreeSWITCH with mod_sofia SLA/SCA, Kamailio with the sca module, OpenSIPS with b2b_sca, and some appliance PBXs such as Yeastar and Grandstream UCM. A hosted PBX that is BroadWorks-compatible also works, and Yealink and Polycom shared line settings are designed against that kind of server.

Weigh the cost honestly. Kamailio and OpenSIPS give flexibility but need real SIP engineering skill. A hosted or appliance PBX is faster to deploy, but you give up the FreePBX modules, custom dialplan and trunk setup you already have.

If you stay, accept the limits. Common mistakes are expecting BLF to show who is on a call, enabling Yealink shared line because it accepts the value, forgetting to set pickup groups, setting a ring time longer than voicemail timeouts, and forgetting that every extra registered phone adds channels and can hit trunk or license limits.

Common questions

Does Asterisk SLA() work for SIP desk phones?

No. The SLA() application in app_sla emulates a key system with trunks and stations, configured in sla.conf. It does not implement the SIP call-info SCA that Yealink or Polycom shared lines expect.

Can voicemail light the message waiting indicator on every phone?

Yes, if each extension also points to the shared mailbox. Add the group mailbox to each endpoint's mailboxes list (for example 101@default,2000@default) through a custom override, then confirm with pjsip show endpoint. Verify it after upgrades because overrides can be lost.

Why does *8 not pick up a call on my BLF key?

Group pickup only grabs calls ringing within the same pickup group. Set the same Call Pickup Group on both extensions, or use directed pickup (** plus the extension) in the key's extension field.

Is a ring group better than sharing one extension on several phones?

Usually yes. A ring group gives each person their own extension, voicemail and BLF, and lets you set ring time and a no-answer destination. A shared extension is simpler but gives no per-phone identity or reliable hold.

Will a Yealink BLF key show who is on the call?

No. BLF reports only idle, ringing or busy for that extension through dialog state. It never exposes the other party, and it cannot join or retrieve the call.

Related topics:asteriskfreepbxshared line appearanceyealinkblf