Federal law requires one-party consent, enabling you to record a conversation in person or over the phone, but only if you are participating in the conversation. If you are not part of the conversation but you are recording it, then you are engaging in illegal eavesdropping or wiretapping.