If McCain was in the room possibly, but this is a detailed transcript, so someone transcribed it..my guess..there is a bug in the phone
This......or in the Oval.
Not necessarily the phone instrument itself. Those are easily replaced. The NSA could have intercepted and recorded it or it may have been captured via a bug planted in the Oval Office. Given the volume of the leaks there is some sort of bug capturing these conversations.