1) The call comes to one person (parameters as in originate).
We need to add the following to our config (example for calling 123):
"callback": {"caller_id": "Callback to #TO#","channel": "SIP/123","context": "from-internal","extension": "#TO#","priority": "1"}
2) Or the call comes to the group via a local channel.
The downside is that such calls are often not recorded, as they go through local channels.
If there are events in CEL on SIP/# channels when calling internal numbers, then the call will be registered.
In /etc/asterisk/extensions_custom.conf add: