We report measurements of thermal conductivity (κ) on single crystals of the quasi-onedimensional antiferromagnetic spin-chain compounds, AB2O6 (A=Ni, Co; B=Sb, Ta) in the temperature range 5K ≤ T ≤ 300K. We find that κ for all crystallographic directions is substantially suppressed in the Ta compounds in comparison to those of the Sb compounds despite their very similar magnetic and crystallographic structures. The data are well described by resonant scattering of phonons from two-level systems, with energy splittings of ∼ 100 − 150 K and scattering strength an order of magnitude greater in the Ta compounds. We distinguish the effects of phonon-spin interactions from those related to changes in the low-energy phonon spectra caused by the different B-site ions.