They don't need to know your number; that is, they don't know it belongs to you. Their computers just cycle through known area codes & exchanges, one number after another. They either get a connection or number-not-in-service message. They can scrub the unknowns as they go and then sell the list of live numbers after their own spam has run its course. Two-edged income for them; irritation for the rest of us.