Call forwarding is handled by the service provider and can't be done by the phone itself.
Once your provider has routed a call to your phone, it is not possible to 'tell' the provider programatically to re-route it elsewhere. This is not a limitation of Android, it's simply how phone networking works.