Automatic dialing-announcing devices may be used to place calls over telephone lines only pursuant to a prior agreement between the persons involved, whereby the person called has agreed that he or she consents to receive such calls from the person calling, or as specified in Section 2874.