In the administrator web-interface: Administration - System - Systems settings - Dialplan you have the option "Override call-forward"
If enabled you can override the Call forward of a device, example is the chef/secretary function.