They usually respond by producing calls and approaching the speaker, presumably to ward of an intruder. But, of course, a frog cannot do that.

If the frogs want to communicate, they have two options. One is to [croak louder]. The other is to shift frequency away from the background noise.