asterisk-1.8.x: remove obsolete package, it is after its EOL
Signed-off-by: Jiri Slachta <slachta@cesnet.cz>
This commit is contained in:
parent
676188043d
commit
a5f8e484e6
11 changed files with 0 additions and 2543 deletions
|
@ -1,391 +0,0 @@
|
||||||
#
|
|
||||||
# Copyright (C) 2015 OpenWrt.org
|
|
||||||
# Copyright (C) 2015 Cesnet, z.s.p.o.
|
|
||||||
#
|
|
||||||
# This is free software, licensed under the GNU General Public License v2.
|
|
||||||
# See /LICENSE for more information.
|
|
||||||
#
|
|
||||||
|
|
||||||
include $(TOPDIR)/rules.mk
|
|
||||||
|
|
||||||
PKG_NAME:=asterisk18
|
|
||||||
PKG_VERSION:=1.8.32.3
|
|
||||||
PKG_RELEASE:=4
|
|
||||||
|
|
||||||
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
|
|
||||||
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
|
|
||||||
PKG_MD5SUM:=f13f126e7730710223f2fbbc8832966f
|
|
||||||
|
|
||||||
PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
|
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
|
||||||
PKG_LICENSE_FILES:=COPYING LICENSE
|
|
||||||
PKG_MAINTAINER:=Jiri Slachta <slachta@cesnet.cz>
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
|
||||||
|
|
||||||
define Package/asterisk18/install/module
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*$(2).so* $(1)/usr/lib/asterisk/modules/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/install/conffile
|
|
||||||
$(INSTALL_DIR) $(1)/etc/asterisk
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/etc/asterisk/*$(2)* $(1)/etc/asterisk/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/install/lib
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/$(2).so* $(1)/usr/lib/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/install/sbin
|
|
||||||
$(INSTALL_DIR) $(1)/usr/sbin
|
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/$(2) $(1)/usr/sbin/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/install/sounds
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/$(2) $(1)/usr/lib/asterisk/sounds/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define BuildAsterisk18Module
|
|
||||||
define Package/asterisk18-$(1)
|
|
||||||
$$(call Package/asterisk18/Default)
|
|
||||||
TITLE:=$(2) support
|
|
||||||
DEPENDS:= asterisk18 $(patsubst +%,+PACKAGE_asterisk18-$(1):%,$(4))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18-$(1)/conffiles
|
|
||||||
$(5)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18-$(1)/description
|
|
||||||
This package provides support for '$(3)' in Asterisk.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18-$(1)/install
|
|
||||||
$(foreach c,$(6),$(call Package/asterisk18/install/conffile,$$(1),$(c));)
|
|
||||||
$(foreach m,$(7),$(call Package/asterisk18/install/module,$$(1),$(m));)
|
|
||||||
$(foreach s,$(8),$(call Package/asterisk18/install/sounds,$$(1),$(s));)
|
|
||||||
$(foreach b,$(9),$(call Package/asterisk18/install/sbin,$$(1),$(b));)
|
|
||||||
endef
|
|
||||||
|
|
||||||
$$(eval $$(call BuildPackage,asterisk18-$(1)))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/Default
|
|
||||||
SUBMENU:=Telephony
|
|
||||||
SECTION:=net
|
|
||||||
CATEGORY:=Network
|
|
||||||
URL:=http://www.asterisk.org/
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/Default/description
|
|
||||||
Asterisk is a complete PBX in software. It provides all of the features
|
|
||||||
you would expect from a PBX and more. Asterisk does voice over IP in three
|
|
||||||
protocols, and can interoperate with almost all standards-based telephony
|
|
||||||
equipment using relatively inexpensive hardware.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18
|
|
||||||
$(call Package/asterisk18/Default)
|
|
||||||
TITLE:=Complete open source PBX, v1.8.x
|
|
||||||
MENU:=1
|
|
||||||
DEPENDS:=+libopenssl +libncurses +libpopt +libpthread +zlib @!TARGET_avr32
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/description
|
|
||||||
$(call Package/asterisk18/Default/description)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18/conffiles
|
|
||||||
/etc/asterisk/cel.conf
|
|
||||||
/etc/asterisk/asterisk.conf
|
|
||||||
/etc/asterisk/modules.conf
|
|
||||||
/etc/asterisk/extensions.conf
|
|
||||||
/etc/asterisk/sip.conf
|
|
||||||
/etc/asterisk/sip_notify.conf
|
|
||||||
/etc/asterisk/features.conf
|
|
||||||
/etc/asterisk/indications.conf
|
|
||||||
/etc/asterisk/logger.conf
|
|
||||||
/etc/asterisk/manager.conf
|
|
||||||
/etc/asterisk/rtp.conf
|
|
||||||
/etc/init.d/asterisk
|
|
||||||
endef
|
|
||||||
|
|
||||||
AST_CFG_FILES:=\
|
|
||||||
asterisk.conf cel.conf ccss.conf extensions.conf features.conf indications.conf logger.conf manager.conf \
|
|
||||||
modules.conf sip.conf sip_notify.conf rtp.conf users.conf
|
|
||||||
AST_EMB_MODULES:=\
|
|
||||||
app_dial app_echo app_macro app_playback codec_ulaw codec_gsm format_gsm format_pcm format_wav format_wav_gsm \
|
|
||||||
func_strings func_timeout func_callerid func_logic chan_sip pbx_config res_rtp_asterisk res_rtp_multicast
|
|
||||||
|
|
||||||
define Package/asterisk18/install
|
|
||||||
$(call Package/asterisk18/install/sbin,$(1),asterisk)
|
|
||||||
$(foreach m,$(AST_CFG_FILES),$(call Package/asterisk18/install/conffile,$(1),$(m));)
|
|
||||||
$(foreach m,$(AST_EMB_MODULES),$(call Package/asterisk18/install/module,$(1),$(m));)
|
|
||||||
$(INSTALL_DIR) $(1)/etc/init.d
|
|
||||||
$(INSTALL_BIN) ./files/asterisk.init $(1)/etc/init.d/asterisk
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18-sounds
|
|
||||||
$(call Package/asterisk18/Default)
|
|
||||||
TITLE:=Sounds support
|
|
||||||
DEPENDS:=asterisk18
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18-sounds/description
|
|
||||||
This package provides sound-files for Asterisk-1.8.x.
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Package/asterisk18-sounds/install
|
|
||||||
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/* $(1)/usr/lib/asterisk/sounds/
|
|
||||||
rm -f $(1)/usr/lib/asterisk/sounds/vm-*
|
|
||||||
rm -f $(1)/usr/lib/asterisk/sounds/conf-*
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-dahdi),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-dahdi="$(STAGING_DIR)/usr" \
|
|
||||||
--with-pri="$(STAGING_DIR)/usr" \
|
|
||||||
--with-tonezone="$(STAGING_DIR)/usr"
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-dahdi \
|
|
||||||
--without-pri \
|
|
||||||
--without-tonezone
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-chan-gtalk),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-iksemel="$(STAGING_DIR)/usr"
|
|
||||||
SITE_VARS+= \
|
|
||||||
ac_cv_lib_iksemel_iks_start_sasl=yes
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-iksemel
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-curl),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-libcurl="$(STAGING_DIR)/usr"
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-libcurl
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-mysql),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-mysqlclient="$(STAGING_DIR)/usr"
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-mysqlclient
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pbx-lua),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-lua="$(STAGING_DIR)/usr"
|
|
||||||
TARGET_LDFLAGS+=-ldl -lcrypt
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-lua
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-pgsql),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-postgres="$(STAGING_DIR)/usr"
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-postgres
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-res-fax-spandsp),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-spandsp="$(STAGING_DIR)/usr"
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-spandsp
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq ($(SDK)$(CONFIG_PACKAGE_asterisk18-res-srtp),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-srtp="$(STAGING_DIR)/usr"
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-srtp
|
|
||||||
endif
|
|
||||||
|
|
||||||
EXTRA_CFLAGS+= $(TARGET_CPPFLAGS)
|
|
||||||
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--without-curses \
|
|
||||||
--with-gsm=internal \
|
|
||||||
--without-bluetooth \
|
|
||||||
--without-cap \
|
|
||||||
--without-gtk2 \
|
|
||||||
--without-isdnnet \
|
|
||||||
--without-misdn \
|
|
||||||
--without-nbs \
|
|
||||||
--with-ncurses="$(STAGING_DIR)/usr" \
|
|
||||||
--without-neon \
|
|
||||||
--without-neon29 \
|
|
||||||
--without-netsnmp \
|
|
||||||
--without-newt \
|
|
||||||
--without-ogg \
|
|
||||||
--without-osptk \
|
|
||||||
--with-popt="$(STAGING_DIR)/usr" \
|
|
||||||
--without-radius \
|
|
||||||
--without-sdl \
|
|
||||||
--without-suppserv \
|
|
||||||
--without-tds \
|
|
||||||
--without-termcap \
|
|
||||||
--without-tinfo \
|
|
||||||
--without-vorbis \
|
|
||||||
--without-vpb \
|
|
||||||
--with-z="$(STAGING_DIR)/usr" \
|
|
||||||
--with-sounds-cache="$(DL_DIR)" \
|
|
||||||
--disable-xmldoc
|
|
||||||
|
|
||||||
define Build/Prepare
|
|
||||||
$(call Build/Prepare/Default)
|
|
||||||
ifneq ($(CONFIG_TARGET_lantiq),)
|
|
||||||
ifneq ($(CONFIG_TARGET_lantiq_xrx200),y)
|
|
||||||
$(CP) ./src-lantiq/* $(PKG_BUILD_DIR)/
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Configure
|
|
||||||
$(call Build/Configure/Default,,$(SITE_VARS))
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/Compile
|
|
||||||
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
|
||||||
include/asterisk/version.h \
|
|
||||||
include/asterisk/buildopts.h defaults.h \
|
|
||||||
makeopts.embed_rules
|
|
||||||
ASTCFLAGS="$(EXTRA_CFLAGS) -DLOW_MEMORY" \
|
|
||||||
ASTLDFLAGS="$(EXTRA_LDFLAGS)" \
|
|
||||||
$(MAKE) -C "$(PKG_BUILD_DIR)" \
|
|
||||||
ASTVARLIBDIR="/usr/lib/asterisk" \
|
|
||||||
ASTDATADIR="/usr/lib/asterisk" \
|
|
||||||
ASTKEYDIR="/usr/lib/asterisk" \
|
|
||||||
ASTDBDIR="/usr/lib/asterisk" \
|
|
||||||
NOISY_BUILD="1" \
|
|
||||||
DEBUG="" \
|
|
||||||
OPTIMIZE="" \
|
|
||||||
DESTDIR="$(PKG_INSTALL_DIR)" \
|
|
||||||
all install samples
|
|
||||||
endef
|
|
||||||
|
|
||||||
define Build/InstallDev
|
|
||||||
$(INSTALL_DIR) $(1)/usr/include/asterisk-1.8/include/asterisk/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk/*.h $(1)/usr/include/asterisk-1.8/include/asterisk/
|
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/asterisk.h $(1)/usr/include/asterisk-1.8/include/
|
|
||||||
endef
|
|
||||||
|
|
||||||
$(eval $(call BuildPackage,asterisk18))
|
|
||||||
$(eval $(call BuildPackage,asterisk18-sounds))
|
|
||||||
|
|
||||||
################################
|
|
||||||
# AST modules
|
|
||||||
# Params:
|
|
||||||
# 1 - Package subname
|
|
||||||
# 2 - Package title
|
|
||||||
# 3 - Module description
|
|
||||||
# 4 - Module dependencies
|
|
||||||
# 5 - Full path to multiple conffiles
|
|
||||||
# 6 - conf files
|
|
||||||
# 7 - module files
|
|
||||||
# 8 - sound files
|
|
||||||
# 9 - binary files
|
|
||||||
################################
|
|
||||||
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-alarmreceiver,Alarm receiver,Central Station Alarm receiver for Ademco Contact ID,,,,app_alarmreceiver,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-authenticate,Authenticate commands,Execute arbitrary authenticate commands,,,,app_authenticate,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-dahdiras,Execute an ISDN RAS,support for executing an ISDN RAS using DAHDI,+asterisk18-chan-dahdi,,,app_dahdiras,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-directed_pickup,Directed call pickup,support for directed call pickup,,,,app_directed_pickup,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-disa,Direct Inward System Access,Direct Inward System Access,,,,app_disa,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-exec,Exec application,support for application execution,,,,app_exec,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-chanisavail,Channel availability check,support for checking if a channel is available,,,,app_chanisavail,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-chanspy,Channel listen in,support for listening in on any channel,,,,app_chanspy,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-minivm,Minimal voicemail system,a voicemail system in small building blocks working together based on the Comedian Mail voicemail,,/etc/asterisk/extensions_minivm.conf /etc/asterisk/minivm.conf,extensions_minivm.conf minivm.conf,app_minivm,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-mixmonitor,Record a call and mix the audio,record a call and mix the audio during the recording,,,,app_mixmonitor,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-originate,Originate a call,originating an outbound call and connecting it to a specified extension or application,,,,app_originate,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-playtones,Playtones application,play a tone list,,,,app_playtones,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-read,Variable read,a trivial application to read a variable,,,,app_read,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-readexten,Extension to variable,a trivial application to read an extension into a variable,,,,app_readexten,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-record,Record sound file,to record a sound file,,,,app_record,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-sayunixtime,Say Unix time,an application to say Unix time,,,,app_sayunixtime,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-senddtmf,Send DTMF digits,Sends arbitrary DTMF digits,,,,app_senddtmf,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-setcallerid,Set callerid,Support for setting callerid,,,,app_setcallerid,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-sms,SMS,SMS support (ETSI ES 201 912 protocol 1),+libpopt +libstdcpp,,,app_sms,,smsq))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-stack,Stack applications, stack applications Gosub Return etc., +asterisk18-res-agi,,,app_stack,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-system,System exec,support for executing system commands,,,,app_system,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-talkdetect,File playback with audio detect,for file playback with audio detect,,,,app_talkdetect,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-verbose,Verbose logging,Verbose logging application,,,,app_verbose,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-waituntil,Sleep,support sleeping until the given epoch,,,,app_waituntil,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,app-while,While loop,a while loop implementation,,,,app_while,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,cdr-csv,Provides CDR CSV,Call Detail Record with CSV support,,,,cdr_csv,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,cdr,Provides CDR,Call Detail Record,,/etc/asterisk/cdr.conf /etc/asterisk/cdr_custom.conf /etc/asterisk/cdr_manager.conf /etc/asterisk/cdr_syslog.conf,cdr cdr_custom cdr_manager cdr_syslog,app_cdr app_forkcdr cdr_custom cdr_manager cdr_syslog func_cdr,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,codec-a-mu,Alaw to ulaw translation,translation between alaw and ulaw codecs,,,,codec_a_mu,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,codec-alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs,,,,codec_alaw,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,codec-dahdi,DAHDI codec,DAHDI native transcoding support,+asterisk18-chan-dahdi,,,codec_dahdi,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,codec-g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec,,,,codec_g722,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,codec-g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs,,,,codec_g726,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,curl,CURL,CURL support,+libcurl,,,func_curl res_curl,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,format-g726,G.726,support for headerless G.726 16/24/32/40kbps data format,,,,format_g726,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,format-g729,G.729,support for raw headerless G729 data,,,,format_g729,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,format-sln,Raw slinear format,support for raw slinear format,,,,format_sln,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,format-sln16,Raw slinear 16 format,support for raw slinear 16 format,,,,format_sln16,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-base64,base64 support,support of base64 function,,,,func_base64,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted,,,,func_blacklist,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-cut,CUT function,CUT function,,,,func_cut,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-db,Database interaction,functions for interaction with the database,,,,func_db app_db,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-devstate,Blinky lights control,functions for manually controlled blinky lights,,,,func_devstate,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-enum,ENUM,ENUM,,/etc/asterisk/enum.conf,enum.conf,func_enum,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-env,Environment functions,Environment dialplan functions,,,,func_env,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-extstate,Hinted extension state,retrieving the state of a hinted extension for dialplan control,,,,func_extstate,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-global,Global variable,global variable dialplan functions,,,,func_global,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-groupcount,Group count,for counting number of channels in the specified group,,,,func_groupcount,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-channel,Channel info,Channel info dialplan function,,,,func_channel,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-math,Math functions,Math functions,,,,func_math,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-module,Simple module check function,Simple module check function,,,,func_module,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-shell,Shell,support for shell execution,,,,func_shell,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-uri,URI encoding and decoding,Encodes and decodes URI-safe strings,,,,func_uri,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,func-vmcount,vmcount dialplan,a vmcount dialplan function,,,,func_vmcount,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-agent,Agents proxy channel,An implementation of agents proxy channel,,,,chan_agent,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-dahdi,DAHDI channel,DAHDI channel support,+dahdi-tools-libtonezone +kmod-dahdi +libpri,/etc/asterisk/chan_dahdi.conf,chan_dahdi.conf,chan_dahdi,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-gtalk,GTalk,An implementation of chan_gtalk and res_jabber for GTalk support,+libiksemel,/etc/asterisk/gtalk.conf /etc/asterisk/jabber.conf,gtalk.conf jabber.conf,chan_gtalk res_jabber,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-iax2,IAX2 channel,An implementation of IAX2 channel,+asterisk18-res-timing-timerfd,/etc/asterisk/iax.conf /etc/asterisk/iaxprov.conf,iax.conf iaxprov.conf,chan_iax2,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-lantiq,Lantiq TAPI channel,An implementation of Lantiq TAPI channel,@TARGET_lantiq @!TARGET_lantiq_xrx200 +kmod-ltq-vmmc,/etc/asterisk/lantiq.conf,lantiq.conf,chan_lantiq,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-local,Local proxy channel,An implementation of local proxy channel,,,,chan_local,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-mgcp,MGCP channel,the channel chan_mgcp,,/etc/asterisk/mgcp.conf,mgcp.conf,chan_mgcp,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-ooh323,ooH323 channel,the channel chan_ooh323,,/etc/asterisk/ooh323.conf,ooh323.conf,chan_ooh323,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,chan-skinny,Skinny channel,the channel chan_skinny,,/etc/asterisk/skinny.conf,skinny.conf,chan_skinny,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,mysql,MySQL,MySQL support,+libmysqlclient,/etc/asterisk/res_config_mysql.conf,res_config_mysql.conf,res_config_mysql,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,odbc,ODBC,ODBC support,+libpthread +libc +unixodbc,/etc/asterisk/cdr_adaptive_odbc.conf /etc/asterisk/cdr_odbc.conf /etc/asterisk/cel_odbc.conf /etc/asterisk/func_odbc.conf /etc/asterisk/res_odbc.conf,cdr_adaptive_odbc cdr_odbc cel_odbc func_odbc res_odbc,cdr_adaptive_odbc cdr_odbc cel_odbc func_odbc res_config_odbc res_odbc,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,pbx-ael,Asterisk Extension Logic,support for symbolic Asterisk Extension Logic,,,extensions.ael,pbx_ael,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,pbx-dundi,Dundi,provides Dundi Lookup service for Asterisk,,/etc/asterisk/dundi.conf,dundi.conf,pbx_dundi,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,pbx-lua,Lua,provides Lua resources for Asterisk,+libpthread +libc +liblua,/etc/asterisk/extensions.lua,extensions.lua,pbx_lua,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,pbx-spool,Call Spool,Outgoing call spool support,,,,pbx_spool,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,pgsql,PostgreSQL,PostgreSQL support,+libpq,/etc/asterisk/cel_pgsql.conf /etc/asterisk/cdr_pgsql.conf /etc/asterisk/res_pgsql.conf,cel_pgsql.conf cdr_pgsql.conf res_pgsql.conf,cel_pgsql cdr_pgsql res_config_pgsql,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-ael-share,Shareable AEL code,support for shareable AEL code mainly between internal and external modules,,,,res_ael_share,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-agi,Asterisk Gateway Interface,support for the Asterisk Gateway Interface extension,,,,res_agi,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-clioriginate,Calls via CLI,Originate calls via the CLI,,,,res_clioriginate,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-crypto,Provides Crypto,Cryptographic Signature capability,,,,res_crypto,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-fax-spandsp,Spandsp T.38 and G.711,Spandsp T.38 and G.711 FAX Resource,+asterisk18-res-fax +libspandsp +libtiff,,,res_fax_spandsp,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-fax,FAX modules,Generic FAX resource for FAX technology resource modules,+asterisk18-res-timing-pthread,/etc/asterisk/res_fax.conf /etc/asterisk/udptl.conf,udptl.conf res_fax.conf,res_fax,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-monitor,Provides Monitor,Cryptographic Signature capability,,,,res_monitor,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-musiconhold,MOH,Music On Hold support,,/etc/asterisk/musiconhold.conf,musiconhold.conf,res_musiconhold,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-phoneprov,Phone Provisioning,Phone provisioning application for the asterisk internal http server,,/etc/asterisk/phoneprov.conf,phoneprov.conf,res_phoneprov,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-pktccops,Provide PacketCable COPS,simple client/server model for supporting policy control over QoS signaling protocols,,/etc/asterisk/res_pktccops.conf,res_pktccops.conf,res_pktccops,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-smdi,Provide SMDI,Simple Message Desk Interface capability,,/etc/asterisk/smdi.conf,smdi.conf,res_smdi,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-srtp,SRTP,Secure RTP,+libsrtp,,,res_srtp,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-timing-dahdi,DAHDI Timing Interface,,+asterisk18-chan-dahdi,,,res_timing_dahdi,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-timing-pthread,pthread Timing Interface,,,,,res_timing_pthread,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,res-timing-timerfd,Timerfd Timing Interface,,,,,res_timing_timerfd,))
|
|
||||||
$(eval $(call BuildAsterisk18Module,voicemail,Voicemail,voicemail related modules,,/etc/asterisk/voicemail.conf,voicemail.conf,*voicemail res_adsi res_smdi,vm-*))
|
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
## startup options for /etc/init.d/asterisk
|
|
||||||
|
|
||||||
ENABLE_ASTERISK="yes"
|
|
||||||
OPTIONS=""
|
|
|
@ -1,32 +0,0 @@
|
||||||
#!/bin/sh /etc/rc.common
|
|
||||||
# Copyright (C) 2014 OpenWrt.org
|
|
||||||
|
|
||||||
START=99
|
|
||||||
APP=asterisk
|
|
||||||
OPTIONS=
|
|
||||||
DEST=
|
|
||||||
BIN_FILE=$DEST/usr/sbin/$APP
|
|
||||||
PID_FILE=$DEST/var/run/$APP/$APP.pid
|
|
||||||
|
|
||||||
start() {
|
|
||||||
[ -d $DEST/var/run/asterisk ] || mkdir -p $DEST/var/run/asterisk
|
|
||||||
[ -d $DEST/var/log/asterisk ] || mkdir -p $DEST/var/log/asterisk
|
|
||||||
[ -d $DEST/var/spool/asterisk ] || mkdir -p $DEST/var/spool/asterisk
|
|
||||||
[ -d $DEST/var/lib ] || mkdir -p $DEST/var/lib
|
|
||||||
[ -h $DEST/var/lib/asterisk ] || ln -s /usr/lib/asterisk /var/lib/asterisk
|
|
||||||
[ -d $DEST/var/lib/asterisk/keys ] || mkdir -p $DEST/var/lib/asterisk/keys
|
|
||||||
[ -d $DEST/var/log/asterisk/cdr-csv/ ] || mkdir -p $DEST/var/log/asterisk/cdr-csv
|
|
||||||
|
|
||||||
SERVICE_PID_FILE="/var/run/asterisk/asterisk.pid" \
|
|
||||||
service_start $BIN_FILE $OPTIONS
|
|
||||||
}
|
|
||||||
|
|
||||||
stop() {
|
|
||||||
SERVICE_PID_FILE="/var/run/asterisk/asterisk.pid" \
|
|
||||||
service_stop $BIN_FILE
|
|
||||||
}
|
|
||||||
|
|
||||||
reload() {
|
|
||||||
SERVICE_PID_FILE="/var/run/asterisk/asterisk.pid" \
|
|
||||||
service_reload $BIN_FILE
|
|
||||||
}
|
|
|
@ -1,26 +0,0 @@
|
||||||
Index: asterisk-1.8.32.3/res/ael/ael.flex
|
|
||||||
===================================================================
|
|
||||||
--- asterisk-1.8.32.3.orig/res/ael/ael.flex
|
|
||||||
+++ asterisk-1.8.32.3/res/ael/ael.flex
|
|
||||||
@@ -595,7 +595,7 @@ includes { STORE_POS; return KW_INCLUDES
|
|
||||||
snprintf(fnamebuf2,sizeof(fnamebuf2), "%s/%s", (char *)ast_config_AST_CONFIG_DIR, fnamebuf);
|
|
||||||
ast_copy_string(fnamebuf,fnamebuf2,sizeof(fnamebuf));
|
|
||||||
}
|
|
||||||
-#ifdef SOLARIS
|
|
||||||
+#if !defined(HAVE_GLOB_NOMAGIC) || !defined(HAVE_GLOB_BRACE) || defined(DEBUG_NONGNU)
|
|
||||||
glob_ret = glob(fnamebuf, GLOB_NOCHECK, NULL, &globbuf);
|
|
||||||
#else
|
|
||||||
glob_ret = glob(fnamebuf, GLOB_NOMAGIC|GLOB_BRACE, NULL, &globbuf);
|
|
||||||
Index: asterisk-1.8.32.3/res/ael/ael_lex.c
|
|
||||||
===================================================================
|
|
||||||
--- asterisk-1.8.32.3.orig/res/ael/ael_lex.c
|
|
||||||
+++ asterisk-1.8.32.3/res/ael/ael_lex.c
|
|
||||||
@@ -1966,7 +1966,7 @@ YY_RULE_SETUP
|
|
||||||
snprintf(fnamebuf2,sizeof(fnamebuf2), "%s/%s", (char *)ast_config_AST_CONFIG_DIR, fnamebuf);
|
|
||||||
ast_copy_string(fnamebuf,fnamebuf2,sizeof(fnamebuf));
|
|
||||||
}
|
|
||||||
-#ifdef SOLARIS
|
|
||||||
+#if !defined(HAVE_GLOB_NOMAGIC) || !defined(HAVE_GLOB_BRACE) || defined(DEBUG_NONGNU)
|
|
||||||
glob_ret = glob(fnamebuf, GLOB_NOCHECK, NULL, &globbuf);
|
|
||||||
#else
|
|
||||||
glob_ret = glob(fnamebuf, GLOB_NOMAGIC|GLOB_BRACE, NULL, &globbuf);
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/build_tools/menuselect-deps.in
|
|
||||||
+++ b/build_tools/menuselect-deps.in
|
|
||||||
@@ -16,7 +16,7 @@ GTK2=@PBX_GTK2@
|
|
||||||
H323=@PBX_H323@
|
|
||||||
HOARD=@PBX_HOARD@
|
|
||||||
ICAL=@PBX_ICAL@
|
|
||||||
-ICONV=@PBX_ICONV@
|
|
||||||
+ICONV=0
|
|
||||||
IKSEMEL=@PBX_IKSEMEL@
|
|
||||||
IMAP_TK=@PBX_IMAP_TK@
|
|
||||||
IODBC=@PBX_IODBC@
|
|
|
@ -1,77 +0,0 @@
|
||||||
--- a/addons/app_mysql.c
|
|
||||||
+++ b/addons/app_mysql.c
|
|
||||||
@@ -25,7 +25,7 @@
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
<depend>mysqlclient</depend>
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>deprecated</support_level>
|
|
||||||
<replacement>func_odbc</replacement>
|
|
||||||
***/
|
|
||||||
--- a/addons/app_saycountpl.c
|
|
||||||
+++ b/addons/app_saycountpl.c
|
|
||||||
@@ -21,7 +21,7 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>deprecated</support_level>
|
|
||||||
<replacement>say.conf</replacement>
|
|
||||||
***/
|
|
||||||
--- a/addons/cdr_mysql.c
|
|
||||||
+++ b/addons/cdr_mysql.c
|
|
||||||
@@ -35,7 +35,7 @@
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
<depend>mysqlclient</depend>
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>deprecated</support_level>
|
|
||||||
<replacement>cdr_adaptive_odbc</replacement>
|
|
||||||
***/
|
|
||||||
--- a/addons/chan_mobile.c
|
|
||||||
+++ b/addons/chan_mobile.c
|
|
||||||
@@ -27,7 +27,7 @@
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
<depend>bluetooth</depend>
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>extended</support_level>
|
|
||||||
***/
|
|
||||||
|
|
||||||
--- a/addons/chan_ooh323.c
|
|
||||||
+++ b/addons/chan_ooh323.c
|
|
||||||
@@ -18,7 +18,7 @@
|
|
||||||
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>extended</support_level>
|
|
||||||
***/
|
|
||||||
|
|
||||||
--- a/addons/res_config_mysql.c
|
|
||||||
+++ b/addons/res_config_mysql.c
|
|
||||||
@@ -24,7 +24,7 @@
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
<depend>mysqlclient</depend>
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>extended</support_level>
|
|
||||||
***/
|
|
||||||
|
|
||||||
--- a/res/res_pktccops.c
|
|
||||||
+++ b/res/res_pktccops.c
|
|
||||||
@@ -31,7 +31,7 @@
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*** MODULEINFO
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<support_level>extended</support_level>
|
|
||||||
***/
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/utils/utils.xml
|
|
||||||
+++ b/utils/utils.xml
|
|
||||||
@@ -33,7 +33,7 @@
|
|
||||||
<support_level>extended</support_level>
|
|
||||||
</member>
|
|
||||||
<member name="smsq">
|
|
||||||
- <defaultenabled>no</defaultenabled>
|
|
||||||
+ <defaultenabled>yes</defaultenabled>
|
|
||||||
<depend>popt</depend>
|
|
||||||
<support_level>extended</support_level>
|
|
||||||
</member>
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -16902,8 +16902,6 @@ if ac_fn_c_try_link "$LINENO"; then :
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
||||||
$as_echo "yes" >&6; }
|
|
||||||
|
|
||||||
-$as_echo "#define HAVE_RES_NINIT 1" >>confdefs.h
|
|
||||||
-
|
|
||||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_ndestroy" >&5
|
|
||||||
$as_echo_n "checking for library containing res_9_ndestroy... " >&6; }
|
|
||||||
if ${ac_cv_search_res_9_ndestroy+:} false; then :
|
|
|
@ -1,162 +0,0 @@
|
||||||
Index: asterisk-1.8.32.3/autoconf/ast_ext_tool_check.m4
|
|
||||||
===================================================================
|
|
||||||
--- asterisk-1.8.32.3.orig/autoconf/ast_ext_tool_check.m4
|
|
||||||
+++ asterisk-1.8.32.3/autoconf/ast_ext_tool_check.m4
|
|
||||||
@@ -5,37 +5,39 @@
|
|
||||||
# AST_EXT_TOOL_CHECK([package], [tool name], [--cflags], [--libs], [includes], [expression])
|
|
||||||
AC_DEFUN([AST_EXT_TOOL_CHECK],
|
|
||||||
[
|
|
||||||
- if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
|
|
||||||
- PBX_$1=0
|
|
||||||
- AC_PATH_TOOL(CONFIG_$1, $2, No, [${$1_DIR}/bin:$PATH])
|
|
||||||
- if test ! "x${CONFIG_$1}" = xNo; then
|
|
||||||
- if test x"$3" = x ; then A=--cflags ; else A="$3" ; fi
|
|
||||||
- $1_INCLUDE=$(${CONFIG_$1} $A)
|
|
||||||
- $1_INCLUDE=$(echo ${$1_INCLUDE} | $SED -e "s|-I|-I${$1_DIR}|g")
|
|
||||||
-
|
|
||||||
- if test x"$4" = x ; then A=--libs ; else A="$4" ; fi
|
|
||||||
- $1_LIB=$(${CONFIG_$1} $A)
|
|
||||||
- $1_LIB=$(echo ${$1_LIB} | $SED -e "s|-L|-L${$1_DIR}|g")
|
|
||||||
-
|
|
||||||
- if test x"$5" != x ; then
|
|
||||||
- saved_cppflags="${CPPFLAGS}"
|
|
||||||
- CPPFLAGS="${CPPFLAGS} ${$1_INCLUDE}"
|
|
||||||
+ if test "x${PBX_$1}" != "x1" -a "${USE_$1}" != "no"; then
|
|
||||||
+ PBX_$1=0
|
|
||||||
+ AC_PATH_TOOL(CONFIG_$1, $2, No, [${$1_DIR}/bin:$PATH])
|
|
||||||
+ if test ! "x${CONFIG_$1}" = xNo; then
|
|
||||||
+ if test x"$3" = x ; then A=--cflags ; else A="$3" ; fi
|
|
||||||
+ $1_INCLUDE=$(${CONFIG_$1} $A)
|
|
||||||
+ if test x"$4" = x ; then A=--libs ; else A="$4" ; fi
|
|
||||||
+ $1_LIB=$(${CONFIG_$1} $A)
|
|
||||||
+ if test x"$5" != x ; then
|
|
||||||
+ saved_cppflags="${CPPFLAGS}"
|
|
||||||
+ if test "x${$1_DIR}" != "x"; then
|
|
||||||
+ $1_INCLUDE="-I${$1_DIR}/include"
|
|
||||||
+ fi
|
|
||||||
+ CPPFLAGS="${CPPFLAGS} ${$1_INCLUDE}"
|
|
||||||
|
|
||||||
- saved_libs="${LIBS}"
|
|
||||||
- LIBS=${$1_LIB}
|
|
||||||
+ saved_libs="${LIBS}"
|
|
||||||
+ LIBS="${$1_LIB}"
|
|
||||||
|
|
||||||
- AC_LINK_IFELSE(
|
|
||||||
- [ AC_LANG_PROGRAM( [ $5 ], [ $6; ])],
|
|
||||||
- [ PBX_$1=1 AC_DEFINE([HAVE_$1], 1,
|
|
||||||
- [Define if your system has the $1 headers.])],
|
|
||||||
- []
|
|
||||||
- )
|
|
||||||
- CPPFLAGS="${saved_cppflags}"
|
|
||||||
- LIBS="${saved_libs}"
|
|
||||||
- else
|
|
||||||
- PBX_$1=1
|
|
||||||
- AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 libraries.])
|
|
||||||
- fi
|
|
||||||
- fi
|
|
||||||
+ AC_LINK_IFELSE(
|
|
||||||
+ [ AC_LANG_PROGRAM( [ $5 ],
|
|
||||||
+ [ $6; ]
|
|
||||||
+ )],
|
|
||||||
+ [ PBX_$1=1
|
|
||||||
+ AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 headers.])
|
|
||||||
+ ],
|
|
||||||
+ []
|
|
||||||
+ )
|
|
||||||
+ CPPFLAGS="${saved_cppflags}"
|
|
||||||
+ LIBS="${saved_libs}"
|
|
||||||
+ else
|
|
||||||
+ PBX_$1=1
|
|
||||||
+ AC_DEFINE([HAVE_$1], 1, [Define if your system has the $1 libraries.])
|
|
||||||
+ fi
|
|
||||||
fi
|
|
||||||
+ fi
|
|
||||||
])
|
|
||||||
Index: asterisk-1.8.32.3/configure
|
|
||||||
===================================================================
|
|
||||||
--- asterisk-1.8.32.3.orig/configure
|
|
||||||
+++ asterisk-1.8.32.3/configure
|
|
||||||
@@ -12663,11 +12663,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_LIBXML2}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
LIBXML2_INCLUDE=$(${CONFIG_LIBXML2} $A)
|
|
||||||
- LIBXML2_INCLUDE=$(echo ${LIBXML2_INCLUDE} | $SED -e "s|-I|-I${LIBXML2_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" = x ; then A=--libs ; else A="" ; fi
|
|
||||||
LIBXML2_LIB=$(${CONFIG_LIBXML2} $A)
|
|
||||||
- LIBXML2_LIB=$(echo ${LIBXML2_LIB} | $SED -e "s|-L|-L${LIBXML2_DIR}|g")
|
|
||||||
|
|
||||||
if test x"#include <libxml/tree.h>
|
|
||||||
#include <libxml/parser.h>" != x ; then
|
|
||||||
@@ -21027,11 +21025,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_MYSQLCLIENT}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
MYSQLCLIENT_INCLUDE=$(${CONFIG_MYSQLCLIENT} $A)
|
|
||||||
- MYSQLCLIENT_INCLUDE=$(echo ${MYSQLCLIENT_INCLUDE} | $SED -e "s|-I|-I${MYSQLCLIENT_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" = x ; then A=--libs ; else A="" ; fi
|
|
||||||
MYSQLCLIENT_LIB=$(${CONFIG_MYSQLCLIENT} $A)
|
|
||||||
- MYSQLCLIENT_LIB=$(echo ${MYSQLCLIENT_LIB} | $SED -e "s|-L|-L${MYSQLCLIENT_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" != x ; then
|
|
||||||
saved_cppflags="${CPPFLAGS}"
|
|
||||||
@@ -21281,11 +21277,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_NEON}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
NEON_INCLUDE=$(${CONFIG_NEON} $A)
|
|
||||||
- NEON_INCLUDE=$(echo ${NEON_INCLUDE} | $SED -e "s|-I|-I${NEON_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" = x ; then A=--libs ; else A="" ; fi
|
|
||||||
NEON_LIB=$(${CONFIG_NEON} $A)
|
|
||||||
- NEON_LIB=$(echo ${NEON_LIB} | $SED -e "s|-L|-L${NEON_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" != x ; then
|
|
||||||
saved_cppflags="${CPPFLAGS}"
|
|
||||||
@@ -21430,11 +21424,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_NEON29}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
NEON29_INCLUDE=$(${CONFIG_NEON29} $A)
|
|
||||||
- NEON29_INCLUDE=$(echo ${NEON29_INCLUDE} | $SED -e "s|-I|-I${NEON29_DIR}|g")
|
|
||||||
|
|
||||||
if test x"--libs" = x ; then A=--libs ; else A="--libs" ; fi
|
|
||||||
NEON29_LIB=$(${CONFIG_NEON29} $A)
|
|
||||||
- NEON29_LIB=$(echo ${NEON29_LIB} | $SED -e "s|-L|-L${NEON29_DIR}|g")
|
|
||||||
|
|
||||||
if test x"#include <ne_auth.h>" != x ; then
|
|
||||||
saved_cppflags="${CPPFLAGS}"
|
|
||||||
@@ -21581,11 +21573,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_NETSNMP}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
NETSNMP_INCLUDE=$(${CONFIG_NETSNMP} $A)
|
|
||||||
- NETSNMP_INCLUDE=$(echo ${NETSNMP_INCLUDE} | $SED -e "s|-I|-I${NETSNMP_DIR}|g")
|
|
||||||
|
|
||||||
if test x"--agent-libs" = x ; then A=--libs ; else A="--agent-libs" ; fi
|
|
||||||
NETSNMP_LIB=$(${CONFIG_NETSNMP} $A)
|
|
||||||
- NETSNMP_LIB=$(echo ${NETSNMP_LIB} | $SED -e "s|-L|-L${NETSNMP_DIR}|g")
|
|
||||||
|
|
||||||
if test x"#include <net-snmp/net-snmp-config.h>
|
|
||||||
#include <net-snmp/net-snmp-includes.h>
|
|
||||||
@@ -28255,11 +28245,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_GMIME}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
GMIME_INCLUDE=$(${CONFIG_GMIME} $A)
|
|
||||||
- GMIME_INCLUDE=$(echo ${GMIME_INCLUDE} | $SED -e "s|-I|-I${GMIME_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" = x ; then A=--libs ; else A="" ; fi
|
|
||||||
GMIME_LIB=$(${CONFIG_GMIME} $A)
|
|
||||||
- GMIME_LIB=$(echo ${GMIME_LIB} | $SED -e "s|-L|-L${GMIME_DIR}|g")
|
|
||||||
|
|
||||||
if test x"#include <gmime/gmime.h>" != x ; then
|
|
||||||
saved_cppflags="${CPPFLAGS}"
|
|
||||||
@@ -29377,11 +29365,9 @@ fi
|
|
||||||
if test ! "x${CONFIG_SDL}" = xNo; then
|
|
||||||
if test x"" = x ; then A=--cflags ; else A="" ; fi
|
|
||||||
SDL_INCLUDE=$(${CONFIG_SDL} $A)
|
|
||||||
- SDL_INCLUDE=$(echo ${SDL_INCLUDE} | $SED -e "s|-I|-I${SDL_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" = x ; then A=--libs ; else A="" ; fi
|
|
||||||
SDL_LIB=$(${CONFIG_SDL} $A)
|
|
||||||
- SDL_LIB=$(echo ${SDL_LIB} | $SED -e "s|-L|-L${SDL_DIR}|g")
|
|
||||||
|
|
||||||
if test x"" != x ; then
|
|
||||||
saved_cppflags="${CPPFLAGS}"
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,138 +0,0 @@
|
||||||
;
|
|
||||||
; TAPI Telephony Interface
|
|
||||||
;
|
|
||||||
; Configuration file
|
|
||||||
|
|
||||||
[interfaces]
|
|
||||||
;
|
|
||||||
; Number of FXS ports (default: 2)
|
|
||||||
channels = 2
|
|
||||||
;
|
|
||||||
; Set tapi firmware file path
|
|
||||||
;firmwarefilename = /lib/firmware/danube_firmware.bin
|
|
||||||
;
|
|
||||||
; Set tapi bbd file path
|
|
||||||
;bbdfilename = /lib/firmware/danube_bbd_fxs.bin
|
|
||||||
;
|
|
||||||
; Set vmmc device path
|
|
||||||
;basepath = /dev/vmmc
|
|
||||||
;
|
|
||||||
[general]
|
|
||||||
;
|
|
||||||
; Gain setting for the receive and transmit path.
|
|
||||||
; The value is given in dB within the range (-24dB to +12dB), in 1 dB steps.
|
|
||||||
;
|
|
||||||
;rxgain = 1
|
|
||||||
;txgain = 1
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;
|
|
||||||
; Line echo cancller valid types:
|
|
||||||
;
|
|
||||||
; off LEC and echo suppressor turned off.
|
|
||||||
; nlec LEC using fixed window; no echo suppressor.
|
|
||||||
; wlec LEC using fixed and moving window; no echo suppressor.
|
|
||||||
; nees LEC using fixed window and echo suppressor.
|
|
||||||
; nfees LEC using fixed and moving window and echo suppressor.
|
|
||||||
; es Echo suppressor
|
|
||||||
;
|
|
||||||
;echocancel = off
|
|
||||||
;
|
|
||||||
; If nlec or wlec is selected than size of the fixed window in narrowband (8 kHz) sampling mode
|
|
||||||
; can be defined with:
|
|
||||||
; A value of 0 defaults to: 16 ms if type is nlec or 8 ms if type is wlec:
|
|
||||||
;
|
|
||||||
;echocancelfixedwindowsize = 0
|
|
||||||
;
|
|
||||||
; If wlec is selected than size of the moving window in narrowband (8 kHz) sampling mode
|
|
||||||
; can be defined with:
|
|
||||||
; A value of 0 defaults to 8 ms.
|
|
||||||
;
|
|
||||||
;echocancelnfemovingwindowsize = 0
|
|
||||||
;
|
|
||||||
; If wlec is selected than size of the moving window in wideband (16 kHz) sampling mode
|
|
||||||
; can be defined with:
|
|
||||||
; A value of 0 defaults to 8 ms.
|
|
||||||
;
|
|
||||||
;echocancelwidefixedwindowsize = 0
|
|
||||||
;
|
|
||||||
; Activate or deactivate line echo cancller NLP (Non Linear Processor) if the LEC is active,
|
|
||||||
; valid is on or off:
|
|
||||||
;
|
|
||||||
;echocancelnlp = off
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;
|
|
||||||
; Jitter buffer valid types:
|
|
||||||
;
|
|
||||||
; fixed Fixed jitter buffer.
|
|
||||||
; adaptive Adaptive jitter buffer.
|
|
||||||
;
|
|
||||||
;jitterbuffertype = fixed
|
|
||||||
;
|
|
||||||
; Jitter buffer packet adaptation valid types:
|
|
||||||
;
|
|
||||||
; voice Jitter buffer optimized for voice.
|
|
||||||
; data Jitter buffer optimized for data.
|
|
||||||
; datanorep Jitter buffer optimized for data but without doing packet repetition.
|
|
||||||
;
|
|
||||||
;jitterbufferpackettype = voice
|
|
||||||
;
|
|
||||||
; Following jitter buffer values can only be used with jitter buffer adaptive type:
|
|
||||||
; Turns on or off jitter buffer adaptation:
|
|
||||||
;
|
|
||||||
;jitterbufferadaptation = off
|
|
||||||
;
|
|
||||||
; Scaling factor multiplied by 16; in adaptive jitter buffer mode, the target average playout delay is
|
|
||||||
; equal to the estimated jitter multiplied by the scaling factor. The default value for the scaling factor
|
|
||||||
; is about 1.4 (scaling=22), meaning that the target average playout delay is equal to the estimated
|
|
||||||
; jitter. If less packets should be dropped because of jitter, the scaling factor has to be increased. An
|
|
||||||
; increase in the scaling factor will eventually lead to an increased playout delay.
|
|
||||||
; The supported range is 1 to 16 (16 up to 256).
|
|
||||||
;
|
|
||||||
;jitterbufferscalling = 1
|
|
||||||
;
|
|
||||||
; Initial size of the jitter buffer in time stamps of 125 us:
|
|
||||||
;
|
|
||||||
;jitterbufferinitialsize = 125
|
|
||||||
;
|
|
||||||
; Minimum size of the jitter buffer in time stamps of 125 us
|
|
||||||
;
|
|
||||||
;jitterbufferminsize = 125
|
|
||||||
;
|
|
||||||
; Maximum size of the jitter buffer in time stamps of 125 us
|
|
||||||
;
|
|
||||||
;jitterbuffermaxsize = 125
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;
|
|
||||||
; Caller id valid standards:
|
|
||||||
;
|
|
||||||
; telecordia Bellcore/Telcordia GR-30-CORE; use Bell202 FSK coding of CID information. (default)
|
|
||||||
; etsifsk ETSI 300-659-1/2/3 V1.3.1; use V.23 FSK coding to transmit CID information.
|
|
||||||
; etsidtmf ETSI 300-659-1/2/3 V1.3.1; use DTMF transmission of CID information.
|
|
||||||
; sin SIN 227 Issue 3.4; use V.23 FSK coding of CID information.
|
|
||||||
; ntt NTT standard: TELEPHONE SERVICE INTERFACES, edition 5; use a modified V.23 FSK coding of
|
|
||||||
; CID information.
|
|
||||||
; kpndtmf KPN; use DTMF transmission of CID information.
|
|
||||||
; kpndtmffsk KPN; use DTMF and FSK transmission of CID information.
|
|
||||||
;
|
|
||||||
;calleridtype = telecordia
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;
|
|
||||||
; Voice activity detection:
|
|
||||||
;
|
|
||||||
; on Voice activity detection on; in this case also comfort noise and spectral
|
|
||||||
; information (nicer noise) is switched on.
|
|
||||||
; g711 Voice activity detection on with comfort noise generation,
|
|
||||||
; but without spectral information.
|
|
||||||
; cng Voice activity detection on with comfort noise generation, but without silence compression
|
|
||||||
; sc Voice activity detection on with silence compression,
|
|
||||||
; but without comfort noise generation.
|
|
||||||
;
|
|
||||||
;voiceactivitydetection = on
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;
|
|
||||||
;
|
|
Loading…
Reference in a new issue