In California, two-party consent recording law requires that consent be obtained by all parties before recording phone calls. I've pasted relevant parts of this law below.
Further, subsection (d) of the same law establishes that any evidence obtained without such consent is "not admissible in any judicial, administrative, legislative, or other proceeding" except when used as evidence for violations of this law. But given the wording of the law and precedent established since (Flanagan v. Flanagan, California v. Gibbons, and so on), does stating a strict purpose of the recording preclude later use of the recording for unrelated legal evidence?
When you call a corporate customer support line and hear, "this call is being recorded for training purposes", can the company then use the recording as evidence in court, with no relationship between "training" and the use of the recording?
California Code, Penal Code - PEN § 632
(a) A person who, intentionally and without the consent of all parties to a confidential communication, uses an electronic amplifying or recording device to eavesdrop upon or record the confidential communication, whether the communication is carried on among the parties in the presence of one another or by means of a telegraph, telephone, or other device, except a radio, shall be punished by a fine not exceeding two thousand five hundred dollars ($2,500) per violation, or imprisonment in a county jail not exceeding one year, or in the state prison, or by both that fine and imprisonment. If the person has previously been convicted of a violation of this section or Section 631, 632.5, 632.6, 632.7, or 636, the person shall be punished by a fine not exceeding ten thousand dollars ($10,000) per violation, by imprisonment in a county jail not exceeding one year, or in the state prison, or by both that fine and imprisonment.
(b) For the purposes of this section, “person” means an individual, business association, partnership, corporation, limited liability company, or other legal entity, and an individual acting or purporting to act for or on behalf of any government or subdivision thereof, whether federal, state, or local, but excludes an individual known by all parties to a confidential communication to be overhearing or recording the communication.
(c) For the purposes of this section, “confidential communication” means any communication carried on in circumstances as may reasonably indicate that any party to the communication desires it to be confined to the parties thereto, but excludes a communication made in a public gathering or in any legislative, judicial, executive, or administrative proceeding open to the public, or in any other circumstance in which the parties to the communication may reasonably expect that the communication may be overheard or recorded.
(d) Except as proof in an action or prosecution for violation of this section, evidence obtained as a result of eavesdropping upon or recording a confidential communication in violation of this section is not admissible in any judicial, administrative, legislative, or other proceeding.