chan_bluetooth einrichten

MarcB.

Neuer User
Mitglied seit
14 Jun 2005
Beiträge
20
Punkte für Reaktionen
0
Punkte
0
Hallo Forum,

bin relativ neu mit dem *. Läuft auch alles soweit recht gut.

Wollte jetzt mal das chan_bluetooth einrichten um mal mein * + Handy "vertraut" machen. Und dann per ISDN und * über mein Handy telfonieren.

Nur lüppt das noch nicht... Muss dazu sagen bin auch nicht der Linux-Crack...

Also ich habe den ganzen BlueZ kram per apt-get installiert (Debian Sarge 2.4.27)

Handy wird auch gefunden. Ist auch schon gekoppelt...

Nur habe ich so meine schwierigkeiten mit dem kompelieren des Moduls...

Habe wie in der Anleitung in das Makefile von * folgendes eingefügt:
CHANNEL_LIBS=chan_bluetooth.so chan_modem.so chan_sip.so \
chan_modem_aopen.so \
chan_modem_bestdata.so chan_modem_i4l.so \
chan_agent.so chan_mgcp.so chan_iax2.so \
chan_local.so chan_skinny.so

Sowie include /path/to/chan_bluetooth_dir/Makefile (Pfad angepasst)

Habe * per make clean und make install neu gemacht...

Nur irgendwie hat er das schlechtweg ignoriert. Es ist kein Modul was chan_bluetooth.o oder ähnlich heißt unter /lib/modules/2.4.27-2-k6/misc zu finden...

Auch unter * >CLI> Help ist kein bluetooth zu sehen...

Was habe ich da jetzt beim "Reinschustern" falsch gemacht...???

Anbei noch ein teil von meinem * Makefile...

CODE
--------------------------------------------------------------------
#
# Asterisk -- A telephony toolkit for Linux.
#
# Top level Makefile
#
# Copyright (C) 1999, Mark Spencer
#
# Mark Spencer <[email protected]>
#
# This program is free software, distributed under the terms of
# the GNU General Public License
#

.EXPORT_ALL_VARIABLES:

# Create OPTIONS variable
OPTIONS=

OSARCH=$(shell uname -s)

ifeq (${OSARCH},Linux)
PROC=$(shell uname -m)
ifeq ($(PROC),x86_64)
# You must have GCC 3.4 to use k8, otherwise use athlon
PROC=k8
#PROC=athlon
OPTIONS+=-m64
endif
ifeq ($(PROC),sparc64)
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
#This works for even old (2.96) versions of gcc and provides a small boost either way.
#A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn't support it.
#So we go lowest common available by gcc and go a step down, still a step up from
#the default as we now have a better instruction set to work with. - Belgarath
PROC=ultrasparc
OPTIONS+=$(shell if $(CC) -mtune=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-mtune=$(PROC)"; fi)
OPTIONS+=$(shell if $(CC) -mcpu=v8 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-mcpu=v8"; fi)
OPTIONS+=-fomit-frame-pointer
endif

CHANNEL_LIBS=chan_bluetooth.so chan_modem.so chan_sip.so \
chan_modem_aopen.so \
chan_modem_bestdata.so chan_modem_i4l.so \
chan_agent.so chan_mgcp.so chan_iax2.so \
chan_local.so chan_skinny.so

include /usr/src/chan_bluetooth/Makefile



MPG123TARG=linux
endif

ifeq ($(findstring BSD,${OSARCH}),BSD)
PROC=$(shell uname -m)
endif

# Pentium Pro Optimize
#PROC=i686

# Pentium & VIA processors optimize
#PROC=i586

#PROC=k6
#PROC=ppc

PWD=$(shell pwd)

######### More GSM codec optimization
######### Uncomment to enable MMXTM optimizations for x86 architecture CPU's
######### which support MMX instructions. This should be newer pentiums,
######### ppro's, etc, as well as the AMD K6 and K7.
#K6OPT = -DK6OPT
---------------------------------------------------------------------------

Das habe ich wohl falsch eingefügt...?

Nur wo soll das hin.... Wenn ich das richtig verstanden habe sollte das doch recht weit an den Anfang nur wo...?

Danke schon mal für eure Hilfe...

Mfg

Marc
 
Du hast das falsche Makefile editiert. Das Makefile im channels Ordner muss bearbeitet werden.

- Edit channels/Makefile in the asterisk source distribution, and:
(1) add chan_bluetooth.so to the variable CHANNEL_LIBS, so you
have something like this:
 
Ja danke für den Hinweis...

Werde ich am Montagabend dann mal gleich ausprobieren...

Da bewahrheitet sich wieder der Spruch "Wer lesen kann liegt klar im Vorteil..."

Das war dann wohl zu spät für mich...
 
Funktioniert das wirklich ? Würde mich auch brennend interessieren.

Gruss,


Jörg
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.