For the case when an employee has moved away and cannot answer a call, it is convenient to put the agent on pause. For example, an employee dials a special extension number *46 and leaves for lunch.
New calls to the employee will stop coming.
When the employee returns, he dials *46 again and disables the pause. In modern phones, everything can be reduced to pressing a single button.
Go to "Modules" -> "Dialplan Applications"
Create a new dialplan.
Specify the name, as well as the dialplan number (in our case - 2200105). Specify "Dialplan Asterisk" as the code type
Go to the "Programme Code" tab. Paste the following code into the black area:
Go to the "System file customization" section
Open the file "/etc/asterisk/extensions.conf" for editing
Paste the following code at the end of the file: