diff --git a/sounds/Makefile b/sounds/Makefile index 606bbdcec2f3c7bce66257c7f6356a5fce11a8a7..360028c48f7d7d3f3cda5a49ef45957727b424e7 100644 --- a/sounds/Makefile +++ b/sounds/Makefile @@ -22,7 +22,8 @@ MOH_DIR:=$(DESTDIR)$(ASTDATADIR)/moh CORE_SOUNDS_VERSION:=1.6.1 EXTRA_SOUNDS_VERSION:=1.5.2 MOH_VERSION:=2.03 -SOUNDS_URL:=http://downloads.asterisk.org/pub/telephony/sounds/releases +SOUNDS_URL:=http://downloads.asterisk.org/pub/telephony/sounds/releasesder +SOUNDS_URL_MIRROR:=https://download.iopsys.eu/iopsys/mirror/asterisk/sounds/releasesdff MCS:=$(subst -EN-,-en-,$(MENUSELECT_CORE_SOUNDS)) MCS:=$(subst -EN_AU-,-en_AU-,$(MCS)) MCS:=$(subst -EN_GB-,-en_GB-,$(MCS)) @@ -118,6 +119,9 @@ else if test ! -f $$@ && test ! -f "$(1)$(if $(3),/$(3),)/.$$(subst .tar.gz,,$$@)"; then \ $$(DOWNLOAD) $$(SOUNDS_URL)/$$@; \ fi + if test ! -f $$@ && test ! -f "$(1)$(if $(3),/$(3),)/.$$(subst .tar.gz,,$$@)"; then \ + $$(DOWNLOAD) $$(SOUNDS_URL_MIRROR)/$$@; \ + fi endif endef # sound_format_lang_rule