AT&T, Verizon Communications, and 10 other large phone companies have struck an agreement with 51 attorneys general to enact technology to block robocalls before they reach consumers.
The deal, announced Thursday, will help protect consumers from receiving illegal robocalls, and assist law enforcement in investigating and prosecuting bad actors, said North Carolina Attorney General Josh Stein, who is leading the effort that includes all 50 states and the District of Columbia.
Under the deal, the companies will launch the call-blocking technology at no cost to consumers, and make other free anti-robocall devices and apps available to subscribers.
“By signing on to these principles, industry leaders are taking new steps to keep your phone from ringing with an unwanted call,” Stein said in a statement.
The companies are under pressure to protect consumers against the unwanted calls, which are a top source of complaints with the U.S. Federal Communications Commission. Across the U.S. there were 48 billion robocalls last year, up from 31 billion in 2017, according to a tally by YouMail, a developer of software that blocks the calls.
In July, AT&T, Verizon, and T-Mobile US said they were making progress toward installing technology to authenticate calls so consumers would know if the call is coming from the person supposedly making it. The FCC has demanded the technology be in place by the end of the year.
FCC Chairman Ajit Pai said the agreements with the states “align with the FCC’s own anti-robocalling and spoofing efforts,” including the agency’s caller authentication standards.
“Few things can bring together policy leaders across the political spectrum like the fight against unwanted robocalls,” Pai said in a statement. “The FCC is committed to working together with Congress, state leaders, and our federal partners to put an end to unwanted robocalls.”
Consumers are often duped into answering phone calls because they appear to be from a local number or business.
“The bad actors running these deceptive operations will soon have one call left to make: to their lawyers,” New York Attorney General Letitia James said in the statement.
The other companies signing the agreement are T-Mobile, CenturyLink, Comcast, Sprint, Bandwidth, Charter Communications, Consolidated Communications Holdings, Frontier Communications, U.S. Cellular, and Windstream Holdings.
The FCC has demanded that carriers adopt the system to digitally validate phone calls passing through the complex web of networks. The agency also has said that providers may block calls, and cast a preliminary vote to require the digital authentication if carriers fail to install it by year’s end.
Several of the top U.S. carriers issued statements in concert with the state attorneys general announcement. While the group on a whole backed the effort, there were few if any new, specific anti-spam call actions or timelines mentioned.
“It’s imperative that we stand together on a common set of goals that include stopping callers from hiding their identities, working with other carriers on efforts to trace back illegal calls to the source, and keeping the originators from sending robocalls in the first place," Verizon said in a statement.
“The fight against the scourge of illegal robocalls requires all hands on deck, and we welcome and appreciate the support of the state attorneys general,” AT&T said in a statement.
More must-read stories from Fortune:
—A rare tech company where women dominate
—Walmart CEO: VR training helped save lives in the El Paso shooting
—Can Apple afford to make its streaming video service free?
—How to compete with technology in the age of automation
—Disney’s streaming service won’t be available on the most popular streaming devices
Catch up with Data Sheet, Fortune's daily digest on the business of tech.