mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-01 20:55:19 +02:00
add chan_bluetooth
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1727 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
c220651dd3
commit
b85c041bce
@ -228,7 +228,7 @@ vtun-compile: zlib-compile openssl-compile lzo-compile
|
||||
wificonf-compile: wireless-tools-compile nvram-compile
|
||||
wpa_supplicant-compile: openssl-compile
|
||||
|
||||
asterisk-compile: ncurses-compile openssl-compile
|
||||
asterisk-compile: bluez-libs-compile ncurses-compile openssl-compile
|
||||
ifneq ($(BR2_PACKAGE_ASTERISK_CODEC_SPEEX),)
|
||||
asterisk-compile: speex-compile
|
||||
endif
|
||||
|
@ -13,6 +13,15 @@ config BR2_PACKAGE_ASTERISK
|
||||
http://www.asterisk.org/
|
||||
|
||||
|
||||
config BR2_PACKAGE_ASTERISK_CHAN_BLUETOOTH
|
||||
prompt "...-chan-bluetooth - Bluetooth HandsFreeProfile support for Asterisk"
|
||||
tristate
|
||||
default m if CONFIG_DEVEL
|
||||
depends BR2_PACKAGE_ASTERISK
|
||||
select BR2_PACKAGE_BLUEZ_LIBS
|
||||
help
|
||||
The Bluetooth HandsFreeProfile support for Asterisk
|
||||
|
||||
config BR2_PACKAGE_ASTERISK_CODEC_ILBC
|
||||
prompt "...-codec-ilbc - Internet Low Bitrate Codec (ILBC) Translator"
|
||||
tristate
|
||||
|
@ -19,6 +19,7 @@ $(eval $(call PKG_template,ASTERISK_PGSQL,asterisk-pgsql,$(PKG_VERSION)-$(PKG_RE
|
||||
$(eval $(call PKG_template,ASTERISK_VOICEMAIL,asterisk-voicemail,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,ASTERISK_SOUNDS,asterisk-sounds,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,ASTERISK_CODEC_ILBC,asterisk-codec-ilbc,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,ASTERISK_CHAN_BLUETOOTH,asterisk-chan-bluetooth,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,ASTERISK_CODEC_LPC10,asterisk-codec-lpc10,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,ASTERISK_CODEC_SPEEX,asterisk-codec-speex,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
$(eval $(call PKG_template,ASTERISK_PBX_DUNDI,asterisk-pbx-dundi,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
|
||||
@ -85,12 +86,14 @@ $(IPKG_ASTERISK):
|
||||
*musiconhold* *zapateller* *jpeg*; \
|
||||
rm -f {codec,format}_ilbc.so ; \
|
||||
rm -f codec_lpc10.so ; \
|
||||
rm -f chan_bluetooth.so ; \
|
||||
rm -f pbx_dundi.so ; \
|
||||
)
|
||||
(cd $(IDIR_ASTERISK)/etc/asterisk; \
|
||||
rm -f *odbc* *mysql* *postgres* *pgsql* *voicemail* *adsi* *oss* *alsa* \
|
||||
*festival* *modem* *meetme* *phone* *tds* *vofr* *rpt* *vpb* \
|
||||
*zapata* *musiconhold*; \
|
||||
rm -f bluetooth.conf ; \
|
||||
rm -f dundi.conf ; \
|
||||
)
|
||||
install -d -m0755 $(IDIR_ASTERISK)/etc/default
|
||||
@ -134,6 +137,14 @@ $(IPKG_ASTERISK_VOICEMAIL):
|
||||
$(RSTRIP) $(IDIR_ASTERISK_VOICEMAIL)
|
||||
$(IPKG_BUILD) $(IDIR_ASTERISK_VOICEMAIL) $(PACKAGE_DIR)
|
||||
|
||||
$(IPKG_ASTERISK_CHAN_BLUETOOTH):
|
||||
install -d -m0755 $(IDIR_ASTERISK_CHAN_BLUETOOTH)/etc/asterisk
|
||||
install -m0644 $(PKG_BUILD_DIR)/configs/bluetooth.conf $(IDIR_ASTERISK_CHAN_BLUETOOTH)/etc/asterisk/bluetooth.conf
|
||||
install -d -m0755 $(IDIR_ASTERISK_CHAN_BLUETOOTH)/usr/lib/asterisk/modules
|
||||
install -m0755 $(PKG_BUILD_DIR)/channels/chan_bluetooth.so $(IDIR_ASTERISK_CHAN_BLUETOOTH)/usr/lib/asterisk/modules/
|
||||
$(RSTRIP) $(IDIR_ASTERISK_CHAN_BLUETOOTH)
|
||||
$(IPKG_BUILD) $(IDIR_ASTERISK_CHAN_BLUETOOTH) $(PACKAGE_DIR)
|
||||
|
||||
$(IPKG_ASTERISK_CODEC_ILBC):
|
||||
install -d -m0755 $(IDIR_ASTERISK_CODEC_ILBC)/usr/lib/asterisk/modules
|
||||
install -m0755 $(PKG_BUILD_DIR)/codecs/codec_ilbc.so $(IDIR_ASTERISK_CODEC_ILBC)/usr/lib/asterisk/modules/
|
||||
|
@ -0,0 +1 @@
|
||||
/etc/asterisk/bluetooth.conf
|
@ -0,0 +1,7 @@
|
||||
Package: asterisk-chan-bluetooth
|
||||
Priority: optional
|
||||
Section: net
|
||||
Maintainer: OpenWrt Developers Team <bugs@openwrt.org>
|
||||
Source: http://openwrt.org/cgi-bin/viewcvs.cgi/openwrt/package/asterisk/
|
||||
Description: Bluetooth HandsFreeProfile support for Asterisk
|
||||
Depends: asterisk, bluez-libs
|
3194
openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch
Normal file
3194
openwrt/package/asterisk/patches/asterisk-1.0.9-chan_bluetooth.patch
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user