Yum installation

I am attempting to install Asterisk on a machine running Enterprise Linux Red Hat 5.4. I have followed the instructions for adding the Asterisk repository here http://www.asterisk.org/downloads/yum. My repo files look like this

/etc/yum.repos.d/centos-asterisk.repo

[code][asterisk-tested]
name=CentOS-$releasever - Asterisk - Tested
baseurl=http://packages.asterisk.org/centos/$releasever/tested/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium
[/code]

/etc/yum.repos.d/centos-digium.repo

[code][digium-tested]
name=CentOS-$releasever - Digium - Tested
baseurl=http://packages.digium.com/centos/$releasever/tested/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[digium-current]
name=CentOS-$releasever - Digium - Current
baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
enabled=0
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

[/code]

When I run the install command however I get this error

http://packages.asterisk.org/centos/5Server/tested/i386/repodata/repomd.xml: [Errno 14] HTTP Error 404: Not Found Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: asterisk-tested. Please verify its path and try again

Any help would be appreciated.

Try with:

baseurl=http://packages.asterisk.org/centos/5/tested/$basearch/