Let the desk phone answer automatically
When the PBX dials for you, your own phone rings first. If it picks up by itself, the call to the destination starts right away, and you only reach for the handset once the other party is there. For that, the PBX sends the phone a SIP header, and the phone has to be allowed to accept it.
Updated
The header digoDial sends
With Answer automatically (auto answer) turned on in the Telephony tab, digoDial adds a channel variable to the Originate request. The PBX turns it into a Call-Info header with answer-after=0 in the INVITE to your phone. Since version 1.6.1, digoDial picks the variable by the dial device's channel: PJSIP_HEADER for PJSIP/..., SIPADDHEADER for SIP/... The value answer-after=0 tells the phone to answer without delay.
Normal incoming calls do not carry this header and keep ringing as usual.
# PJSIP/... Variable: PJSIP_HEADER(add,Call-Info)=<sip:digodial>;answer-after=0 # SIP/... (chan_sip) Variable: SIPADDHEADER01=Call-Info: <sip:digodial>;answer-after=0
Snom: three settings
Snom phones accept the header when the Intercom Policy (answer_after_policy) is set to only in idle. The phone then answers only when it is free, and an ongoing call is not interrupted.
The phone alone decides which audio device the call goes to. On Snom, call_info_audio_device controls this. Only values with the prefix intercom_connect_type_ are valid there. A plausible-sounding headset is invalid, and the phone silently falls back to the intercom_connect_type setting. On our phone, that put the call on the speaker. The short notification tone on pickup goes away with auto_connect_indication=off.
answer_after_policy=idle call_info_audio_device=intercom_connect_type_headset auto_connect_indication=off
On the Snom settings page, the value after the equals sign is what counts. The label in the context menu can differ from it. Save the values to the phone's flash afterwards.
Yealink and other vendors
Many desk phones can answer automatically when the PBX asks them to, usually under the name intercom. Which headers a model accepts and where to enable it is in the administrator guide for that phone. We tested digoDial with a Snom D385. For Yealink and other vendors, the best check is a test call during the five trial days.
PJSIP and FreePBX
SIPADDHEADER is a chan_sip mechanism. chan_sip has been deprecated since Asterisk 17 and removed since Asterisk 21, so current FreePBX systems use PJSIP. There, headers are set with the PJSIP_HEADER function.
Since version 1.6.1, digoDial passes PJSIP_HEADER directly as a variable in the Originate. You need no pre-dial handler and no dialplan line for it. On Asterisk 20 and 22 the header then shows up in the INVITE to the phone. Whether the phone answers is decided by its own setting, just as with chan_sip. With version 1.6.0 the phone rings on PJSIP systems, and you pick up the handset.
INVITE sip:phone@127.0.0.1:5070 SIP/2.0 ... Call-Info: <sip:digodial>;answer-after=0 ... User-Agent: Asterisk PBX 22.11.0
Check what reaches the phone
The console's SIP output shows whether the header is in the INVITE. If it is there and the phone still rings, the phone's setting is the cause. If it is missing, look at the channel driver or the PBX configuration.
sip set debug peer snom-office # chan_sip pjsip set logger on # PJSIP
Frequent questions
Will the phone then answer normal calls automatically too?
No. The phone only picks up when the INVITE carries the header, and digoDial sets it only for calls you start on the Mac yourself.
The phone picks up, but the call ends up on the speaker.
On Snom, set call_info_audio_device to intercom_connect_type_headset or another suitable value with that prefix.
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.