No person shall go upon any premises and ring the doorbell upon or near any door, or create any sound in any manner calculated to attract the attention of the occupant of such residence, for the purpose of securing an audience with the occupant thereof, and engage in soliciting in defiance of the notice exhibited at the residence in accordance with the provisions of Section 840.10.  A violation of this section is hereby declared to be a nuisance.