Don't know where code inspector was when my house was built. Have been finding and correcting electrical problems since I moved in. Electrician wired the doorbell into the interior hall lighting 3-way switch, so depending upon on how switches are set at either end of the hall, the doorbell will work or not work. Conductors are all run up into the attic and then down into the walls and are relatively easy to trace. House has a front door leading into an entry hall with it's own overhead light. Duplex switch in entry hall controls entry hall overhead light and outdoor porch lights. Entry hall doorway leads into interior hallway with the light circuit that the doorbell is wired into. Want to fix the doorbell problem. How are doorbell circuits typically wired? What is the best way to correct this?