support to Asterisk.
endef
+define Package/asterisk18-chan-mobile
+$(call Package/asterisk18/Default)
+ TITLE:=Mobile channel support
+ DEPENDS:= +asterisk18 +bluez-libs
+endef
+
+define Package/asterisk18-chan-mobile/description
+$(call Package/asterisk18/Default/description)
+ This package provides the channel chan_mobile support to Asterisk.
+endef
+
define Package/asterisk18-curl
$(call Package/asterisk18/Default)
TITLE:=CURL support
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/res_jabber.so $(1)/usr/lib/asterisk/modules/
endef
+define Package/asterisk18-chan-mobile/conffiles
+/etc/asterisk/chan_mobile.conf
+endef
+
+define Package/asterisk18-chan-mobile/install
+ $(INSTALL_DIR) $(1)/etc/asterisk
+ $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/asterisk/chan_mobile.conf $(1)/etc/asterisk/
+ $(INSTALL_DIR) $(1)/usr/lib/asterisk/modules
+ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/asterisk/modules/chan_mobile.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-cdr))
$(eval $(call BuildPackage,asterisk18-res-musiconhold))
$(eval $(call BuildPackage,asterisk18-chan-gtalk))
+$(eval $(call BuildPackage,asterisk18-chan-mobile))
$(eval $(call BuildPackage,asterisk18-curl))
$(eval $(call Buildasterisk18ModuleTemplate,app_authenticate,Authenticate,support for executing arbitrary authenticate commands))
$(eval $(call Buildasterisk18ModuleTemplate,app_chanisavail,Channel availability check,support for checking if a channel is available))
---- asterisk-1.8.0/build_tools/menuselect-deps.in.orig 2010-07-27 18:30:38.000000000 -0400
-+++ asterisk-1.8.0/build_tools/menuselect-deps.in 2010-10-26 00:28:45.989447002 -0400
-@@ -14,7 +14,7 @@
+--- a/build_tools/menuselect-deps.in
++++ b/build_tools/menuselect-deps.in
+@@ -14,7 +14,7 @@ GTK2=@PBX_GTK2@
H323=@PBX_H323@
HOARD=@PBX_HOARD@
ICAL=@PBX_ICAL@
--- /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">