[Frage] Asterisk mit 2*FB LanCAPI möglich?

fant

Mitglied
Mitglied seit
6 Mai 2005
Beiträge
622
Punkte für Reaktionen
0
Punkte
16
Hallo Ihr alle,

ich habe bislang einen Asterisken mit einer FritzBox per LanCAPI (freetz) laufen. Das läuft alles weitgehend problemlos. Gibt es eine Möglichkeit, die LanCAPI einer zweiten FritzBox zusätzlich anzubinden?

Hawedieehre.
Fant.
 
ja das geht in einer vm ware

"2 mal debian mit asterisk und lancapi an der fritte
von da aus an deinen Hauptasterisks mit IAX2

fertich
 
@ichego1:

Danke für den Tip. Es war mir schon klar, daß IAX2 und zwei Asterisken das Problem beheben könnten. Nun möchte ich aber nicht unbedingt nochmals einen Asterisken samt kompletter VM aufsetzen, sondern auf zwei LanCAPI-Interfaces von einem (!) Asterisken aus zugreifen. Hat da jemand eine Info, ob das geht oder nicht, und wenn ja, wie??

Hawedieehre.
Fant
 
möglich mit fbrcapi von http://fbrcapi.v3v.de

die letzte version im subversion trunk ist 0.5 betitelt (januar 2010)
mit ein paar patches kann sie mehrere controller ansteuern (hatte 4 fritzboxen angemeldet = 20 controller :)
patches für ubuntu 10.10 im anhang Anhang anzeigen fbrcapi-0.5.patch.zip
funktioniert mit plain vanilla fritzboxen, bei denen remote capi über tastencode freigeschaltet ist
disclaimer: der patch ist eine zusammengefasste version aus zwei anderen patches, die hier mal rumschwirrten
 
Zuletzt bearbeitet:
@sc.ally:

Danke für die Info. In welchen Source-Code muß der Patch eingebastelt werden? In diese modifizierte libcapi2.0, die mit /etc/capi.conf konfiguriert wird? Hast Du da ggf. einen Link für mich, wo ich den Source-Code laden kann?

Geht das auch mit einem normalen Debian Lenny? Mein Asterisk ist eine virtuelle Maschine.

Hawedieehre.
Fant.
 
Sourcecode fbrcapi

den sourcecode gibts direkt aus dem subversion-repository des autors:

svn co http://svn.v3v.de/svn/fbrcapi/trunk/ ~/fbrcapi-0.5

habe hier einen asterisk auf einer vm unter esxi, der wiederum als durchleiter für einen freeswitch (ebenfalls vm) fungiert

lenny: keine ahnung, hab ich nicht probiert - your mileage may vary ;)

eine wichtige sache bei anbindung von fritzboxen vor anderen telefonanlagen (habs auf die harte tour lernen müssen): der isdn takt des amts muss an allen boxen anliegen, sonst gibts gesprächsabbrüche
erklärung dazu hier: Agfeo Doku zur Fritzbox-Integration
 
Danke für den Tip. Ich habe jetzt das Modul compiliert und geladen, aber leider liefert mir capiinfo folgenden Fehler:

Code:
FAC GET - Info: Illegal Controller / PLCI / NCCI (0x2002)

Der Vollständigkeit halber hier die gesamte Ausgabe bei capiiinfo:
Code:
root@server:/root# ./rc.fbrcapi start
Loading fbrcapi module (192.168.2.1:5031,192.168.2.199:5031) ... OK!
root@server:/root# capiinfo 
Number of Controllers : 10
Controller 1:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0200
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 2:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0200
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 3:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0200
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 20020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 4:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 1
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0100
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 40020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 5:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 0
Global Options: 0x00000000
B1 protocols support: 0x00000000
B2 protocols support: 0x00000000
B3 protocols support: 0x00000000

  0000
  0000
  00000000
  00000000
  00000000
  00000000
  00000000 00000000 00000000 00000000 00000000 00000000
  00000000 00000000 00000000 00000000 00000000
FAC GET - Info: Illegal Controller / PLCI / NCCI (0x2002)
Controller 6:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0200
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 7:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0200
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 8:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0200
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 20020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 9:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 1
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x80003c0b
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 synconous operation with HDLC framing
B2 protocols support: 0x00000003
   ISO 7776 (X.75 SLP)
   Transparent
B3 protocols support: 0x00000081
   Transparent
   Modem

  0100
  0100
  39000000
  0b3c0080
  03000000
  81000000
  00000000 00000000 00000000 00000000 00000000 00000000
  01000000 40020000 00000000 00000000 00000000

Supplementary services support: 0x000003ff
   Hold / Retrieve
   Terminal Portability
   ECT
   3PTY
   Call Forwarding
   Call Deflection
   MCID
   CCBS

Controller 10:
Manufacturer: AVM Berlin
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 0004711
BChannels: 0
Global Options: 0x00000000
B1 protocols support: 0x00000000
B2 protocols support: 0x00000000
B3 protocols support: 0x00000000

  0000
  0000
  00000000
  00000000
  00000000
  00000000
  00000000 00000000 00000000 00000000 00000000 00000000
  00000000 00000000 00000000 00000000 00000000
FAC GET - Info: Illegal Controller / PLCI / NCCI (0x2002)

Wenn ich Deinen Patch anwende, dann bricht der Compiler mit einer Fehlermeldung ab. Ohne Patch kommt das oben Gezeigte. System ist Ubuntu 10.04 LTS 64 Bit Server unter Kernel 2.6.32-32.

Hawedieehre.
Fant.
 
Patch-Kompatibilität

der Patch ist für 34/35er kernel, da hat sich der zugriff auf sk-sleep geändert sowie die modulregistrierung

dat is der server
Linux asterisk 2.6.35-28-server #50-Ubuntu SMP Fri Mar 18 18:59:25 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.10

die 4 fritzboxen sind 7170 unterschiedlichster couleur, alle mit neuester labor-firmware (19XXX)

mehr als "probiers doch mal mit meiner config" kann ich jetzt auch nicht anbieten
 
gepatche lib20capi != fbrcapi kernelmodul

das eine ist eine gepatchte libcapi - das andere (fbrcapi) ein kernel-modul, das unterhalb der "regulären" capi wie sie bereits im system eingebaut ist läuft

die hinweise in der readme von maz (v3v.net) sind vollständig bezüglich der vorgehensweise zur installation. damit hab ichs einwandfrei zum laufen bekommen, auf o.g. kernel unter zuhilfenahme der bereits erwähnten patches.

die fbrcapi ist ein schickes teilchen software, das die verwendung anderer hacks überflüssig macht. bei mir läuft damit ein asterisk 1.6.2 mit chan_capi 1.1.5, der als gateway für einen freeswitch (git bleeding edge) (inzwischen alles auf einer vm) arbeitet.

meinst du bezüglich "eigener remote capi server" folgende konstellation:
fritzbox1..n <-> fbrcapi <-> system capi <-> rcapid <-> anderes system mit gepatchter lib20capi <-> applikation ?
keine ahnung ob das geht... eigentlich overkill, weil man kann ja gleich so laufen:
fritzbox1..n <-> fbrcapi <-> system capi <-> applikation
 
Zuletzt bearbeitet:
Was wir haben wollen ist doch ein (stable version of capi)
Ich weiss das die die rcapid von ftp://ftp.melware.net/capi-utils/ eine super sache ist um seine eigenen Capiserver zu bauen .
vor allen dingen z.b mit einer avm b1 oder c2 aktive isdn karte (very stable auch fax g3 fähig ). Dazu nimmt man dann die libcapi20 als client
hylafax als faxserver und schon läuft alles wie man es haben will . Das schöne an der sache ist das zu der rcapid auch die aktulle brickware von bintec passt .
Also auch für tobid david fax in einer virtuellen maschine auf windows server 2003,2008.
 
mein ziel war nicht einen rcapi-server zu haben, sondern die fritzboxen als günstige hardwareteile zum interfacing ans isdn einsetzen zu können, damit alles andere schön virtuell bleiben kann
ne b1/c1 bedeutet wieder, dass ein extra rechner rumstehen muss; geht eine fritzbox kaputt, wird einfach eine günstig geschossene von ebay substituiert - preiswerter kommt man meines erachtens nach zur zeit nicht an isdn-konnektivität für virtuelle maschinen.
 

Zurzeit aktive Besucher

Statistik des Forums

Themen
244,878
Beiträge
2,220,026
Mitglieder
371,604
Neuestes Mitglied
broekar
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.