Asterisk startet nicht mit mISDN

nprzybilla

Neuer User
Mitglied seit
20 Mai 2006
Beiträge
59
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich habe mISDN sinatlliert und es scheint auch zu laufen, aber Asterisk möchte nicht:

Ich benutze Trixbox (CentOS 4.3 Kernel 2.6.9-34.0.1.EL)

Ich habe mir bei beronet eine HFC Billion gekauft.

Starten scheint zu gehen:

[root@asterisk1 install-misdn-mqueue]# /etc/init.d/misdn-init start
-----------------------------------------
Loading module(s) for your misdn-cards:
-----------------------------------------
modprobe --ignore-install hfcpci protocol=0x2 layermask=0xf
[root@asterisk1 install-misdn-mqueue]#

Meine DMESG Ausgabe:

mISDNStackd daemon for id(10010100) proceed 0 msg 0 clone 1 sleep 0 stopped
mISDNStackd daemon for id(10010100) utime(0) stime(0)
mISDNStackd daemon for id(10010100) nvcsw(1) nivcsw(0)
mISDNStackd daemon for id(10010100) killed now
mISDNStackd daemon for id(10020100) proceed 0 msg 0 clone 1 sleep 0 stopped
mISDNStackd daemon for id(10020100) utime(0) stime(0)
mISDNStackd daemon for id(10020100) nvcsw(1) nivcsw(0)
mISDNStackd daemon for id(10020100) killed now
mISDNStackd daemon for id(00000100) proceed 1 msg 0 clone 2 sleep 0 stopped
mISDNStackd daemon for id(00000100) utime(0) stime(0)
mISDNStackd daemon for id(00000100) nvcsw(2) nivcsw(0)
mISDNStackd daemon for id(00000100) killed now
release_l1 id 100
release_udss1 refcnt 0 l3(db813600) inst(db813690)
free_Application: no garbage
mISDNd: daemon exit now (current:c766c1b0)
mISDNcore unloaded
Modular ISDN Stack core $Revision: 1.35 $
mISDNd: kernel daemon started (current:c89181f0)
ISDN L1 driver version 1.16
ISDN L2 driver version 1.27
mISDN: DSS1 Rev. 1.38
mISDN_dsp: Audio DSP Rev. 1.17 (debug=0x0) EchoCancellor MG2
mISDN_dsp: DSP clocks every 64 samples. This equals 8 jiffies.
mISDN Capi 2.0 driver file version 1.19
mISDNd: test event done
HFC card c7510e40 dch c7510ed0 bch1 c7511044 bch2 c75111b8
mISDN: HFC-PCI driver Rev. 1.45
PCI: Enabling device 0000:04:0a.0 (0000 -> 0003)
ACPI: PCI interrupt 0000:04:0a.0[A] -> GSI 11 (level, low) -> IRQ 11
mISDN: HFC-PCI card manufacturer: CCD/Billion/Asuscom card name: 2BD0
HFC-PCI: defined at mem 0xdca46c00 fifo 0xc2f90000(0x2f90000) IRQ 11 HZ 1000
reset_hfcpci: entered
HFC_PCI: resetting HFC ChipId(30)
HFC-PCI status(4) before reset
HFC-PCI status(2) after reset
HFC-PCI status(4) after 5us
init_card: entered
inithfcpci: entered
layer2: Windowsize 1
l1_manager prim f1482 not handled
mISDNStackd started for id(00000100)
mISDNStackd started for id(10010100)
mISDNStackd started for id(10020100)
HFC PCI: IRQ 11 count 32
HFC card c21cc240 dch c21cc2d0 bch1 c21cc444 bch2 c21cc5b8
mISDN: HFC-PCI driver Rev. 1.45
HFC-PCI: No more PCI cards found
HFC 1 cards installed

LSPCI:

[root@asterisk1 install-misdn-mqueue]# lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:05.0 VGA compatible controller: nVidia Corporation C51G [GeForce 6100] (rev a2)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a2)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a2)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a2)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.2 Multimedia audio controller: nVidia Corporation MCP51 AC97 Audio Controller (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a1)
04:0a.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)

Mein Asterisk LOG:

Jun 12 20:15:33 DEBUG[9837] config.c: Parsing /etc/asterisk/phone.conf
Jun 12 20:15:33 DEBUG[9837] channel.c: Registered handler for 'Phone' (Standard Linux Telephony API Driver)
Jun 12 20:15:33 VERBOSE[9837] logger.c: [chan_misdn.so]Jun 12 20:15:33 VERBOSE[9837] logger.c: [chan_misdn.so] => (Channel driver for mISDN Support (Bri/Pri))
Jun 12 20:15:33 ERROR[9837] chan_misdn.c: Unable to initialize mISDN
Jun 12 20:15:33 WARNING[9837] loader.c: chan_misdn.so: load_module failed, returning -1
Jun 12 20:15:33 VERBOSE[9837] chan_misdn.c: -- Unregistering mISDN Channel Driver --
Jun 12 20:15:33 WARNING[9837] loader.c: Loading module chan_misdn.so failed!

[root@asterisk1 install-misdn-mqueue]# vi /etc/misdn-init.conf
#
# Configuration file for your misdn hardware
#
# Usage: /etc/init.d/misdn-init start|stop|restart|config|scan|help
#

#
# Card Settings
#
# Syntax: card=<number>,<type>[,<option>...]
#
# <number> count your cards beginning with 1
# <type> either 0x1,0x4 or 0x8 for your hfcmulti hardware,
# or the name of your card driver module.
# <option> ulaw - uLaw (instead of aLaw)
# dtmf - enable DTMF detection on all B-channels
# pcm_slave - set PCM bus into slave mode
# ignore_pcm_frameclock - this E1 is NT without PCM frame
# clock
#
#
card=1,hfcpci

#
# Port settings
#
# Syntax: <port_type>=<port_number>[,<port_number>...]
#
# <port_type> te_ptp - TE-Mode, PTP
# te_ptmp - TE-Mode, PTMP
# te_capi_ptp - TE-Mode (capi), PTP
# te_capi_ptmp - TE-Mode (capi), PTMP
# nt_ptp - NT-Mode, PTP
# nt_ptmp - NT-Mode, PTMP
# <port_number> port that should be considered
#
te_ptmp=1

#
# Port Options
#
# Syntax: option=<port_number>,<option>[,<option>...]
#
# <option> master_clock - use master clock for this S/T interface
# (only once per chip, only for HFC 8/4)
# optical - optical (only HFC-E1)
# los - report LOS (only HFC-E1)
# ais - report AIS (only HFC-E1)
# slip - report SLIP (only HFC-E1)
# nocrc4 - turn off crc4 mode use double frame instead
# (only HFC-E1)
#
#option=1,master_clock
#option=2,ais,nocrc4
#option=3,optical,los,ais,slip


#
# General Options for your hfcmulti hardware
#
# poll=<number>
#
# Only one poll value must be given for all cards.
# Give the number of samples for each fifo process.
# By default 128 is used. Decrease to reduce delay, increase to
# reduce cpu load. If unsure, don't mess with it!!!
# Valid is 32, 64, 128, 256.
#
# pcm=<number>
#
# Give the id of the PCM bus. All PCM busses with the same ID
# are expected to be connected and have equal slots.
# Only one chip of the PCM bus must be master, the others slave.
#
# debug=<number>
#
# Enable debugging (see hfc_multi.h for debug options).
#
# dsp_options=<number>
#
# set this to 2 and you'll have software bridging instead of
# hardware bridging.
#
poll=128
#pcm=1,1
dsp_options=0
debug=0


[root@asterisk1 install-misdn-mqueue]# vi /etc/asterisk/misdn.conf
;



;
; chan_misdn sample config
;

; general section:
;
; for debugging and general setup, things that are not bound to port groups
;

[general]
;
; Sets the Path to the misdn-init.conf (for nt_ptp mode checking)
;
misdn_init=/etc/misdn-init.conf

; set debugging flag:
; 0 - No Debug
; 1 - mISDN Messages and * - Messages, and * - State changes
; 2 - Messages + Message specific Informations (e.g. bearer capability)
; 3 - very Verbose, the above + lots of Driver specific infos
; 4 - even more Verbose than 3
;
; default value: 0
;
debug=3


; the big trace
;
; default value: [not set]
;
tracefile=/var/log/asterisk/misdn.log

; set to yes if you want mISDN_dsp to bridge the calls in HW
;
; default value: yes
;
bridging=no

; stops dialtone after getting first digit on nt Port
;
; default value: yes
;
stop_tone_after_first_digit=yes

; wether to append overlapdialed Digits to Extension or not
;
; default value: yes
;
append_digits2exten=yes

;;; CRYPTION STUFF

; Wether to look for dynamic crypting attempt
;
; default value: no
;
dynamic_crypt=no

; crypt_prefix, what is used for crypting Protocol


Wo könnte ich nun noch suchen, was los ist und warum es nicht geht ?

Vielen Dank und viele Grüße

Niels
 
Hallo Niels,

ich habe hier einige Zeit lang erfolgreich mit einem aktuelleren GCC einen ähnlichen Kernel wie Du laufen gehabt - 2.6.8 .

Jedoch gilt :

Kernel 2.6.9-34.0.1.EL

ab Kernel 2.6.14 ist mISDN zZt nachweislich lauffähig - ich würde Dir zum 2.6.15 raten, den kann ich hier problemlos empfehlen.

Falls Du nicht updaten willst und bereit bist zu experimentieren, so update mal Deinen GCC - bei mir lief mISDN mit gewissen Einschränkungen - und natürlich dem Verzicht auf Support - sauber.

Meld Dich mal !

Grüsse, Stefan
 
Hallo,

ich habe GCC 3.4.5

Auf welche version sollte ich denn updaten ?

Zum kernel kompilieren habe ich leider keine Ahnung wie sich dann mein Trixbox (ehem. Asterisk@home) verhält ...

Beste Grüße

Niels
 
Schlag mich - denn ich wusste nichts mit TrixBox anzufangen und habs als "Zusatz zu CentOS" (o.ä.) hingenommen :-Ö

Nun stellen sich natürlich einige Fragen die ich nachher stelle..

zu GCC :

aus meinem HOWTO zur Installation von 0.3.0 auf einem ausdrücklich nicht supporteten Kernel !
Benötigte Versionen : GCC in 3.4.6

zum Kernel und "Trix" :

es sieht so aus - mISDN ist lt. eigener Doku und der Aussage des hier ansässigen Programmierers (crich) nicht supported und vorallem nicht stabil unter Kernel 2.6.14 (besser 2.6.15) - so siehts aus.

Zum kernel kompilieren habe ich leider keine Ahnung wie sich dann mein Trixbox (ehem. Asterisk@home) verhält ...

Ich würde auch die Frage stellen - wie verpackt Trix eigentlich mISDN ?!
Auf der Trixbox.org habe ich keinerlei Rede von mISDN in Zusammenarbeit mit TrixBox gelesen - von daher.....

Grüsse, Stefan
 
Hallo,

ich habe mISDN einfach mit dem Script auf der beronet Seite installiert ... Also nichts internes von Trix oder so.
Es gab keine Fehler oder ähnliches beim installieren (war bei dem "alten A@H") schwieriger.

Natürlich müßte man mihc schlagen weil ich trixbox benutze und nicht Debian, wie jeder gute Tuxer. Bin halt aber sehr an RH Linux gewöhnt.

Also werde ich mir wohl mal den kernel-spaß machen ...

Beste Grüße

Niels
 
Hi,

habe es hin bekommen.

habe den kernel und GCC upgedated. jetzt läuft alles.

Nur mußte ich noch folgendes in der Modules.conf machen:

noload => app_directed_pickup.so

Es gab wohl schon eine Pickup Applikation.

Kann mir jemand sagen warum ?

Beste Grüße

Niels
 
Ja. Bei Centos/Trixbox
 
Trixbox Kernel updaten

Hallo

kannst du eine Anleitung für den Kernel updaten hier schreiben
 
Selbst ist der Mann ;)
 

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.