As used in this chapter:

(1) The term "pen register" means a device which records or decodes electronic or other impulses which identify the numbers dialed or otherwise transmitted on the telephone line to which the device is attached, but this term does not include any device used by a provider or customer of a wire or electronic communication service for billing, or recording as an incident to billing, for communications services provided by the provider, or any device used by a provider or customer of a wire communication service for cost accounting or other like purposes in the ordinary course of its business.

(2) The term "trap and trace device" means a device which captures the incoming electronic or other impulses which identify the originating number of an instrument or device from which a wire or electronic communication was transmitted.