CAPI nimmt keine Gespräche an

Toeppi

Neuer User
Mitglied seit
23 Jan 2006
Beiträge
32
Punkte für Reaktionen
0
Punkte
0
Leider funzt nicht alles so wie ich will auf Anhieb. Dank dieses Forums habe ich schon einige Probleme lösen können. Hier zu habe ich leider noch nichts gefunden:

Habe zuerst eine ISDN Karte mit HFC Chip installiert und eingebunden. Funzt alles so weit. Anschliessend habe ich eine Fritz!Card PCI dazu gesetzt.
Capitreiber etc. installiert und anschliessend den Chan_capi-cm 0.6.4 dazu gebaut. app_capiCD.so, app_capiECT.so und app_capiNOES.so im Modules Verzeichnis hab ich umbenannt.

Leider antwortert mein Sternle nicht auf ankommende ISDN rufe.

Hier meine Configs, etc. pp:

Auszug ausm Log:
Code:
Feb 18 00:11:50 WARNING[2684] chan_capi.c: Unused contr1
Feb 18 00:11:50 ERROR[2684] res_config_mysql.c: MySQL RealTime: Failed to connect database server  on . Check debug for more info.
Feb 18 00:11:50 WARNING[2684] res_config_mysql.c: MySQL RealTime: Couldn't establish connection. Check debug.
Feb 18 00:11:50 NOTICE[2684] config.c: Registered Config Engine mysql

Capi.conf:
Code:
; general section

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de      ;set default language

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
isdnmode=msn     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
controller=1     ;capi controller number to use
group=1          ;dialout group
softdtmf=on      ;enable/disable software dtmf detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed dtmf detection
accountcode=     ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
language=de     ;set language for this device (overwrites default language)
devices=2        ;number of concurrent calls on this controller

extension.conf:
Code:
[capi-in]
exten => <msn>,1,Dial(SIP/30,30,tT)
exten => <msn>,2,Busy
exten => <msn>,3,Hangup

capiinfo sagt:
Code:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.101-07  (49.23)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 asynconous operation with start/stop byte framing
   V.110 synconous operation with HDLC framing
   T.30 modem for fax group 3
   Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   ISO 7776 (X.75 SLP) with V.42bis compression
   V.120 asyncronous mode
   V.120 bit-transparent mode
B3 protocols support: 0x800000bf
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3
   T.30 for fax group 3 with extensions
   Modem

  0100
  0200
  39000000
  1f010040
  1b0b0000
  bf000080
  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

Hoffe ich hab jetzt nix vergessen,...
Bin natürlich bereit weitere Angaben zu machen, die zu Lösung meines Problems beitragen ;)
 
setze mal isdnmode=did.
 
Die Meldung
"Feb 18 00:11:50 WARNING[2684] chan_capi.c: Unused contr1"
zeigt, dass eigentlich der Controller 1 gar nicht aktiviert ist.
Bist du sicher, dass das neue chan_capi.so wirklich geladen wird und nicht ein altes?

Armin
 
Danke für die Antworten.

Habe gerade den chan_capi-cm noch mal drüber installiert und es funktioniert :) ankommende ISDN-Gespräche werden auf mein SIP-Telefon geleitet.
Ich glaub langsam das bei mir alles erst beim 2. mal klappt...
 
Kostenlos!

Statistik des Forums

Themen
248,538
Beiträge
2,293,807
Mitglieder
378,048
Neuestes Mitglied
ipforumuser64