mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-11-03 20:38:59 +00:00 
			
		
		
		
	Compare commits
	
		
			11 Commits
		
	
	
		
			certified/
			...
			1.4.0-beta
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					e7f790f51d | ||
| 
						 | 
					006461e9d0 | ||
| 
						 | 
					40e4e281a1 | ||
| 
						 | 
					44983fae40 | ||
| 
						 | 
					05b0e38f98 | ||
| 
						 | 
					1ec9e85709 | ||
| 
						 | 
					9cf9c1373b | ||
| 
						 | 
					1a68406874 | ||
| 
						 | 
					0a0df5e171 | ||
| 
						 | 
					97502fdec0 | ||
| 
						 | 
					31a04cf56e | 
							
								
								
									
										1
									
								
								.lastclean
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.lastclean
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
24
 | 
			
		||||
							
								
								
									
										2
									
								
								CREDITS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								CREDITS
									
									
									
									
									
								
							@@ -161,7 +161,7 @@ Brian M. Clapper - poll.c emulation
 | 
			
		||||
	This product includes software developed by Brian M. Clapper <bmc@clapper.org>
 | 
			
		||||
 | 
			
		||||
=== HOLD MUSIC ===
 | 
			
		||||
Music provided by www.freeplaymusic.com
 | 
			
		||||
Music provided by www.opsound.org
 | 
			
		||||
 | 
			
		||||
=== OTHER SOURCE CODE IN ASTERISK ===
 | 
			
		||||
Asterisk uses libedit, the lightweight readline replacement from NetBSD.
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										16
									
								
								ChangeLog
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								ChangeLog
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
2006-09-21  Kevin P. Fleming  <kpfleming@digium.com>
 | 
			
		||||
 | 
			
		||||
	* Asterisk 1.4.0-beta2 released.
 | 
			
		||||
 | 
			
		||||
2006-09-21 16:08 +0000 [r43404-43405]  Kevin P. Fleming <kpfleming@digium.com>
 | 
			
		||||
 | 
			
		||||
	* main/Makefile: remove this change... it requires binutils 2.17
 | 
			
		||||
 | 
			
		||||
2006-09-20 23:19 +0000 [r43396]  Jason Parker <jparker@digium.com>
 | 
			
		||||
 | 
			
		||||
	* build_tools/make_version: fix minor typo in the way version is
 | 
			
		||||
	  handled
 | 
			
		||||
 | 
			
		||||
2006-09-20  Kevin P. Fleming  <kpfleming@digium.com>
 | 
			
		||||
 | 
			
		||||
	* Asterisk 1.4.0-beta1 released.
 | 
			
		||||
@@ -59,11 +59,11 @@ Beginning with Asterisk 1.4, the sound files and music on hold files supplied fo
 | 
			
		||||
use with Asterisk have been replaced with new versions produced from high quality
 | 
			
		||||
master recordings, and are available in three languages (English, French and
 | 
			
		||||
Spanish) and in five formats (WAV (uncompressed), mu-Law, a-Law, GSM and G.729).
 | 
			
		||||
In addition, the music on hold files provided by FreePlay Music are now available
 | 
			
		||||
In addition, the music on hold files provided by opsound.org Music are now available
 | 
			
		||||
in the same five formats, but no longer available in MP3 format.
 | 
			
		||||
 | 
			
		||||
The Asterisk 1.4 tarball packages will only include English prompts in GSM format,
 | 
			
		||||
(as were supplied with previous releases) and the FreePlay MOH files in WAV format.
 | 
			
		||||
(as were supplied with previous releases) and the opsound.org MOH files in WAV format.
 | 
			
		||||
All of the other variations can be installed by running 'make menuselect' and
 | 
			
		||||
selecting the packages you wish to install; when you run 'make install', those
 | 
			
		||||
packages will be downloaded and installed along with the standard files included
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#!/bin/sh
 | 
			
		||||
 | 
			
		||||
if [ -f ${1}/.version ]; then
 | 
			
		||||
	cat ${1}.version
 | 
			
		||||
	cat ${1}/.version
 | 
			
		||||
elif [ -f ${1}/.svnrevision ]; then
 | 
			
		||||
	echo SVN-`cat ${1}/.svnbranch`-r`cat ${1}/.svnrevision`
 | 
			
		||||
elif [ -d .svn ]; then
 | 
			
		||||
 
 | 
			
		||||
@@ -1006,9 +1006,13 @@ static struct ast_channel *agent_new(struct agent_pvt *p, int state)
 | 
			
		||||
static int read_agent_config(void)
 | 
			
		||||
{
 | 
			
		||||
	struct ast_config *cfg;
 | 
			
		||||
	struct ast_config *ucfg;
 | 
			
		||||
	struct ast_variable *v;
 | 
			
		||||
	struct agent_pvt *p;
 | 
			
		||||
	const char *general_val;
 | 
			
		||||
	const char *catname;
 | 
			
		||||
	const char *hasagent;
 | 
			
		||||
	int genhasagent;
 | 
			
		||||
 | 
			
		||||
	group = 0;
 | 
			
		||||
	autologoff = 0;
 | 
			
		||||
@@ -1104,6 +1108,28 @@ static int read_agent_config(void)
 | 
			
		||||
		}
 | 
			
		||||
		v = v->next;
 | 
			
		||||
	}
 | 
			
		||||
	if ((ucfg = ast_config_load("users.conf"))) {
 | 
			
		||||
		genhasagent = ast_true(ast_variable_retrieve(ucfg, "general", "hasagent"));
 | 
			
		||||
		catname = ast_category_browse(ucfg, NULL);
 | 
			
		||||
		while(catname) {
 | 
			
		||||
			if (strcasecmp(catname, "general")) {
 | 
			
		||||
				hasagent = ast_variable_retrieve(ucfg, catname, "hasagent");
 | 
			
		||||
				if (ast_true(hasagent) || (!hasagent && genhasagent)) {
 | 
			
		||||
					char tmp[256];
 | 
			
		||||
					const char *fullname = ast_variable_retrieve(ucfg, catname, "fullname");
 | 
			
		||||
					const char *secret = ast_variable_retrieve(ucfg, catname, "secret");
 | 
			
		||||
					if (!fullname)
 | 
			
		||||
						fullname = "";
 | 
			
		||||
					if (!secret)
 | 
			
		||||
						secret = "";
 | 
			
		||||
					snprintf(tmp, sizeof(tmp), "%s,%s,%s", catname, secret,fullname);
 | 
			
		||||
					add_agent(tmp, 0);
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
			catname = ast_category_browse(ucfg, catname);
 | 
			
		||||
		}
 | 
			
		||||
		ast_config_destroy(ucfg);
 | 
			
		||||
	}
 | 
			
		||||
	AST_LIST_TRAVERSE_SAFE_BEGIN(&agents, p, list) {
 | 
			
		||||
		if (p->dead) {
 | 
			
		||||
			AST_LIST_REMOVE_CURRENT(&agents, list);
 | 
			
		||||
 
 | 
			
		||||
@@ -34,7 +34,7 @@ ices.txt		Integrating ICEcast streaming in Asterisk
 | 
			
		||||
jitterbuffer.txt	About the IAX2 jitterbuffer implementation
 | 
			
		||||
math.txt		About the math() application
 | 
			
		||||
mp3.txt			About MP3 support in Asterisk
 | 
			
		||||
musiconhold-fpm.txt	Free Music On Hold music
 | 
			
		||||
musiconhold-opsound.txt	Free Music On Hold music
 | 
			
		||||
mysql.txt		About MYSQL support in Asterisk
 | 
			
		||||
odbcstorage.txt		Voicemail storage of messages in UnixODBC
 | 
			
		||||
privacy.txt		Privacy enhancements in Asterisk
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +0,0 @@
 | 
			
		||||
About Hold Music
 | 
			
		||||
================
 | 
			
		||||
Digium has licensed the music included with
 | 
			
		||||
the Asterisk distribution From FreePlayMusic
 | 
			
		||||
for use and distribution with Asterisk.  It
 | 
			
		||||
is licensed ONLY for use as hold music within
 | 
			
		||||
an Asterisk based PBX.
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										7
									
								
								doc/musiconhold-opsound.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								doc/musiconhold-opsound.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
About Hold Music
 | 
			
		||||
================
 | 
			
		||||
These files were obtained from http://opsound.org, where the authors placed them
 | 
			
		||||
under the Creative Commons Attribution-Share Alike 2.5 license, a copy of which
 | 
			
		||||
may be found at http://creativecommons.org.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -63,7 +63,7 @@ ifneq ($(findstring darwin,$(OSARCH)),)
 | 
			
		||||
else
 | 
			
		||||
# These are used for all but Darwin
 | 
			
		||||
  ifneq ($(findstring LOADABLE_MODULES,$(MENUSELECT_CFLAGS)),)
 | 
			
		||||
    ASTLINK+=-Wl,--export-dynamic -Wl,--exclude-libs -Wl,ALL
 | 
			
		||||
    ASTLINK+=-Wl,--export-dynamic
 | 
			
		||||
  else
 | 
			
		||||
    ASTLINK+=${GC_LDFLAGS}
 | 
			
		||||
  endif
 | 
			
		||||
 
 | 
			
		||||
@@ -378,8 +378,8 @@ static int handle_show_memory_summary(int fd, int argc, char *argv[])
 | 
			
		||||
	
 | 
			
		||||
	/* Dump the whole list */
 | 
			
		||||
	for (cur = list; cur; cur = cur->next) {
 | 
			
		||||
		len += list->len;
 | 
			
		||||
		count += list->count;
 | 
			
		||||
		len += cur->len;
 | 
			
		||||
		count += cur->count;
 | 
			
		||||
		if (fn) {
 | 
			
		||||
			ast_cli(fd, "%10d bytes in %5d allocations in function '%s' of '%s'\n", 
 | 
			
		||||
				cur->len, cur->count, cur->fn, fn);
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										123
									
								
								sounds/Makefile
									
									
									
									
									
								
							
							
						
						
									
										123
									
								
								sounds/Makefile
									
									
									
									
									
								
							@@ -15,64 +15,97 @@
 | 
			
		||||
 | 
			
		||||
-include $(ASTTOPDIR)/menuselect.makeopts
 | 
			
		||||
 | 
			
		||||
PWD:=$(shell pwd)
 | 
			
		||||
SOUNDS_DIR:=$(DESTDIR)$(ASTDATADIR)/sounds
 | 
			
		||||
MOH_DIR:=$(DESTDIR)$(ASTDATADIR)/moh
 | 
			
		||||
CORE_SOUNDS_VERSION:=1.4.2
 | 
			
		||||
EXTRA_SOUNDS_VERSION:=1.4.1
 | 
			
		||||
SOUNDS_URL:=http://ftp.digium.com/pub/telephony/sounds/releases
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -EN-,-en-,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -FR-,-fr-,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -ES-,-es-,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -WAV,-wav,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -ULAW,-ulaw,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -ALAW,-alaw,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -GSM,-gsm,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MENUSELECT_CORE_SOUNDS:=$(subst -G729,-g729,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
CORE_SOUNDS:=$(MENUSELECT_CORE_SOUNDS:CORE-SOUNDS-%=asterisk-core-sounds-%-$(CORE_SOUNDS_VERSION).tar.gz)
 | 
			
		||||
CORE_SOUND_TAGS:=$(MENUSELECT_CORE_SOUNDS:CORE-SOUNDS-%=$(SOUNDS_DIR)/.asterisk-core-sounds-%-$(CORE_SOUNDS_VERSION))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -EN-,-en-,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -FR-,-fr-,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -ES-,-es-,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -WAV,-wav,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -ULAW,-ulaw,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -ALAW,-alaw,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -GSM,-gsm,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MENUSELECT_EXTRA_SOUNDS:=$(subst -G729,-g729,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
EXTRA_SOUNDS:=$(MENUSELECT_EXTRA_SOUNDS:EXTRA-SOUNDS-%=asterisk-extra-sounds-%-$(EXTRA_SOUNDS_VERSION).tar.gz)
 | 
			
		||||
EXTRA_SOUND_TAGS:=$(MENUSELECT_EXTRA_SOUNDS:EXTRA-SOUNDS-%=$(SOUNDS_DIR)/.asterisk-extra-sounds-%-$(EXTRA_SOUNDS_VERSION))
 | 
			
		||||
MENUSELECT_MOH:=$(subst -FREEPLAY-,-freeplay-,$(MENUSELECT_MOH))
 | 
			
		||||
MENUSELECT_MOH:=$(subst -WAV,-wav,$(MENUSELECT_MOH))
 | 
			
		||||
MENUSELECT_MOH:=$(subst -ULAW,-ulaw,$(MENUSELECT_MOH))
 | 
			
		||||
MENUSELECT_MOH:=$(subst -ALAW,-alaw,$(MENUSELECT_MOH))
 | 
			
		||||
MENUSELECT_MOH:=$(subst -GSM,-gsm,$(MENUSELECT_MOH))
 | 
			
		||||
MENUSELECT_MOH:=$(subst -G729,-g729,$(MENUSELECT_MOH))
 | 
			
		||||
MOH:=$(MENUSELECT_MOH:MOH-%=asterisk-moh-%.tar.gz)
 | 
			
		||||
MOH_TAGS:=$(MENUSELECT_MOH:MOH-%=$(MOH_DIR)/.asterisk-moh-%)
 | 
			
		||||
MCS:=$(subst -EN-,-en-,$(MENUSELECT_CORE_SOUNDS))
 | 
			
		||||
MCS:=$(subst -FR-,-fr-,$(MCS))
 | 
			
		||||
MCS:=$(subst -ES-,-es-,$(MCS))
 | 
			
		||||
MCS:=$(subst -WAV,-wav,$(MCS))
 | 
			
		||||
MCS:=$(subst -ULAW,-ulaw,$(MCS))
 | 
			
		||||
MCS:=$(subst -ALAW,-alaw,$(MCS))
 | 
			
		||||
MCS:=$(subst -GSM,-gsm,$(MCS))
 | 
			
		||||
MCS:=$(subst -G729,-g729,$(MCS))
 | 
			
		||||
CORE_SOUNDS:=$(MCS:CORE-SOUNDS-%=asterisk-core-sounds-%-$(CORE_SOUNDS_VERSION).tar.gz)
 | 
			
		||||
CORE_SOUND_TAGS:=$(MCS:CORE-SOUNDS-%=$(SOUNDS_DIR)/.asterisk-core-sounds-%-$(CORE_SOUNDS_VERSION))
 | 
			
		||||
MES:=$(subst -EN-,-en-,$(MENUSELECT_EXTRA_SOUNDS))
 | 
			
		||||
MES:=$(subst -FR-,-fr-,$(MES))
 | 
			
		||||
MES:=$(subst -ES-,-es-,$(MES))
 | 
			
		||||
MES:=$(subst -WAV,-wav,$(MES))
 | 
			
		||||
MES:=$(subst -ULAW,-ulaw,$(MES))
 | 
			
		||||
MES:=$(subst -ALAW,-alaw,$(MES))
 | 
			
		||||
MES:=$(subst -GSM,-gsm,$(MES))
 | 
			
		||||
MES:=$(subst -G729,-g729,$(MES))
 | 
			
		||||
EXTRA_SOUNDS:=$(MES:EXTRA-SOUNDS-%=asterisk-extra-sounds-%-$(EXTRA_SOUNDS_VERSION).tar.gz)
 | 
			
		||||
EXTRA_SOUND_TAGS:=$(MES:EXTRA-SOUNDS-%=$(SOUNDS_DIR)/.asterisk-extra-sounds-%-$(EXTRA_SOUNDS_VERSION))
 | 
			
		||||
MM:=$(subst -OPSOUND-,-opsound-,$(MENUSELECT_MOH))
 | 
			
		||||
MM:=$(subst -WAV,-wav,$(MM))
 | 
			
		||||
MM:=$(subst -ULAW,-ulaw,$(MM))
 | 
			
		||||
MM:=$(subst -ALAW,-alaw,$(MM))
 | 
			
		||||
MM:=$(subst -GSM,-gsm,$(MM))
 | 
			
		||||
MM:=$(subst -G729,-g729,$(MM))
 | 
			
		||||
MOH:=$(MM:MOH-%=asterisk-moh-%.tar.gz)
 | 
			
		||||
MOH_TAGS:=$(MM:MOH-%=$(MOH_DIR)/.asterisk-moh-%)
 | 
			
		||||
WGET_ARGS:=--continue
 | 
			
		||||
 | 
			
		||||
all: $(CORE_SOUNDS) $(EXTRA_SOUNDS) $(MOH)
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-core-sounds-en-%: asterisk-core-sounds-en-%.tar.gz $(SOUNDS_DIR)
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(SOUNDS_DIR) -
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-core-sounds-en-%:
 | 
			
		||||
	@PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(SOUNDS_DIR) - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-core-sounds-fr-%: asterisk-core-sounds-fr-%.tar.gz $(SOUNDS_DIR)/fr
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(SOUNDS_DIR)/fr -
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-core-sounds-es-%:
 | 
			
		||||
	@PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(SOUNDS_DIR)/es - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-core-sounds-es-%: asterisk-core-sounds-es-%.tar.gz $(SOUNDS_DIR)/es
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(SOUNDS_DIR)/es -
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-core-sounds-fr-%:
 | 
			
		||||
	@PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	rm -f $(subst -$(CORE_SOUNDS_VERSION),,$@)-* && \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(SOUNDS_DIR)/fr - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-en-%: asterisk-extra-sounds-en-%.tar.gz $(SOUNDS_DIR)
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(SOUNDS_DIR) -
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-en-%:
 | 
			
		||||
	@PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	rm -f $(subst -$(EXTRA_SOUNDS_VERSION),,$@)-* && \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(SOUNDS_DIR) - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-fr-%: asterisk-extra-sounds-fr-%.tar.gz $(SOUNDS_DIR)/fr
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(SOUNDS_DIR)/fr -
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-es-%:
 | 
			
		||||
	@PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	rm -f $(subst -$(EXTRA_SOUNDS_VERSION),,$@)-* && \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(SOUNDS_DIR)/es - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-es-%: asterisk-extra-sounds-es-%.tar.gz $(SOUNDS_DIR)/es
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(SOUNDS_DIR)/es -
 | 
			
		||||
$(SOUNDS_DIR)/.asterisk-extra-sounds-fr-%:
 | 
			
		||||
	@PACKAGE=$(subst $(SOUNDS_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	rm -f $(subst -$(EXTRA_SOUNDS_VERSION),,$@)-* && \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(SOUNDS_DIR)/fr - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
$(MOH_DIR)/.asterisk-moh-%: asterisk-moh-%.tar.gz $(MOH_DIR)
 | 
			
		||||
	cat $< | gzip -d | tar xCf $(MOH_DIR) -
 | 
			
		||||
$(MOH_DIR)/.asterisk-moh-%:
 | 
			
		||||
	@PACKAGE=$(subst $(MOH_DIR)/.asterisk,asterisk,$@).tar.gz; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then wget $(WGET_ARGS) $(SOUNDS_URL)/$${PACKAGE}; fi; \
 | 
			
		||||
	if test ! -f $${PACKAGE}; then exit 1; fi; \
 | 
			
		||||
	cat $${PACKAGE} | gzip -d | tar xCf $(MOH_DIR) - && \
 | 
			
		||||
	touch $@
 | 
			
		||||
 | 
			
		||||
asterisk-core-%.tar.gz:
 | 
			
		||||
	@wget $(WGET_ARGS) $(SOUNDS_URL)/$@
 | 
			
		||||
@@ -86,12 +119,10 @@ asterisk-moh-%.tar.gz:
 | 
			
		||||
dist-clean:
 | 
			
		||||
	rm -f *.tar.gz
 | 
			
		||||
 | 
			
		||||
.PHONY: $(SOUNDS_DIR) $(SOUNDS_DIR)/fr $(SOUNDS_DIR)/es $(MOH_DIR)
 | 
			
		||||
 | 
			
		||||
$(SOUNDS_DIR) $(MOH_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr:
 | 
			
		||||
	mkdir -p $@
 | 
			
		||||
 | 
			
		||||
install: $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)
 | 
			
		||||
install: $(SOUNDS_DIR) $(SOUNDS_DIR)/es $(SOUNDS_DIR)/fr $(MOH_DIR) $(CORE_SOUND_TAGS) $(EXTRA_SOUND_TAGS) $(MOH_TAGS)
 | 
			
		||||
 | 
			
		||||
uninstall:
 | 
			
		||||
	rm -rf $(SOUNDS_DIR)
 | 
			
		||||
 
 | 
			
		||||
@@ -32,16 +32,16 @@
 | 
			
		||||
		</member>
 | 
			
		||||
	</category>
 | 
			
		||||
	<category name="MENUSELECT_MOH" displayname="Music On Hold File Packages" positive_output="yes">
 | 
			
		||||
		<member name="MOH-FREEPLAY-WAV" displayname="FreePlay Music On Hold Files, WAV format" >
 | 
			
		||||
		<member name="MOH-OPSOUND-WAV" displayname="opsound.org Music On Hold Files, WAV format" >
 | 
			
		||||
			<defaultenabled>yes</defaultenabled>
 | 
			
		||||
		</member>
 | 
			
		||||
		<member name="MOH-FREEPLAY-ULAW" displayname="FreePlay Music On Hold Files, mu-Law format" >
 | 
			
		||||
		<member name="MOH-OPSOUND-ULAW" displayname="opsound.org Music On Hold Files, mu-Law format" >
 | 
			
		||||
		</member>
 | 
			
		||||
		<member name="MOH-FREEPLAY-ALAW" displayname="FreePlay Music On Hold Files, a-Law format" >
 | 
			
		||||
		<member name="MOH-OPSOUND-ALAW" displayname="opsound.org Music On Hold Files, a-Law format" >
 | 
			
		||||
		</member>
 | 
			
		||||
		<member name="MOH-FREEPLAY-GSM" displayname="FreePlay Music On Hold Files, GSM format" >
 | 
			
		||||
		<member name="MOH-OPSOUND-GSM" displayname="opsound.org Music On Hold Files, GSM format" >
 | 
			
		||||
		</member>
 | 
			
		||||
		<member name="MOH-FREEPLAY-G729" displayname="FreePlay Music On Hold Files, G.729 format" >
 | 
			
		||||
		<member name="MOH-OPSOUND-G729" displayname="opsound.org Music On Hold Files, G.729 format" >
 | 
			
		||||
		</member>
 | 
			
		||||
	</category>
 | 
			
		||||
	<category name="MENUSELECT_EXTRA_SOUNDS" displayname="Extras Sound Packages" positive_output="yes">
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user