Anisotropic dipolar and quadrupolar hyperfine interactions caused by first and second neighbor atoms are considered in a model description of Mössbauer spectra for fcc and bcc alloys. Two examples are given. The temperature dependences for the quadrupole interaction in two different Fe-Ni alloys are presented