ALBANY, N.Y. (AP) — Legislation pending before New York state lawmakers would make unwanted robocalls illegal.

The measure would prohibit anyone from using automatic dialing technology to contact a New Yorker for commercial purposes if they don't have the person's prior permission.

The legislation would also require telephone companies to offer free services to consumers allowing them to prescreen robocalls.

No vote on has been scheduled for the bill, which is sponsored by Sen. Brad Hoylman and Assemblywoman Yuh-Line Niou. The two Manhattan Democrats plan to detail their proposal at a Capitol press conference on Tuesday.

More From WIBX 950