Asterisk & ISDN Installation

sleepi

Neuer User
Mitglied seit
30 Dez 2004
Beiträge
13
Punkte für Reaktionen
0
Punkte
0
Hi Leute,

ich habe da ein kleines Problem.
Ich habe Asterisk soweit wie die Deutsche Anleitung es vorgibt installiert. Gespräche untereinander funktionieren auch.
Nun habe ich eine AVM Fritz 2.0 noch in meinem Rechner installiert und dazu den chan capi 0.3.5 mit make, make install und make config installiert, dies ging auch ohne Fehler meldung.
Ich möchte nun asterisk wieder starten und dannn kommt folgende meldung beim start:

/usr/lib/asterisk/modules/chan_modem_i4l.so: undefined symbol: ast_unregister_modem_driver
Mar 22 17:16:20 WARNING[3005]: loader.c:440 load_modules: Loading module chan_modem_i4l.so failed!

und der start wird somit abgebrochen.

Könnte mir jemand bitte einen hinweisgeben, wo mein Fehler liegt.

Gruß

Bastian
 
Da bisher mir keiner weiterhelfen konnte, habe ich nochmals das System neu aufgesetzt. Und bin beim kompilieren von chan capi auf was gestoßen:


gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o chan_capi.o chan_capi.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from chan_capi.c:35:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o chan_capi.so chan_capi.o -lcapi20
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiCD.o app_capiCD.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from app_capiCD.c:28:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiCD.so app_capiCD.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiHOLD.o app_capiHOLD.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from app_capiHOLD.c:28:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiHOLD.so app_capiHOLD.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiRETRIEVE.o app_capiRETRIEVE.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from app_capiRETRIEVE.c:28:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiRETRIEVE.so app_capiRETRIEVE.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiECT.o app_capiECT.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from app_capiECT.c:29:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiECT.so app_capiECT.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiMCID.o app_capiMCID.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from app_capiMCID.c:28:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiMCID.so app_capiMCID.o
gcc -pipe -Wall -Wmissing-prototypes -Wmissing-declarations -g -I/usr/include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686 -DCAPI_ES -DCAPI_GAIN -DCAPI_SYNC -DUNSTABLE_CVS -Wno-missing-prototypes -Wno-missing-declarations -DCRYPTO -c -o app_capiNoES.o app_capiNoES.c
In file included from /usr/include/linux/kernelcapi.h:13,
from /usr/include/linux/capi.h:18,
from app_capiNoES.c:28:
/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"
gcc -shared -Xlinker -x -o app_capiNoES.so app_capiNoES.o
for x in chan_capi.so app_capiCD.so app_capiHOLD.so app_capiRETRIEVE.so app_capiECT.so app_capiMCID.so app_capiNoES.so; do install -m 755 $x /usr/lib/asterisk/modules ; done
rm app_capiRETRIEVE.o app_capiNoES.o app_capiCD.o app_capiMCID.o app_capiECT.o app_capiHOLD.o

Da ich nicht viel Ahnnung habe von Linux, frage ich mich, was diese Meldung zusagen hat:

/usr/include/linux/list.h:604:2: warning: #warning "don't include kernel headers in userspace"

Kann mir da jemand weiterhelfen?
 
Das habe ich auch und kann man ignorieren ;)

Also die I4L Fehlermeldung hatte ich auch ... ...

ich habe alle 4 i4l Module aus dem /usr/lib/asterisk/modules nach /usr/lib/asterisk kopiert. so dass Asterisk sie nicht laden kann... dann lädt er auch hoch wenn die das chan_capi ordentlich in der modules.conf eingebunden ist ;)

Ronny
 
Hallo,

versuch mal:

in /etc/asterisk/modules.conf insert the line:
load => chan_capi.so

and in the [global] section:
chan_capi.so=yes

Bei mir funktioniert jetzt alles.

Sander Jongkind
 
Ohh man, ich habe meinen Fehler gefunden, schon blöd wenn man sich verschreibt und dann 4 Stunden den Fehler nicht findet :oops:
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,695
Beiträge
2,216,692
Mitglieder
371,315
Neuestes Mitglied
jack-mack
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.