gerdes primux karte installiert -> bei anruf besetzt

whotwagner

Neuer User
Mitglied seit
10 Feb 2010
Beiträge
7
Punkte für Reaktionen
0
Punkte
0
Hallo,

ich versuche gerade eine PrimuX 2S0 zu installieren und mit einem bristuff-asterisk laufen zu lassen. Es scheint richtig geladen zu sein:

Code:
root@voiptest:/var/log# capiinfo
Number of Controllers : 3
Controller 1:
Manufacturer: PrimuX ISDN 3.6.4929 (c) 1995-2009 Gerdes Aktiengesellschaft
CAPI Version: 2.0
Manufacturer Version: 3.6
Serial Number:
BChannels: 2
Global Options: 0x00000ed9
   internal controller supported
   DTMF supported
   Supplementary Services supported
B1 protocols support: 0x0000001f
   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
B2 protocols support: 0x0000105b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   Transparent (ignoring framing errors of B1 protocol)
   LAPD with Q.921 including free SAPI selection
B3 protocols support: 0x00000037
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   T.30 for fax group 3
   T.30 for fax group 3 with extensions

  0300
  0200
  d90e0000
  1f000000
  5b100000
  37000000
  00000000 00000000 00000000 00000000 00000000 00000000
  0000bed3 0000ffff ffff0000 00000000 00000000

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

Controller 2:
Manufacturer: PrimuX ISDN 3.6.4929 (c) 1995-2009 Gerdes Aktiengesellschaft
CAPI Version: 2.0
Manufacturer Version: 3.6
Serial Number:
BChannels: 2
Global Options: 0x00000ed9
   internal controller supported
   DTMF supported
   Supplementary Services supported
B1 protocols support: 0x0000001f
   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
B2 protocols support: 0x0000105b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   Transparent (ignoring framing errors of B1 protocol)
   LAPD with Q.921 including free SAPI selection
B3 protocols support: 0x00000037
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   T.30 for fax group 3
   T.30 for fax group 3 with extensions

  0300
  0200
  d90e0000
  1f000000
  5b100000
  37000000
  00000000 00000000 00000000 00000000 00000000 00000000
  0000bed3 0000ffff ffff0000 00000000 00000000

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

Controller 3:
Manufacturer: PrimuX ISDN 3.6.4929 (c) 1995-2009 Gerdes Aktiengesellschaft
CAPI Version: 2.0
Manufacturer Version: 3.6
Serial Number:
BChannels: 2
Global Options: 0x00000ed9
   internal controller supported
   DTMF supported
   Supplementary Services supported
B1 protocols support: 0x0000001f
   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
B2 protocols support: 0x0000105b
   ISO 7776 (X.75 SLP)
   Transparent
   LAPD with Q.921 for D channel X.25 (SAPI 16)
   T.30 for fax group 3
   Transparent (ignoring framing errors of B1 protocol)
   LAPD with Q.921 including free SAPI selection
B3 protocols support: 0x00000037
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   T.30 for fax group 3
   T.30 for fax group 3 with extensions

  0300
  0200
  d90e0000
  1f000000
  5b100000
  37000000
  00000000 00000000 00000000 00000000 00000000 00000000
  0400654b 0000ffff ffff0000 00000000 00000000

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

Jetzt freu ich mich, scheint zu funktionieren. Aber was soll der 3. Controller? Es ist eine Dual-Karte. Ich hab eine Single-Karte von Gerdes eingebaut, da seh ich dann 2 Controller.

Capi info sagt folgendes:
Code:
voiptest*CLI> capi info
Common ISDN API Driver (1.1.5) www.chan-capi.org
Contr1: 2 B channels total, 2 B channels free.
Contr2: 2 B channels total, 2 B channels free.
Contr3: 2 B channels total, 2 B channels free. (unused)

Code:
voiptest*CLI> capi show channels
CAPI B-channel information:
Line-Name       NTmode state i/o bproto isdnstate   ton  number
----------------------------------------------------------------
ISDN2#02         no    -----  -  trans              0x00 ''->''
ISDN2#01         no    -----  -  trans              0x00 ''->''
ISDN1#02         no    -----  -  trans              0x00 ''->''
ISDN1#01         no    -----  -  trans              0x00 ''->''

Wenn ich nun die Telefonnummer anruf kommt besetzt.

Mit einer HFC klappt die Leitung.

Hier meine Capi.conf:
Code:
[general]
nationalprefix=+43        ; or for example "+49"
internationalprefix=+  ; or for example "+"
;subscriberprefix=+4969 ; prefix including area code (some lines need this)
rxgain=0.0       ;linear receive gain (1.0 = no change)
txgain=0.0       ;linear transmit gain (1.0 = no change)
language=de      ;set default language
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

;jb.....         ;with Asterisk 1.4 you can configure jitterbuffer,
                 ;see Asterisk documentation for all jb* setting available.
jbenable = no
jbforce = no
jbmaxsize = 200
jbresyncthreshold = 1000
jbimpl = fixed
jblog = no

;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
mohinterpret = default

; interface sections ...

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
                 ;Use one interface section for each ISDN port!
;ntmode=yes      ;if the ISDN card operates in NT-mode, set this to 'yes'
isdnmode=MSN     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=*    ;allow incoming calls to this list of MSNs/DIDs, * = any
;defaultcid=123  ;set a default caller ID to that interface for dial-out,
                 ;this caller ID will be used when the dial option 'd' is set.
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
controller=1     ;CAPI controller number of this interface/port
group=1          ;dialout group
;prefix=0        ;set a prefix to the calling number on incoming calls
softdtmf=on      ;enable/disable software DTMF detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed DTMF detection
faxdetect=off    ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
                 ;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
faxdetecttime=0  ;Only detect faxes during the first 'n' seconds of the call.
                 ;(default '0' meaning for the whole duration of the call)
accountcode=     ;PBX accountcode to use in CDRs
amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=inbound  ;context for incoming calls
;holdtype=hold   ;when the PBX puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and the PBX may
                 ;play MOH.
immediate=no   ;DID: immediate star
echocancelold=yes
devices=2

[ISDN2]
isdnmode=MSN
incomingmsn=*
controller=2
group=1
softdtmf=on      ;enable/disable software DTMF detection, recommended for AVM cards
relaxdtmf=on     ;in addition to softdtmf, you can use relaxed DTMF detection
faxdetect=off    ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
                 ;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
faxdetecttime=0  ;Only detect faxes during the first 'n' seconds of the call.
                 ;(default '0' meaning for the whole duration of the call)
accountcode=     ;PBX accountcode to use in CDRs
amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=inbound  ;context for incoming calls
immediate=no
echocancelold=yes
devices=2
 
Warum die Karte oder der Treiber hier eine falsche Anzahl von Controllern meldet, musst du den Hersteller fragen. Primux/Gerdes ist leider closed-source, also kann man da selbst nichts machen.

Ohne Log von Asterisk, kann auch keiner deine Frage zum 'besetzt' beantworten. Natürlich ist auch der Dialplan dazu wichtig.

Armin
 
Ich würde gerne ein Log posten wenn der Anruf soweit kommen würde. Aber das besetzt kommt vom Provider und im Asterisk kommt kein Call rein.
 
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,876
Beiträge
2,303,712
Mitglieder
378,542
Neuestes Mitglied
viktor1181