In the Wiki i find installing asterisk is done by these commands (once you 've created two repos) :
yum install asterisk14 asterisk14-configs asterisk14-voicemail dahdi-linux dahdi-tools asterisk-sounds-extra-en-ulaw asterisk-sounds-moh-opsound-ulaw --enablerepo=asterisk-current
But for the CDR to MySQL-function it also needs :
yum install asterisk14-addons-mysql --enablerepo=asterisk-current
F.