. . "sending a query to a database, the query including a code identifying the called party; and" . . .