From 6096e5d0ab48336a0f113d83ebd4ca076b07bf11 Mon Sep 17 00:00:00 2001 From: Nicolas MASSE Date: Sun, 1 Nov 2026 11:08:25 +0100 Subject: [PATCH] asterisk: load app_directed_pickup, name the group pickup code Co-Authored-By: Claude Opus 5.5 --- cookbooks/asterisk/config/etc/features.conf | 4 ++++ cookbooks/asterisk/config/etc/modules.conf | 3 +++ 2 files changed, 7 insertions(+) diff --git a/cookbooks/asterisk/config/etc/features.conf b/cookbooks/asterisk/config/etc/features.conf index f03b05d..5f95acf 100644 --- a/cookbooks/asterisk/config/etc/features.conf +++ b/cookbooks/asterisk/config/etc/features.conf @@ -1,3 +1,7 @@ ; Default transfer and pickup settings. The phones transfer with SIP REFER, ; handled by res_pjsip_refer, not with DTMF feature codes. [general] +; Dialled by a phone, picks up a call ringing on a phone of its pickup groups +; (named_pickup_group and named_call_group of pjsip.conf). Handled by chan_pjsip +; before the dialplan. *8 is the default, written here to be found. +pickupexten = *8 diff --git a/cookbooks/asterisk/config/etc/modules.conf b/cookbooks/asterisk/config/etc/modules.conf index d2a0481..3bb97f4 100644 --- a/cookbooks/asterisk/config/etc/modules.conf +++ b/cookbooks/asterisk/config/etc/modules.conf @@ -45,6 +45,9 @@ load => codec_a_mu.so ; Dialplan load => pbx_config.so load => app_dial.so +; Directed pickup: Pickup() and PickupChan(). Group pickup (pickupexten of +; features.conf, *8 by default) is in the core and chan_pjsip. +load => app_directed_pickup.so load => func_callerid.so ; "channel originate" from the CLI, to test a phone without a second one