Apple doesn't allow this to prevent viruses/trojans/hacks : Each app is put in what is called a "sandbox", which means it cannot communicate with other apps such as the Phone app. You can record your calls by using the jack port : you can record what is sent to and from the iPhone from ears for example using a special 2-way stereo (4-pin) adapter connected to a recording device such as your computer.