This robocaller dialed the wrong dame.

A phone scammer pretending to be a cop tried to scare a North Carolina police captain into giving up her personal details.

The highly amused Capt. Ann Stephens recorded herself taking the call, in which she’s accused of drug trafficking and money laundering more than $10 million. The caller, “Officer John Black,” informs her that she’ll be arrested in 45 minutes.

Stephens, of the Apex Police Department, shared the video on the department’s Facebook page to warn people never to give out personal information like Social Security numbers or their home address. Either hang up, or just “have a little fun.”

In the video, she puts the caller on speaker as he tries to manipulate her into sharing the number of bank accounts connected to her Social Security number.

“If you don’t tell me then we’ll go ahead and suspend all the bank accounts that are connected to your Social Security,” the caller tells Stephens. “So don’t blame us if you lose any money. We are trying to help you out over here.”

Stephens puts the caller through the ringer, questioning their need for the information.

“I want to know what the allegations are against me and what you’re going to take out a warrant for,” she says.

They respond that there are “two criminal charges against you, [number 1], drug trafficking, and number two, money laundering,”

When she points out a discrepancy from an early point in the conversation, the caller abruptly hangs up.

Stephens’ PSA is clearly needed, since the amount of robocallers wreaking havoc on Americans is on the rise. In 2018, more than 16.3 billion spam phone calls pestered people across the country, according to YouMail, a robocall watch­dog that offers free call-blocking software.

In May 2018, the average American fielded more than 12 spam calls and Robocalls have been the No. 1 consumer complaint at the Federal Trade Commission for several years, including 4 million gripes in 2017, the FTC’s Ian Barlow told The Post last year.

Aside from avoiding answering unknown calls and never providing personal data over the phone, there are some steps you can take to avoid the annoying calls, such as blocking features on phones or third-party apps.