Error finding repository on mirror

I have followed every link I can find on how to set my repository to hit the asterisk-current mirror but to no avail , for some reason I cannot even install gcc here is the error I’m getting when I try to install asterisk:

[root@turco-325 yum.repos.d]# yum install asterisk asterisk-configs --enablerepo=asterisk-1.8
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile

Can someone help me?

Hi LawDog2342,
I´m newbie too.
I´ve found the error, and I lost a bit of time investigating.
We´re using CentOS 6, and the variable $releasever for the baseurl parameter on /etc/yum.repos.d/centos-asterisk.repo and /etc/yum.repos.d/centos-digium.repo is filled with 6, but there is no path for 6 on packages.asterisk.org nor packages.digium.com

I´ve solved commenting the original parameter line and adding a new one with the version number 5 instead.

[root@asterisk yum.repos.d]# cat centos-asterisk.repo
[asterisk-current]
name=CentOS-$releasever - Asterisk - Current
#baseurl=http://packages.asterisk.org/centos/$releasever/current/$basearch/
baseurl=http://packages.asterisk.org/centos/5/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium

#gpgkey=http://packages.asterisk.org/RPM-GPG-KEY-Digium
[root@asterisk yum.repos.d]# cat centos-digium.repo
[digium-current]
name=CentOS-$releasever - Digium - Current
#baseurl=http://packages.digium.com/centos/$releasever/current/$basearch/
baseurl=http://packages.digium.com/centos/5/current/$basearch/
enabled=1
gpgcheck=0
#gpgkey=http://packages.digium.com/RPM-GPG-KEY-Digium

Try and report.

VHC