Miguel,

Over on the [Astlinux-devel] list this was recently discussed.  We made some 
progress by adding the bluez_utils package to our Buildroot and chan_mobile is 
compiled and created in Asterisk, but it was clear that a *lot* of additional 
configurations were necessary for the whole bluetooth eco-system to be happy.

The summary from the [Astlinux-devel] list "chan_mobile support" is included 
below.

Lonnie

========================
Hi list,

Following up on Bill's request for chan_mobile in AstLinux and for 
documentation purposes...

Bill and I were able to get packages bluez_utils, dbus and libglib2 
cross-compiled and Asterisk properly builds the chan_mobile.so module.  The 
required changes are:

--- package/asterisk/asterisk.mk        (revision 6070)
+++ package/asterisk/asterisk.mk        (working copy)
@@ -203,7 +203,7 @@

        touch $@

-$(ASTERISK_DIR)/.configured: $(ASTERISK_DIR)/.patched | libelf ncurses zlib \
+$(ASTERISK_DIR)/.configured: $(ASTERISK_DIR)/.patched | libelf ncurses zlib 
bluez_utils \
                                openssl libtool $(ASTERISK_EXTRAS)
        (cd $(ASTERISK_DIR); rm -rf config.cache configure; \
                ./bootstrap.sh; \
@@ -254,6 +254,9 @@
                menuselect/menuselect --enable app_meetme --enable app_page 
menuselect.makeopts; \
        )
endif
+       (cd $(ASTERISK_DIR); \
+               menuselect/menuselect --enable chan_mobile menuselect.makeopts; 
\
+       )
endif
        touch $@

--

The resulting changes from the default astlinux18.conf are:
--
@@ -328,7 +328,10 @@
BR2_PACKAGE_BFDETECT=y
# BR2_PACKAGE_CDRKIT is not set
# BR2_PACKAGE_CRAMFS is not set
-# BR2_PACKAGE_DBUS is not set
+BR2_PACKAGE_DBUS=y
+BR2_DBUS_EXPAT=y
+# BR2_DBUS_LIBXML2 is not set
+# BR2_PACKAGE_DBUS_GLIB is not set
# BR2_PACKAGE_DMRAID is not set
BR2_PACKAGE_DOSFSTOOLS=y
BR2_PACKAGE_DOSFSTOOLS_MKDOSFS=y
@@ -608,7 +611,7 @@
# BR2_PACKAGE_LIBEVENT is not set
# BR2_PACKAGE_LIBFB is not set
# BR2_PACKAGE_LIBFFI is not set
-# BR2_PACKAGE_LIBGLIB2 is not set
+BR2_PACKAGE_LIBGLIB2=y
BR2_PACKAGE_LIBICAL=y
# BR2_PACKAGE_LIBNSPR is not set
# BR2_PACKAGE_LIBSIGC is not set
@@ -659,6 +662,10 @@
BR2_PACKAGE_ARNOFW=y
# BR2_PACKAGE_AVAHI is not set
# BR2_PACKAGE_AXEL is not set
+BR2_PACKAGE_BLUEZ_UTILS=y
+BR2_PACKAGE_BLUEZ_UTILS_COMPAT=y
+# BR2_PACKAGE_BLUEZ_UTILS_AUDIO is not set
+BR2_PACKAGE_BLUEZ_UTILS_USB=y
# BR2_PACKAGE_BIND is not set
# BR2_PACKAGE_BMON is not set
BR2_PACKAGE_BRIDGE=y
--
Which all seems to work as expected.

Our kernel contains the required bluetooth modules.

Unfortunately, there is much more to do in regards to configuration.  It seems 
a /etc/init.d/ is required for both dbus and bluez_utils along with .conf files.

An example of the work still required is shown here by the OpenWRT folks:
https://dev.openwrt.org/browser/packages/utils/bluez-utils

If someone want to play with this more, feel free.

Lonnie


On May 27, 2013, at 11:13 AM, Miguel Angel wrote:

> Is posible put compiled chan-mobile, bluez on astlinux 1.1.1?
> Where I can download and them how to put on astlinux 1.1.1?
> I want to put a dongle bluetooth in astlinux to connect thp iphone via  
> bluetooth.


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to