Major phone companies have pledged to do more to fight robocalls plaguing Americans, the country’s state attorneys general said.

It’s the latest step from government and industry to combat the growing problem. Americans get nearly 5 billion automated calls from scammers, telemarketers, debt collectors and others every month. Parts of the agreement echo steps already taken by regulators and Congress, which is working on anti-robocall bills.