Recording calls when redirect?

I seek some software solution like telephone exchange or something like this, which wil be able redirect calls to other phones (mobile phones or classic phones), but record these calls at the same time. Do you know any like this?