The underlying hypothesis of this work is that the active galactic nuclei (AGNs) are wormhole mouths rather than supermassive black holes (SMBHs). Under some - quite general - assumptions such wormholes may emit gamma radiation as a result of a collision of accreting flows inside the wormholes. This radiation has a distinctive spectrum much different from those of jets or accretion disks of AGNs. An observation of such radiation would serve as evidence of the existence of wormholes.