DAHDI installing problem

From the error reported, your booted kernel version is 3.10.0-229.el7.x86_64. The uname command can also provide this information. You need to install the kernel-devel package with that version.

According to the yum output, your current kernel-devel package is kernel-devel-3.10.0-327.10.1.el7.x86_64, so the alternative is to install that version of the kernel, or, if installed, to alter your boot configuration… I’m writing this on Debian so cannot quickly check where you set the booted kernel version manually.