Catalysis of the reactions: 3',5'-cyclic AMP + H2O = AMP + H+ and 3',5'-cyclic GMP + H2O = GMP + H+; this activity is activated by binding to calcium-bound calmodulin.
calmodulin-dependent cyclic-nucleotide phosphodiesterase activity