*8XXXXXXXXXX does not exist in the extensions_additional.conf file in /etc/asterisk. As to why it is not there, I could not say. Maybe you need to uninstall/install the impacted modules?
What is PHONENUM (number of a ringing extension, DID being called, caller ID)?
If it’s an extension and there is a BLF key for it on the phone doing the pickup, with most systems the BLF will be flashing and you can just press it to pick up.
Otherwise, does dialing **PHONENUM instead of *8PHONENUM work? Or, can you add the two extensions to the same call group and pickup group and just dial *8?
Sorry yes PHONENUM is the 10 digit extension. So I guess I should have called is XXXXXXXXXX And the extension is also the DID. Which all work perfectly.
Yes the BLF blinks, but you can’t pick it up.
I get an error on the phone (CALL FAILED *8XXXXXXXXXX) as well as those logs.
Call from ‘XXXXXXXXXX’ (X.X.X.X:31003) to extension ‘*8XXXXXXXXXX’ rejected because extension not found in context ‘from-internal’.
Like I said I have this working the exact same way on another (OLDER) system.
I have the pickup groups configured, they are matching.
IMHO, it should not have worked on the older system, unless you changed the feature codes. One possibility is that you changed the feature code for directed call pickup to *8. The other is that an older implementation of call pickup allowed *8 to work as directed call pickup, but doesn’t anymore.
Your options include:
Change the feature code for directed call pickup to *8, after moving the code for Asterisk general call pickup out of the way.
Change your pickup button to dial **PHONENUM instead of *8PHONENUM.
Change your pickup button to dial *8, assuming that call groups and pickup groups are properly set.
Fix your provisioning so BLF keys will pick up calls, eliminating the need for a special pickup button. On Polycom, the settings are attendant.behaviors.automata.pickupOnBusy=“0” and call.directedCallPickupString=“**” . I don’t remember the settings for Yealink, but they are in the Pickup section and fairly obvious. On most Sangoma phones, it works “out of the box”, but you may have some settings that broke this function.