chan_misdn compiliert nicht

Bartsi

Neuer User
Mitglied seit
24 Okt 2005
Beiträge
74
Punkte für Reaktionen
0
Punkte
0
Moin moin,

nun nach mehr als einem halben Jahr versuche ich mal wieder meine kleine Telefonanlage zum laufen zu bewegen. Nun hab ich folgendes Problem:

Debian Kernel 2.6.14
Asterisk SVN-trunk-r47822
Aktuelle install-misdn-mqueue

beim Installieren von chan_misdn bekomme ich nur folgendes:
Code:
cc -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declarations -fomit-frame-pointer -D_REENTRANT -fPIC -Imisdn -Wall -DCHAN_MISDN_VERSION=\"0.3.1-rc26\" -c chan_misdn.c
chan_misdn.c: In function 'misdn_send_display':
chan_misdn.c:1008: warning: pointer targets in passing argument 1 of 'ast_copy_string' differ in signedness
chan_misdn.c: At top level:
chan_misdn.c:1072: warning: initialization from incompatible pointer type
chan_misdn.c:1082: warning: initialization from incompatible pointer type
chan_misdn.c:1090: warning: initialization from incompatible pointer type
chan_misdn.c:1100: warning: initialization from incompatible pointer type
chan_misdn.c:1136: warning: initialization from incompatible pointer type
chan_misdn.c:1196: warning: initialization from incompatible pointer type
chan_misdn.c: In function 'read_config':
chan_misdn.c:1407: warning: passing argument 1 of 'ast_copy_string' discards qua
chan_misdn.c:1412: warning: passing argument 1 of 'ast_copy_string' discards qua
chan_misdn.c:1487: warning: pointer targets in passing argument 1 of 'strncpy' d
chan_misdn.c:1523: warning: pointer targets in passing argument 1 of 'strlen' di
chan_misdn.c:1526: warning: pointer targets in passing argument 2 of 'strcat' di
chan_misdn.c:1527: warning: pointer targets in passing argument 1 of 'strcpy' di
chan_misdn.c:1530: warning: pointer targets in passing argument 1 of 'ast_strlen
chan_misdn.c:1531: warning: pointer targets in passing argument 1 of 'ast_copy_s
chan_misdn.c:1531: warning: pointer targets in passing argument 2 of 'ast_copy_s
chan_misdn.c:1534: warning: pointer targets in passing argument 1 of 'ast_strlen
chan_misdn.c:1534: warning: pointer targets in passing argument 1 of 'ast_strlen
chan_misdn.c:1535: warning: pointer targets in passing argument 1 of 'ast_copy_s
chan_misdn.c:1535: warning: pointer targets in passing argument 2 of 'ast_copy_s
chan_misdn.c:1552: warning: pointer targets in passing argument 1 of 'strlen' di
chan_misdn.c:1555: warning: pointer targets in passing argument 2 of 'strcat' di
chan_misdn.c:1556: warning: pointer targets in passing argument 1 of 'strcpy' di
chan_misdn.c:1559: warning: pointer targets in passing argument 1 of 'strcmp' di
chan_misdn.c:1560: warning: pointer targets in passing argument 2 of 'ast_copy_s
chan_misdn.c:1563: warning: pointer targets in passing argument 2 of 'ast_set_ca
chan_misdn.c:1563: warning: pointer targets in passing argument 4 of 'ast_set_ca
chan_misdn.c:1565: warning: pointer targets in passing argument 1 of 'ast_strlen
chan_misdn.c:1566: warning: pointer targets in passing argument 1 of 'strdup' di
chan_misdn.c: In function 'misdn_call':
chan_misdn.c:1633: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
chan_misdn.c:1643: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
chan_misdn.c:1648: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:1652: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
chan_misdn.c: In function 'misdn_answer':
chan_misdn.c:1757: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:1759: warning: pointer targets in passing argument 1 of 'ast_copy_string' differ in signedness
chan_misdn.c:1759: warning: pointer targets in passing argument 2 of 'ast_copy_string' differ in signedness
chan_misdn.c: In function 'misdn_digit':
chan_misdn.c:1791: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness
chan_misdn.c:1802: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
chan_misdn.c:1802: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness
chan_misdn.c:1802: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness
chan_misdn.c:1807: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
chan_misdn.c: In function 'misdn_send_text':
chan_misdn.c:2655: warning: pointer targets in passing argument 1 of 'ast_copy_string' differ in signedness
chan_misdn.c: At top level:
chan_misdn.c:2670: error: unknown field 'send_digit' specified in initializer
chan_misdn.c:2670: warning: initialization from incompatible pointer type
chan_misdn.c:2677: warning: initialization from incompatible pointer type
chan_misdn.c:2688: error: unknown field 'send_digit' specified in initializer
chan_misdn.c:2688: warning: initialization from incompatible pointer type
chan_misdn.c:2694: warning: initialization from incompatible pointer type
chan_misdn.c: In function 'misdn_new':
chan_misdn.c:2707: error: too few arguments to function 'ast_channel_alloc'
chan_misdn.c:2716: warning: passing argument 1 of 'snprintf' discards qualifiers from pointer target type
chan_misdn.c:2719: warning: passing argument 1 of 'snprintf' discards qualifiers from pointer target type
chan_misdn.c:2722: error: 'struct ast_channel' has no member named 'type'
chan_misdn.c: In function 'import_ch':
chan_misdn.c:3177: warning: assignment discards qualifiers from pointer target type
chan_misdn.c: In function 'cb_events':
chan_misdn.c:3337: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:3337: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:3339: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness
chan_misdn.c:3339: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness
chan_misdn.c:3344: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness
chan_misdn.c:3344: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness
chan_misdn.c:3351: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
chan_misdn.c:3372: warning: pointer targets in passing argument 3 of 'ast_canmatch_extension' differ in signedness
chan_misdn.c:3372: warning: pointer targets in passing argument 5 of 'ast_canmatch_extension' differ in signedness
chan_misdn.c:3384: warning: pointer targets in passing argument 3 of 'ast_exists_extension' differ in signedness
chan_misdn.c:3384: warning: pointer targets in passing argument 5 of 'ast_exists_extension' differ in signedness
chan_misdn.c:3418: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness
chan_misdn.c:3418: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness
chan_misdn.c:3421: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
chan_misdn.c:3448: warning: pointer targets in passing argument 2 of 'misdn_cfg_is_msn_valid' differ in signedness
chan_misdn.c:3475: warning: pointer targets in passing argument 3 of 'misdn_new' differ in signedness
chan_misdn.c:3475: warning: pointer targets in passing argument 4 of 'misdn_new' differ in signedness
chan_misdn.c:3584: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:3592: warning: pointer targets in passing argument 3 of 'ast_canmatch_extension' differ in signedness
chan_misdn.c:3592: warning: pointer targets in passing argument 5 of 'ast_canmatch_extension' differ in signedness
chan_misdn.c:3609: warning: pointer targets in passing argument 3 of 'ast_exists_extension' differ in signedness
chan_misdn.c:3609: warning: pointer targets in passing argument 5 of 'ast_exists_extension' differ in signedness
chan_misdn.c:3659: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:3674: warning: pointer targets in passing argument 1 of 'ast_strlen_zero' differ in signedness
chan_misdn.c:3679: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
chan_misdn.c:3679: warning: pointer targets in passing argument 1 of 'strncat' differ in signedness
chan_misdn.c:3679: warning: pointer targets in passing argument 2 of 'strncat' differ in signedness
chan_misdn.c:3684: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
chan_misdn.c:3689: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
chan_misdn.c:3689: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness
chan_misdn.c:3692: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness
chan_misdn.c:3764: warning: pointer targets in passing argument 1 of 'ast_copy_string' differ in signedness
chan_misdn.c:3764: warning: pointer targets in passing argument 2 of 'ast_copy_string' differ in signedness
chan_misdn.c:4044: error: too few arguments to function 'ast_moh_start'
chan_misdn.c: In function 'load_module':
chan_misdn.c:4173: warning: implicit declaration of function 'unload_module'
chan_misdn.c: In function 'misdn_set_opt_exec':
chan_misdn.c:4388: warning: pointer targets in passing argument 1 of 'ast_copy_string' differ in signedness
make: *** [chan_misdn.o] Fehler 1

Hab schon verschiedene Versionen ausprobiert und kein erfolg.

Wäre schön wenn jemand evtl. einen Tipp hätte.

Vielen Dank
und Gruß aus dem kalten Norden
Bartsi
 
Kann das Problem nachvollziehen. Es liegt wohl daran, dass in der neuesten Version von Asterisk einige Variablen umbenannt, bzw verschwunden sind. Mit Asterisk-1.2 geht es aber ohne Probleme.
 
Ich (noch 0 Day Asterisk User) habe genau das gleiche Problem habe mir das Aktuelle Asterisk 1.4 0-beta 3 und das aktuelle chan_misdn-0.4.0-rc5
heruntergeladen. compaillieren geht nicht folgende Fehler:

make
cc -g -ggdb -Wall -D_GNU_SOURCE -Wno-missing-prototypes -Wno-missing-declarations -fomit-frame-pointer -D_REENTRANT -fPIC -Imisdn -Wall -DCHAN_MISDN_VERSION=\"0.4.0-rc5\" -c chan_misdn.c
chan_misdn.c: In function ‘misdn_overlap_dial_task’:
chan_misdn.c:563: warning: pointer targets in passing argument 3 of ‘ast_exists_extension’ differ in signedness
chan_misdn.c:563: warning: pointer targets in passing argument 5 of ‘ast_exists_extension’ differ in signedness
chan_misdn.c: In function ‘misdn_send_display’:
chan_misdn.c:1221: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
chan_misdn.c: At top level:
chan_misdn.c:1329: warning: initialization from incompatible pointer type
chan_misdn.c:1339: warning: initialization from incompatible pointer type
chan_misdn.c:1347: warning: initialization from incompatible pointer type
chan_misdn.c:1357: warning: initialization from incompatible pointer type
chan_misdn.c:1366: warning: initialization from incompatible pointer type
chan_misdn.c:1395: warning: initialization from incompatible pointer type
chan_misdn.c:1463: warning: initialization from incompatible pointer type
chan_misdn.c: In function ‘read_config’:
chan_misdn.c:1695: warning: passing argument 1 of ‘ast_copy_string’ discards qualifiers from pointer target type
chan_misdn.c:1700: warning: passing argument 1 of ‘ast_copy_string’ discards qualifiers from pointer target type
chan_misdn.c:1783: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
chan_misdn.c:1824: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
chan_misdn.c:1827: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness
chan_misdn.c:1828: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
chan_misdn.c:1831: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:1832: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:1832: warning: pointer targets in passing argument 2 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:1835: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:1835: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:1836: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:1836: warning: pointer targets in passing argument 2 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:1853: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
chan_misdn.c:1856: warning: pointer targets in passing argument 2 of ‘strcat’ differ in signedness
chan_misdn.c:1857: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
chan_misdn.c:1860: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
chan_misdn.c:1861: warning: pointer targets in passing argument 2 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:1864: warning: pointer targets in passing argument 2 of ‘ast_set_callerid’ differ in signedness
chan_misdn.c:1864: warning: pointer targets in passing argument 4 of ‘ast_set_callerid’ differ in signedness
chan_misdn.c:1866: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:1867: warning: pointer targets in passing argument 1 of ‘strdup’ differ in signedness
chan_misdn.c: In function ‘misdn_call’:
chan_misdn.c:1948: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
chan_misdn.c:1966: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
chan_misdn.c:1971: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:1975: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
chan_misdn.c: In function ‘misdn_answer’:
chan_misdn.c:2080: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:2082: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:2082: warning: pointer targets in passing argument 2 of ‘ast_copy_string’ differ in signedness
chan_misdn.c: In function ‘misdn_digit’:
chan_misdn.c:2114: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness
chan_misdn.c:2125: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
chan_misdn.c:2125: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness
chan_misdn.c:2125: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness
chan_misdn.c:2130: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
chan_misdn.c: In function ‘misdn_send_text’:
chan_misdn.c:2983: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
chan_misdn.c: At top level:
chan_misdn.c:2998: error: unknown field ‘send_digit’ specified in initializer
chan_misdn.c:2998: warning: initialization from incompatible pointer type
chan_misdn.c:3005: warning: initialization from incompatible pointer type
chan_misdn.c:3016: error: unknown field ‘send_digit’ specified in initializer
chan_misdn.c:3016: warning: initialization from incompatible pointer type
chan_misdn.c:3022: warning: initialization from incompatible pointer type
chan_misdn.c: In function ‘update_name’:
chan_misdn.c:3042: warning: passing argument 1 of ‘snprintf’ discards qualifiers from pointer target type
chan_misdn.c: In function ‘misdn_new’:
chan_misdn.c:3059: error: ‘struct ast_channel’ has no member named ‘type’
chan_misdn.c: In function ‘import_ch’:
chan_misdn.c:3532: warning: assignment discards qualifiers from pointer target type
chan_misdn.c: In function ‘cb_events’:
chan_misdn.c:3732: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness
chan_misdn.c:3732: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness
chan_misdn.c:3739: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
chan_misdn.c:3760: warning: pointer targets in passing argument 3 of ‘ast_canmatch_extension’ differ in signedness
chan_misdn.c:3760: warning: pointer targets in passing argument 5 of ‘ast_canmatch_extension’ differ in signedness
chan_misdn.c:3784: warning: pointer targets in passing argument 3 of ‘ast_exists_extension’ differ in signedness
chan_misdn.c:3784: warning: pointer targets in passing argument 5 of ‘ast_exists_extension’ differ in signedness
chan_misdn.c:3817: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness
chan_misdn.c:3817: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness
chan_misdn.c:3820: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
chan_misdn.c:3841: warning: pointer targets in passing argument 2 of ‘misdn_cfg_is_msn_valid’ differ in signedness
chan_misdn.c:3862: warning: pointer targets in passing argument 3 of ‘misdn_new’ differ in signedness
chan_misdn.c:3862: warning: pointer targets in passing argument 4 of ‘misdn_new’ differ in signedness
chan_misdn.c:3977: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:3985: warning: pointer targets in passing argument 3 of ‘ast_canmatch_extension’ differ in signedness
chan_misdn.c:3985: warning: pointer targets in passing argument 5 of ‘ast_canmatch_extension’ differ in signedness
chan_misdn.c:4002: warning: pointer targets in passing argument 3 of ‘ast_exists_extension’ differ in signedness
chan_misdn.c:4002: warning: pointer targets in passing argument 5 of ‘ast_exists_extension’ differ in signedness
chan_misdn.c:4052: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:4082: warning: pointer targets in passing argument 1 of ‘ast_strlen_zero’ differ in signedness
chan_misdn.c:4087: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness
chan_misdn.c:4087: warning: pointer targets in passing argument 1 of ‘strncat’ differ in signedness
chan_misdn.c:4087: warning: pointer targets in passing argument 2 of ‘strncat’ differ in signedness
chan_misdn.c:4092: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
chan_misdn.c:4097: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
chan_misdn.c:4097: warning: pointer targets in passing argument 2 of ‘strncpy’ differ in signedness
chan_misdn.c:4100: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
chan_misdn.c:4171: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:4171: warning: pointer targets in passing argument 2 of ‘ast_copy_string’ differ in signedness
chan_misdn.c:4456: error: too few arguments to function ‘ast_moh_start’
chan_misdn.c: In function ‘load_module’:
chan_misdn.c:4591: warning: implicit declaration of function ‘unload_module’
chan_misdn.c: In function ‘misdn_set_opt_exec’:
chan_misdn.c:4830: warning: pointer targets in passing argument 1 of ‘ast_copy_string’ differ in signedness
make: *** [chan_misdn.o] Fehler 1

Ist da eine Weiterentwicklumg in sicht oder MUSS ich jetzt auf Asterisk 1.2 downgraden.
läuft mISDN überhaupt mit Asterisk 1.4 ?
Danke

Vincent
 
Natürlich läuft mISDN auch im Asterisk 1.4 - bei mir läuft er!

Download der mISDN Sourcen (Als Kennwort readonly verwenden):
Code:
cd /usr/src
cvs -d :pserver:[email protected]:/i4ldev login
cvs -d :pserver:[email protected]:/i4ldev co mISDN
cd mISDN
make && make install

cd ..
cvs -d :pserver:[email protected]:/i4ldev co mISDNuser
cd mISDNuser
make && make install

Danach in das Asterisk Verzeichnis gehen:
Code:
cd /usr/src/[your path to asterisk]/
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --with-misdn=/usr --with-ogg=/usr --with-speex=/usr --with-ssl=/usr --with-vorbis=/usr --with-z=/usr --with-zaptel=/usr --without-netsnmp
make && make install

Bitte bei den Configure-Parametern aufpassen... Bei mir sind auch Speex, Vorbis und OGG dabei! Bei Bedarf einfach entfernen.

Danach wie normal die HFC Karten konfigurieren, die mISDN Module laden, und die Asterisk Files modifizieren. Danach sollte Asterisk mit dem mISDN starten können.

Asterisk 1.4 hat den chan_misdn Driver schon implementiert!

Grüße
Michael Rack

Weitere Infos auf: http://www.misdn.org
 
Also Astersk läuft und lsmod zeigt mir die mISDN

wie finde ich heraus ob asterisk mISDN erkennt und einbindet ?


Danke
 
Na, das ist ja wohl das einfachste *gg* ;)

Geh in die Command Line Interface (CLI) und gibt den Befehl ein:
misdn show port 1

Statt eins kannst du auch nen anderen Port nehmen. Welche Ports verfügbar sind, siehst du anhand des Befehls:
misdn show ports stats

Sollte das nichts anzeigen, dann gib mal in deiner UNIX-Shell den Befehl:
misdnportinfo ein, das sollte dann sowas zurückgeben:

Code:
Port  1: TE-mode BRI S/T interface line (for phone lines)
 -> Protocol: DSS1 (Euro ISDN)
 -> Layer 4 protocol 0x04000001 is detected, but not allowed for TE lib.
 -> childcnt: 2
 * Port NOT useable for PBX (maybe there is already a PBX running?)
--------
Port  2: NT-mode BRI S/T interface port (for phones)
 -> Layer 2 protocol 0x02000002 is detected, but not allowed for NT lib.
 * Port NOT useable for PBX (maybe there is already a PBX running?)
--------

Wenn dort steht:
Port NOT useable for PBX, dann hat dein Asterisk die Kontrolle über das Device genommen.

Grüße
Michi
 
Danke
mISDN war gar nicht richtig installiert
habe es aber hinbekommen (nur ogg Vobis will noch nicht)

Allerdings wird meine Karte nicht erkannt (CONCEPTRONIC C128i)
ein
pc-peter-2:~# misdnportinfo

Found no card. Please be sure to load card drivers.

mISDN_close: fid(3) isize(131072) inbuf(0x804c060) irp(0x804c060) iend(0x804c060)
pc-peter-2:~# misdnportinfo

Found no card. Please be sure to load card drivers.

mISDN_close: fid(3) isize(131072) inbuf(0x804c060) irp(0x804c060) iend(0x804c060)
pc-peter-2:~#

ein lsmod
....
mISDN_dsp 190536 0
mISDN_capi 89932 0
l3udss1 36060 0
mISDN_l2 34484 0
mISDN_l1 10940 0
capi 16160 0
capifs 5768 2 capi
kernelcapi 44416 2 mISDN_capi,capi
mISDN_core 76004 5 mISDN_dsp,mISDN_capi,l3udss1,mISDN_l2,mISDN_l1
isdn 119872 0

irgendwie geladen aber nicht erkannt
Wer kann weiterhelfen ?
DAnke

Muss ich misdn ode asterisk neu make'en und install'en ?
 
Zuletzt bearbeitet:
Mei Burli, ich arbeite zwar erst seit 24 Stunden mit dem mISDN Channel Driver, aber ich sehe gleich auf's Erste, dass du die Module für dei Kart'n garned gladen hast! ^^

Pass amal auf: Wenn'st ne PCI HFC Karte hast, z.B. von ACER oder sonstigen Firmen, dann mach zuerstmal

misdn-init config ... das speichert dir die erste Config in /etc/misdn-init.conf, bearbeite die File in einem von dir gewünschten Editor.

Wichtig sind die Zeilen
card=<number>,<type>[,<option>...]
<port_type>=<port_number>[,<port_number>...]

Bei Mehrgeräteanschluss verwende *_ptmp, bei Anlagenanschluss *_ptp

Nachdem du die Einstellung vorgenommen hast, dann ein misdn-init start ausführen, und kucke einer da... Die Module werden geladen.

Weitere Informationen dazu:
http://www.misdn.org

Grüße
Michael Rack
 
Zuletzt bearbeitet:
Ja ich habe eine PCI HFC Karte

Frage bei der mISDN config:
im TE Mode oder im NT Mode ?

Für die nach mir kommenden ...
RcRaCk2k ist ein Schreibfehler unterlaufen der Befehl lautet:misdn-init config

Danke
 
Danke, Fehler ausgebessert.

Ich denke du bist damit in einem neuen Thread besser aufgehoben, aber nunmal hier mein Kommentar dazu:

NT (Network Termination) = Der Anschluss, wo du dein normales ISDN Telefon daran anschließen kannst.. Auch möglich Telefonanlagen, Analog a/b Wandler usw.

TE (Terminal Equipment) = Der Anschluss, von welchem aus ein Kabel zur Telefon-Dose geht. Dieser Anschluss ist gleich jener, welcher auch am ISDN Telefon vorhanden ist...

Danach musst du nurnoch zwischen den Typen ptp (Point to Point) = Anlagenanschluss und ptmp (Point to Multipoint) = Mehrgeräteanschluss (Standard) entscheiden.

Hoffe ein bisschen Klarheit rein gebracht zu haben.

Grüße
Michi
 
RcRaCk2k schrieb:
Danach in das Asterisk Verzeichnis gehen:
Code:
cd /usr/src/[your path to asterisk]/
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --with-misdn=/usr --with-ogg=/usr --with-speex=/usr --with-ssl=/usr --with-vorbis=/usr --with-z=/usr --with-zaptel=/usr --without-netsnmp
make && make install

Bei mir wird das Modul chan_misdn einfach nicht erstellt.

configure sagt folgendes:

Code:
checking for mISDN_open in -lmISDN... yes
checking /usr/include/mISDNuser/mISDNlib.h usability... yes
checking /usr/include/mISDNuser/mISDNlib.h presence... yes
checking for /usr/include/mISDNuser/mISDNlib.h... yes
checking for init_manager in -lisdnnet... yes
checking mISDNuser/isdn_net.h usability... yes
checking mISDNuser/isdn_net.h presence... yes
checking for mISDNuser/isdn_net.h... yes

In make menuselect ist chan_misdn nicht auswählbar.
Code:
                      *************************************
                            Asterisk Module Selection
                      *************************************

                               Press 'h' for help.

                              [*] 1.  chan_agent
                              XXX 2.  chan_alsa
                              [*] 3.  chan_features
                              XXX 4.  chan_gtalk
                              XXX 5.  chan_h323
                              [*] 6.  chan_iax2
                              [*] 7.  chan_local
                              [*] 8.  chan_mgcp
                              XXX 9.  chan_misdn
                              XXX 10. chan_nbs
                              [*] 11. chan_oss


                        Channel driver for mISDN Support (BRI/PRI)
                        Depends on: isdnnet, misdn, suppserv

Asterisk lässt sich wunderbar kompilieren, nur dass halt das verflixte chan_misdn modul fehlt.

msidn scheint zu laufen:

Code:
root@lxsrv01:/etc/init.d# ./misdn-init start
-----------------------------------------
 Loading module(s) for your misdn-cards:
-----------------------------------------
/sbin/modprobe --ignore-install hfcpci protocol=0x2 layermask=0xf
modprobe mISDN_dsp debug=0x0 options=0  dtmftreshold=100

root@lxsrv01:/etc/init.d# lsmod |grep isdn
root@lxsrv01:/etc/init.d# lsmod |grep -i isdn
mISDN_dsp             196032  0
mISDN_capi            108480  0
mISDN_l2               44288  0
mISDN_l1               13192  0
mISDN_core             75904  6 mISDN_dsp,hfcpci,mISDN_capi,l3udss1,mISDN_l2,mISDN_l1
kernelcapi             49792  2 mISDN_capi,capi

Mein Server läuft unter Ubuntu Edgy.

Bin für jede Idee dankbar.

Gruss

Meister
 
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.