Is it possible to achieve call forwarding programmatically from an application ?

I am preparing an app and want to divert the phone call to particular number via application , without going back to the settings page or Home screen .