John Melendez, the comedian who hosts "The Stuttering John Podcast," said he prank called President Donald Trump and got a call back from him on Air Force One.

When he finally got Trump on the line, after interacting with several White House operators, Melendez asked the president questions about immigration and Supreme Court Justice Anthony Kennedy's plan to retire.

Melendez said this was a sign of "how easy it is to infiltrate" the Trump administration.

John Melendez, the comedian who hosts "The Stuttering John Podcast," said he prank called President Donald Trump and got a call back from him on Air Force One.

Melendez said the call took place Wednesday evening, as Trump was flying back from a rally in North Dakota. Melendez apparently got through by pretending to be Democratic Sen. Bob Menendez of New Jersey.

When he finally got Trump on the line, after interacting with several White House operators, Melendez asked the president questions about immigration and Supreme Court Justice Anthony Kennedy's plan to retire.

Melendez said the White House senior adviser Jared Kushner, Trump's son-in-law, called him back and got the president on the phone for the comedian.

On his show, Melendez said this was a sign of "how easy it is to infiltrate" the Trump administration.

He chastised major media outlets on Twitter for "not picking up on the fact that I totally duped" Trump.

"I find it astounding that the news media's not picking up the fact that I totally duped the President & got in touch within in less than 2 hours while he was on Air Force One," Melendez tweeted. "Shame on, NBC/, CNN & Huffington Post. I gave them a news story on their laps."

The call raises concerns about how the White House handles security and the ease of gaining access to the president, who has previously been criticized for using a private cellphone.

Listen to the full episode below. The call with Trump occurs shortly after the hour mark.