include $(TOPDIR)/rules.mk
PKG_NAME:=asterisk18
-PKG_VERSION:=1.8.4.4
+PKG_VERSION:=1.8.7.1
PKG_RELEASE:=1
PKG_SOURCE:=asterisk-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://downloads.asterisk.org/pub/telephony/asterisk/releases/
-PKG_MD5SUM:=bc2a1168603815c23f204927d1e73239
+PKG_MD5SUM:=a732a608ce60fd523646be618e9da616
PKG_BUILD_DIR=$(BUILD_DIR)/asterisk-$(PKG_VERSION)
This package provides the channel chan_mgcp support to Asterisk.
endef
+define Package/asterisk18-chan-skinny
+$(call Package/asterisk18/Default)
+ TITLE:=Skinny channel support
+ DEPENDS:= asterisk18
+endef
+
+define Package/asterisk18-chan-skinny/description
+$(call Package/asterisk18/Default/description)
+ This package provides the channel chan_skinny support to Asterisk.
+endef
+
define Package/asterisk18-curl
$(call Package/asterisk18/Default)
TITLE:=CURL support
define Package/asterisk18-mysql
$(call Package/asterisk18/Default)
TITLE:=MySQL support
- DEPENDS:= asterisk18 +libmysqlclient
+ DEPENDS:= asterisk18 +PACKAGE_asterisk18-mysql:libmysqlclient
endef
define Package/asterisk18-mysql/description
EXTRA_LDFLAGS+= $(TARGET_LDFLAGS)
define Build/Configure
- -rm $(PKG_BUILD_DIR)/menuselect.makeopts
$(call Build/Configure/Default,,$(SITE_VARS))
endef
ASTVARLIBDIR="/usr/lib/asterisk" \
ASTDATADIR="/usr/lib/asterisk" \
ASTKEYDIR="/usr/lib/asterisk" \
+ ASTDBDIR="/usr/lib/asterisk" \
NOISY_BUILD="1" \
DEBUG="" \
OPTIMIZE="" \
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/*voicemail.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_adsi.so $(1)/usr/lib/asterisk/modules/
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_smdi.so $(1)/usr/lib/asterisk/modules/
$(INSTALL_DIR) $(1)/usr/lib/asterisk/sounds/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/asterisk/sounds/en/vm-*.gsm $(1)/usr/lib/asterisk/sounds/
endef
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mgcp.so $(1)/usr/lib/asterisk/modules/
endef
+define Package/asterisk18-chan-skinny/conffiles
+/etc/asterisk/skinny.conf
+endef
+
+define Package/asterisk18-chan-skinny/install
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/skinny.conf $(1)/etc/asterisk/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_skinny.so $(1)/usr/lib/asterisk/modules/
+endef
+
define Package/asterisk18-curl/install
$(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/func_curl.so $(1)/usr/lib/asterisk/modules/
$(eval $(call BuildPackage,asterisk18-chan-gtalk))
$(eval $(call BuildPackage,asterisk18-chan-mobile))
$(eval $(call BuildPackage,asterisk18-chan-mgcp))
+$(eval $(call BuildPackage,asterisk18-chan-skinny))
$(eval $(call BuildPackage,asterisk18-curl))
$(eval $(call BuildPackage,asterisk18-mysql))
$(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
$(eval $(call Buildasterisk18ModuleTemplate,chan_agent,Agents proxy channel, an implementation of agents proxy channel))
$(eval $(call Buildasterisk18ModuleTemplate,chan_local,Local proxy channel, an implementation of local proxy channel))
$(eval $(call Buildasterisk18ModuleTemplate,codec_alaw,Signed linear to alaw translation,translation between signed linear and alaw codecs))
-$(eval $(call Buildasterisk18ModuleTemplate,codec_ulaw,Signed linear to ulaw translation,translation between signed linear and ulaw codecs))
$(eval $(call Buildasterisk18ModuleTemplate,codec_a_mu,Alaw to ulaw translation,translation between alaw and ulaw codecs))
$(eval $(call Buildasterisk18ModuleTemplate,codec_g722,G.722,a high bit rate 48/56/64Kbps ITU standard codec))
$(eval $(call Buildasterisk18ModuleTemplate,codec_g726,Signed linear to G.726 translation,translation between signed linear and ITU G.726-32kbps codecs))
$(eval $(call Buildasterisk18ModuleTemplate,func_blacklist,Blacklist on callerid,looking up the callerid number and see if it is blacklisted))
$(eval $(call Buildasterisk18ModuleTemplate,app_originate,Originate a call,originating an outbound call and connecting it to a specified extension or application))
$(eval $(call Buildasterisk18ModuleTemplate,func_uri,URI encoding and decoding,Encodes and decodes URI-safe strings))
+$(eval $(call Buildasterisk18ModuleTemplate,app_disa,Direct Inward System Access,Direct Inward System Access))
+$(eval $(call Buildasterisk18ModuleTemplate,app_senddtmf,Send DTMF digits,Sends arbitrary DTMF digits))
+$(eval $(call Buildasterisk18ModuleTemplate,func_cut,CUT function,CUT function))
+$(eval $(call Buildasterisk18ModuleTemplate,res_clioriginate,Calls via CLI,Originate calls via the CLI))
+$(eval $(call Buildasterisk18ModuleTemplate,app_mixmonitor,Record a call and mix the audio,record a call and mix the audio during the recording))
--- /dev/null
+--- 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>
+ ***/
+
+++ /dev/null
---- a/menuselect-tree
-+++ b/menuselect-tree
-@@ -4,28 +4,28 @@
- <category name="MENUSELECT_ADDONS" displayname="Add-ons (See README-addons.txt)" remove_on_change="addons/modules.link">
- <member name="app_mysql" displayname="Simple Mysql Interface" remove_on_change="addons/app_mysql.o addons/app_mysql.so">
- <depend>mysqlclient</depend>
-- <defaultenabled>no</defaultenabled>
-+ <defaultenabled>yes</defaultenabled>
- </member>
- <member name="app_saycountpl" displayname="Say polish counting words" remove_on_change="addons/app_saycountpl.o addons/app_saycountpl.so">
-- <defaultenabled>no</defaultenabled>
-+ <defaultenabled>yes</defaultenabled>
- </member>
- <member name="cdr_mysql" displayname="MySQL CDR Backend" remove_on_change="addons/cdr_mysql.o addons/cdr_mysql.so">
- <depend>mysqlclient</depend>
-- <defaultenabled>no</defaultenabled>
-+ <defaultenabled>yes</defaultenabled>
- </member>
- <member name="chan_mobile" displayname="Bluetooth Mobile Device Channel Driver" remove_on_change="addons/chan_mobile.o addons/chan_mobile.so">
- <depend>bluetooth</depend>
-- <defaultenabled>no</defaultenabled>
-+ <defaultenabled>yes</defaultenabled>
- </member>
- <member name="chan_ooh323" displayname="Objective Systems H323 Channel" remove_on_change="addons/chan_ooh323.o addons/chan_ooh323.so">
-- <defaultenabled>no</defaultenabled>
-+ <defaultenabled>yes</defaultenabled>
- </member>
- <member name="format_mp3" displayname="MP3 format [Any rate but 8000hz mono is optimal]" remove_on_change="addons/format_mp3.o addons/format_mp3.so">
- <defaultenabled>no</defaultenabled>
- </member>
- <member name="res_config_mysql" displayname="MySQL RealTime Configuration Driver" remove_on_change="addons/res_config_mysql.o addons/res_config_mysql.so">
- <depend>mysqlclient</depend>
-- <defaultenabled>no</defaultenabled>
-+ <defaultenabled>yes</defaultenabled>
- </member>
- </category>
- <category name="MENUSELECT_APPS" displayname="Applications" remove_on_change="apps/modules.link">