Click-to-dial on the Mac with Asterisk and FreePBX
You select a number on your Mac, press a shortcut, and your desk phone sets up the call. You need neither a softphone nor a new PBX, only access to the Asterisk Manager Interface. This guide shows what happens on the PBX and how to set it up in digoDial.
Updated
What happens when you dial
Click-to-dial with Asterisk runs on the AMI action Originate. Your Mac sends the PBX a request with three details: which device rings first, which number to dial, and the dialplan context in which the PBX looks up that number.
Asterisk then calls your desk phone. Once it has picked up, the PBX dials the destination and bridges both legs. Audio runs over the phone and the PBX the whole time. The Mac carries none of it.
Action: Originate Channel: PJSIP/101 Exten: 069900129xx Context: from-internal Priority: 1 Async: true Timeout: 30000
Check the PBX first
You can check whether your PBX can dial this way on the Asterisk console, without any app. If your phone rings and the destination follows after you pick up, the PBX is ready. We use the same test ourselves when a call fails. It tells you whether the cause lies with the PBX or with the Mac.
asterisk -rx "channel originate PJSIP/101 extension 069900129xx@from-internal" # look up channel names asterisk -rx "pjsip show endpoints" # PJSIP asterisk -rx "sip show peers" # chan_sip
What the PBX needs
- A dedicated AMI user with read access to call and write access to call, originate and system, restricted to your Mac's address.
- A dialplan context that reaches internal extensions and external numbers. In FreePBX this is usually from-internal, which is also the default in digoDial.
- Optionally, a desk phone that answers by itself when it receives a SIP header. Without it, the phone rings first when you dial, and you pick up the handset.
Create a secure AMI userLet the desk phone answer automatically
FreePBX specifics
FreePBX runs on Asterisk, so everything above applies. You create AMI users in the Asterisk Managers module under Settings. Extension channels usually match the number, for example PJSIP/101.
Current FreePBX versions rely on PJSIP, and chan_sip was removed in Asterisk 21. Dialing by Originate works with PJSIP devices, and since version 1.6.1 digoDial sets the auto-answer header there as well. The auto-answer guide shows how.
Setting up digoDial
Once started, digoDial sits in the menu bar as a phone icon. The settings have a tab for each step.
- In the Connection tab you enter host, port (plain AMI 5038), AMI user and password. Test connection checks the credentials right away, and the password is then kept in the macOS keychain.
- The Telephony tab holds your own extension, the monitored extensions and the dial devices. For monitored extensions, enter the PBX peer name without a prefix, such as snom-office instead of 10. For dial devices, enter the full channel name, such as PJSIP/101 or SIP/snom-office.
- Also in the Telephony tab you set the originate context and turn on Answer automatically (auto answer) if your phone supports auto-answer.
- In the Dialing tab you choose region and dial format (E.164, 00-international or national, national by default). Once you enter your area code, digoDial also dials numbers entered without one.
Dial from any app
Every route ends in the same Originate, so you dial whichever way suits the moment.
- You turn on the hotkey in the Dialing tab, it is off by default. Then you select a number and press Shift+Option+Cmd+D. The first time, macOS asks for the Accessibility permission, because the app has to read the selection.
- Right-click the selected number and choose Call with digoDial, either directly in the menu or under Services, depending on the app.
- tel: and callto: links from your browser, mail app or CRM go to digoDial once you set it as the default in the Connection tab.
- In the dial field in the menu bar you type a number or a name, with matches from Contacts and the LDAP directory.
The limits
Your own device is connected first, and digoDial does not fake a ringback tone. If your carrier sends no early media, you therefore hear nothing until the far end answers.
One connection serves one PBX and one extension. Transfer is a blind transfer without consultation.
Tested on August 24 and 25, 2026 on a production system: Asterisk 18.10 with chan_sip on Debian, a Snom D385 as the extension, all nine points of the acceptance checklist passed on the real phone.
Frequent questions
Do I need a softphone for click-to-dial?
No. You talk on the desk phone, the Mac only gives the PBX the request. No audio runs over the Mac, and there is nothing to set up on the computer for audio.
Does this work with FreePBX?
Yes, as long as AMI is reachable from the Mac and an AMI user with the permissions above exists. We tested digoDial on Asterisk 18.10 with chan_sip. We checked the auto-answer header for PJSIP on Asterisk 20 and 22.
The shortcut does not dial. What is missing?
First check that the hotkey is turned on in the Dialing tab, then the Accessibility permission, found in System Settings under Privacy & Security. If the key combination does nothing at all, another program probably uses it, so change it in the Dialing tab.
digoDial on the Mac App Store
Download digoDial for free and try every feature for five days on your own PBX. After that, the full version is a one-time purchase of 39.99 euros, with no subscription. The incoming call display with names, do not disturb and voicemail stay available without a purchase.