2 Kanäle aber es wird nur ein eingehender Anruf angenommen?!

D-Trix

Neuer User
Mitglied seit
11 Jul 2005
Beiträge
127
Punkte für Reaktionen
0
Punkte
0
Ich habe heute ein System mit Asterisk 1.2.0 und chan_capi-cm 0.6.1 aufgesetzt und stehe ein bißchen auf dem Schlauch.
Soweit läuft alles ganz gut, aber auf meiner HST 2-Kanal-Karte immer nur einen Kanal benutzten! D.h. ich kann z.B. keine zwei Rufe gleichzeitig annehmen, oder einer rein + einer raus funktioniert auch nicht.

Hat da wer eine Idee wo es harken könnte?



Hier Capi debug bei angenommenem Ruf und ein zweiter kommt rein:
Code:
CAPI Debugging Enabled
*CLI> CONNECT_IND ID=012 #0x9496 LEN=0053
  Controller/PLCI/NCCI            = 0x1801
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>80xxxx
  CallingPartyNumber              = <21 83>238281xxxx
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

    -- CONNECT_IND (PLCI=0x1801,DID=80xxxx,CID=238281xxxx,CIP=0x10,CONTROLLER=0x1)
       > ISDN1: msn='80xxxx' DNID='80xxxx' DID
  == ISDN1: Incoming call '0238281xxxx' -> '80xxxx'
INFO_IND ID=012 #0x9497 LEN=0016
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x18
  InfoElement                     = <8a>

INFO_RESP ID=012 #0x9497 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: info element CHANNEL IDENTIFICATION 8a
INFO_IND ID=012 #0x9498 LEN=0017
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x1e
  InfoElement                     = <80 83>

INFO_RESP ID=012 #0x9498 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: info element PI 80 83
       > ISDN1: Origination is non ISDN
INFO_IND ID=012 #0x9499 LEN=0022
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x70
  InfoElement                     = <81>80xxxx

INFO_RESP ID=012 #0x9499 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: info element CALLED PARTY NUMBER
    -- ISDN1: Updated channel name: CAPI/ISDN1/80xxxx-1
    -- ISDN1: CAPI/ISDN1/80xxxx-1: 80xxxx matches in context capi-in
  == Started pbx on channel CAPI/ISDN1/80xxxx-1
    -- Executing NoOp("CAPI/ISDN1/80xxxx-1", "Security Check:") in new stack
    -- Executing Goto("CAPI/ISDN1/80xxxx-1", "200") in new stack
    -- Goto (capi-in,80xxxx,200)
    -- Executing DISA("CAPI/ISDN1/80xxxx-1", "no-password|DISAdial") in new stack
  == ISDN1: Answering for 80xxxx
CONNECT_RESP ID=012 #0x9496 LEN=0042
  Controller/PLCI/NCCI            = 0x1801
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = <00 80>80xxxx
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

INFO_IND ID=012 #0x949a LEN=0019
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x4009
  InfoElement                     = <00 00 00 00>

INFO_RESP ID=012 #0x949a LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: unhandled INFO_IND 0x4009 (PLCI=0x1801)
CONNECT_ACTIVE_IND ID=012 #0x949b LEN=0023
  Controller/PLCI/NCCI            = 0x1801
  ConnectedNumber                 = <00 80>80xxxx
  ConnectedSubaddress             = default
  LLC                             = default

CONNECT_ACTIVE_RESP ID=012 #0x949b LEN=0012
  Controller/PLCI/NCCI            = 0x1801

CONNECT_B3_IND ID=012 #0x949c LEN=0013
  Controller/PLCI/NCCI            = 0x11801
  NCPI                            = default

CONNECT_B3_RESP ID=012 #0x949c LEN=0015
  Controller/PLCI/NCCI            = 0x11801
  Reject                          = 0x0
  NCPI                            = default

CONNECT_B3_ACTIVE_IND ID=012 #0x949d LEN=0013
  Controller/PLCI/NCCI            = 0x11801
  NCPI                            = default

CONNECT_B3_ACTIVE_RESP ID=012 #0x949d LEN=0012
  Controller/PLCI/NCCI            = 0x11801

CONNECT_IND ID=012 #0x94f9 LEN=0055
  Controller/PLCI/NCCI            = 0x1901
  CIPValue                        = 0x10
  CalledPartyNumber               = <81>80xxxx
  CallingPartyNumber              = <21 83>17xxxxxxxx
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BC                              = <80 90 a3>
  LLC                             = default
  HLC                             = <91 81>
  AdditionalInfo
   BChannelinformation            = <02 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

    -- CONNECT_IND (PLCI=0x1901,DID=80xxxx,CID=17xxxxxxxx,CIP=0x10,CONTROLLER=0x1)
       > ISDN1-pseudo-D: msn='80xxxx' DNID='80xxxx' DID
  == ISDN1-pseudo-D: Incoming call '017xxxxxxxx' -> '80xxxx'
INFO_IND ID=012 #0x94fa LEN=0016
  Controller/PLCI/NCCI            = 0x1901
  InfoNumber                      = 0x18
  InfoElement                     = <88>

INFO_RESP ID=012 #0x94fa LEN=0012
  Controller/PLCI/NCCI            = 0x1901

    -- ISDN1-pseudo-D: info element CHANNEL IDENTIFICATION 88
INFO_IND ID=012 #0x94fb LEN=0017
  Controller/PLCI/NCCI            = 0x1901
  InfoNumber                      = 0x1e
  InfoElement                     = <80 83>

INFO_RESP ID=012 #0x94fb LEN=0012
  Controller/PLCI/NCCI            = 0x1901

    -- ISDN1-pseudo-D: info element PI 80 83
       > ISDN1-pseudo-D: Origination is non ISDN
INFO_IND ID=012 #0x94fc LEN=0022
  Controller/PLCI/NCCI            = 0x1901
  InfoNumber                      = 0x70
  InfoElement                     = <81>80xxxx

INFO_RESP ID=012 #0x94fc LEN=0012
  Controller/PLCI/NCCI            = 0x1901

    -- ISDN1-pseudo-D: info element CALLED PARTY NUMBER
    -- ISDN1-pseudo-D: Updated channel name: CAPI/ISDN1-pseudo-D/80xxxx-3
    -- ISDN1-pseudo-D: CAPI/ISDN1-pseudo-D/80xxxx-3: 80xxxx matches in context capi-in
  == Started pbx on channel CAPI/ISDN1-pseudo-D/80xxxx-3
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxxx-3", "Security Check:") in new stack
    -- Executing Goto("CAPI/ISDN1-pseudo-D/80xxxx-3", "200") in new stack
    -- Goto (capi-in,80xxxx,200)
    -- Executing DISA("CAPI/ISDN1-pseudo-D/80xxxx-3", "no-password|DISAdial") in new stack
  == ISDN1-pseudo-D: Answering for 80xxxx
CONNECT_RESP ID=012 #0x94f9 LEN=0042
  Controller/PLCI/NCCI            = 0x1901
  Reject                          = 0x0
  BProtocol
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  ConnectedNumber                 = <00 80>80xxxx
  ConnectedSubaddress             = default
  LLC                             = default
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

INFO_IND ID=012 #0x94fe LEN=0019
  Controller/PLCI/NCCI            = 0x1901
  InfoNumber                      = 0x4009
  InfoElement                     = <00 00 00 00>

INFO_RESP ID=012 #0x94fe LEN=0012
  Controller/PLCI/NCCI            = 0x1901

    -- ISDN1-pseudo-D: unhandled INFO_IND 0x4009 (PLCI=0x1901)
INFO_IND ID=012 #0x9500 LEN=0017
  Controller/PLCI/NCCI            = 0x1901
  InfoNumber                      = 0x8
  InfoElement                     = <81 a2>

INFO_RESP ID=012 #0x9500 LEN=0012
  Controller/PLCI/NCCI            = 0x1901

    -- ISDN1-pseudo-D: info element CAUSE 81 a2
DISCONNECT_IND ID=012 #0x9501 LEN=0014
  Controller/PLCI/NCCI            = 0x1901
  Reason                          = 0x34a2

DISCONNECT_RESP ID=012 #0x9501 LEN=0012
  Controller/PLCI/NCCI            = 0x1901

       > CAPI INFO 0x34a2: No circuit / channel available
INFO_IND ID=012 #0x96d4 LEN=0017
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x8
  InfoElement                     = <81 90>

INFO_RESP ID=012 #0x96d4 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: info element CAUSE 81 90
INFO_IND ID=012 #0x96d5 LEN=0017
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x1e
  InfoElement                     = <81 88>

INFO_RESP ID=012 #0x96d5 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: info element PI 81 88
       > ISDN1: In-band information available
INFO_IND ID=012 #0x96d6 LEN=0015
  Controller/PLCI/NCCI            = 0x1801
  InfoNumber                      = 0x8045
  InfoElement                     = default

INFO_RESP ID=012 #0x96d6 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

    -- ISDN1: info element DISCONNECT
    -- ISDN1: Disconnect case 3
  == ISDN1: CAPI Hangingup
    -- ISDN1: activehangingup (cause=16)
DISCONNECT_B3_REQ ID=012 #0x01c2 LEN=0013
  Controller/PLCI/NCCI            = 0x11801
  NCPI                            = default

DISCONNECT_B3_CONF ID=012 #0x01c2 LEN=0014
  Controller/PLCI/NCCI            = 0x11801
  Info                            = 0x0

DISCONNECT_B3_IND ID=012 #0x96d7 LEN=0015
  Controller/PLCI/NCCI            = 0x11801
  Reason_B3                       = 0x0
  NCPI                            = default

DISCONNECT_B3_RESP ID=012 #0x96d7 LEN=0012
  Controller/PLCI/NCCI            = 0x11801

DISCONNECT_REQ ID=012 #0x01c3 LEN=0018
  Controller/PLCI/NCCI            = 0x1801
  AdditionalInfo
   BChannelinformation            = default
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = default

DISCONNECT_CONF ID=012 #0x01c3 LEN=0014
  Controller/PLCI/NCCI            = 0x1801
  Info                            = 0x0

DISCONNECT_IND ID=012 #0x96d8 LEN=0014
  Controller/PLCI/NCCI            = 0x1801
  Reason                          = 0x3490

DISCONNECT_RESP ID=012 #0x96d8 LEN=0012
  Controller/PLCI/NCCI            = 0x1801

       > CAPI INFO 0x3490: Normal call clearing
  == ISDN1: Interface cleanup PLCI=0x1801
stop now
Beginning asterisk shutdown....
  == ISDN1-pseudo-D: CAPI Hangingup
  == ISDN1-pseudo-D: Interface cleanup PLCI=0x1901
Executing last minute cleanups
  == Destroying musiconhold processes
Asterisk cleanly ending (0).
linux:~ #

capi.conf
Code:
;
; CAPI config
;
;

; general section

[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
;ulaw=yes        ;set this, if you live in u-law world instead of a-law

; interface sections ...

[ISDN1]          ;this example interface gets name 'ISDN1' and may be any
                 ;name not starting with 'g' or 'contr'.
;ntmode=yes      ;if isdn card operates in nt mode, set this to yes
isdnmode=DID     ;'MSN' (point-to-multipoint) or 'DID' (direct inward dial)
                 ;when using NT-mode, 'DID' should be set in any case
incomingmsn=80xxxx    ;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 dial option 'd' is set.
;controller=0    ;ISDN4BSD default
;controller=7    ;ISDN4BSD USB default
controller=1     ;capi controller number to use
group=1          ;dialout group
;prefix=0        ;set a prefix to 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
accountcode=     ;Asterisk accountcode to use in CDRs
context=capi-in  ;context for incoming calls
holdtype=hold    ;when Asterisk puts the call on hold, ISDN HOLD will be used. If
                 ;set to 'local' (default value), no hold is done and Asterisk may
                 ;play MOH.
;immediate=yes   ;DID: immediate start of pbx with extension 's' if no digits were
                 ;     received on incoming call (no destination number yet)
                 ;MSN: start pbx on CONNECT_IND and don't wait for SETUP/SENDING-COMPLETE.
                 ;     info like REDIRECTINGNUMBER may be lost, but this is necessary for
                 ;     drivers/pbx/telco which does not send SETUP or SENDING-COMPLETE.
;echosquelch=1   ;_VERY_PRIMITIVE_ echo suppression
;echocancel=yes  ;EICON DIVA SERVER (CAPI) echo cancelation
                 ;(possible values: 'no', 'yes', 'force', 'g164', 'g165')
echocancelold=yes;use facility selector 6 instead of correct 8 (necessary for older eicon drivers)
;echotail=64     ;echo cancel tail setting
;bridge=yes      ;native bridging (CAPI line interconnect) if available
;callgroup=1     ;Asterisk call group
devices=2        ;number of concurrent calls on this controller
                 ;(2 makes sense for single BRI, 30 for PRI)


Danke schonmal :)
 
Der zweite Anruf kommt ohne verfuegbaren b-Kanal (z.B. call waiting, anklopfen), dies zeigt sich ueber die Erweiterung pseudo-D, bzw. BChannelinformation = <02 00>.
Es kann ueber die Varaible BCHANNELINFO ausgelesen werden (siehe README).
Also mit anderen Worten, es ist kein B-Kanal fuer eine Verbindung vorhanden:
CAPI INFO 0x34a2: No circuit / channel available

Der zweite Kanal ist also schon anderweitig belegt...

Armin
 
Hmm, dass der anderweitig belegt ist, kann ja eigentlich nicht sein.


Code:
*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
*CLI>   == ISDN1: Incoming call '02xxx81xxxx' -> '80xxx1'
    -- ISDN1: Updated channel name: CAPI/ISDN1/80xxx1-1
    -- Executing NoOp("CAPI/ISDN1/80xxx1-1", "{BCHANNELINFO}") in new stack
    -- Executing NoOp("CAPI/ISDN1/80xxx1-1", "Security Check:") in new stack
    -- Executing Goto("CAPI/ISDN1/80xxx1-1", "200") in new stack
    -- Goto (capi-in,80xxx1,200)
    -- Executing NoOp("CAPI/ISDN1/80xxx1-1", "{BCHANNELINFO}") in new stack
    -- Executing DISA("CAPI/ISDN1/80xxx1-1", "no-password|DISAdial") in new stack
  == ISDN1: Answering for 80xxx1
capi info
Contr1: 2 B channels total, 1 B channels free.
*CLI> capi info
Contr1: 2 B channels total, 1 B channels free.
  == ISDN1-pseudo-D: Incoming call '017xxxxxxxx' -> '80xxx1'
    -- ISDN1-pseudo-D: Updated channel name: CAPI/ISDN1-pseudo-D/80xxx1-3
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxx1-3", "{BCHANNELINFO}") in new stack
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxx1-3", "Security Check:") in new stack
    -- Executing Goto("CAPI/ISDN1-pseudo-D/80xxx1-3", "200") in new stack
    -- Goto (capi-in,80xxx1,200)
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxx1-3", "{BCHANNELINFO}") in new stack
    -- Executing DISA("CAPI/ISDN1-pseudo-D/80xxx1-3", "no-password|DISAdial") in new stack
  == ISDN1-pseudo-D: Answering for 80xxx1
       > CAPI INFO 0x34a2: No circuit / channel available
capi info
Contr1: 2 B channels total, 1 B channels free.
*CLI> capi info
Contr1: 2 B channels total, 1 B channels free.
*CLI> capi info
Contr1: 2 B channels total, 1 B channels free.
  == ISDN1: CAPI Hangingup
       > CAPI INFO 0x3490: Normal call clearing
stop now
Beginning asterisk shutdown....
  == ISDN1-pseudo-D: CAPI Hangingup

asterisk -vvvvvvvvvgcd
Code:
(...)
[chan_capi.so] => (Common ISDN API for Asterisk)
  == This box has 1 capi controller(s).
    -- CAPI/contr1 supports DTMF
    -- CAPI/contr1 supports line interconnect
    -- CAPI/contr1 supports supplementary services
       > FACILITY_CONF INFO = 0
       > supplementary services : 0x000001bf
       > HOLD/RETRIEVE
       > TERMINAL PORTABILITY
       > ECT
       > 3PTY
       > CF
       > CD
       > CCBS
       > MWI
  == Reading config for ISDN1
    -- ast_capi_pvt ISDN1-pseudo-D (805656,capi-in,0,2) (0,4,64)
    -- ast_capi_pvt ISDN1 (805656,capi-in,0,2) (0,4,64)
    -- ast_capi_pvt ISDN1 (805656,capi-in,0,2) (0,4,64)
    -- listening on contr1 CIPmask = 0x1fff03ff
  == Registered channel type 'CAPI' (Common ISDN API Driver ($Revision: 1.115 $) )
  == Registered application 'capiCommand'
  == Registered custom function VANITYNUMBER
(...)

Code:
linux:/etc/asterisk # capiinfo
Number of Controllers : 1
Controller 1:
Manufacturer:  (C) 1993-2005 HST High Soft Tech GmbH
CAPI Version: 2.0
Manufacturer Version: 2.78
Serial Number: 3L07821
BChannels: 2
Global Options: 0x000000f9
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x00000017
   64 kbit/s with HDLC framing
   64 kbit/s bit-transparent operation
   V.110 asynconous operation with start/stop byte framing
   T.30 modem for fax group 3
B2 protocols support: 0x0000171b
   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 asyncronous mode with V.42bis compression
   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

  0100
  0200
  f9000000
  17000000
  1b170000
  37000000
  00000000 00000000 00000000 00000000 00000000 0dcb570c
  01000000 00000000 00000000 00000000 00000000

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

linux:/etc/asterisk #



Wie kann ich denn genau rausfinden wodurch mir der eine Kanal verloren geht und was kann ich dagegen tun? :(
 
Wieviele belegte oder freie Kanäle zeigt den imon/imontty (Kommandozeile nicht CLI) ;) an?
 
okay ich habe das mal während eines anrufes gemacht:

Code:
ISDN channel status:

Channel                 Usage Type  Number
----------------------------------------------------------------------
linux:~ # imontty

ISDN channel status:

Channel                 Usage Type  Number
----------------------------------------------------------------------
linux:~ # imontty

ISDN channel status:

Channel                 Usage Type  Number
----------------------------------------------------------------------
linux:~ # imontty

ISDN channel status:

Channel                 Usage Type  Number
----------------------------------------------------------------------
linux:~ # imontty

ISDN channel status:

Channel                 Usage Type  Number
----------------------------------------------------------------------
linux:~ #


bei dem befehl imon bekomme ich einen durchnummerierten blauen bildschirm und wenn ich irgendetwas drücke, dann kommt ein Segmentation fault :(
 
Damit wären also belegte Datenkanäle auszuschließen.

Hilft vielleicht ein 'show channels' auf dem CLI während des Anrufs und des Gespräches bzw. des zweiten Anrufes weiter? Das bringt eine Übersicht über die derzeit verwendeten Kanäle und den zugehörigen Kontext.
 
Sehr seltsam alles:

Code:
Asterisk Ready.
show channels
Channel              Location             State   Application(Data)
0 active channels
0 active calls
*CLI> show channels
Channel              Location             State   Application(Data)
0 active channels
0 active calls
*CLI> show channels  == ISDN1: Incoming call '02xxx81xxxx' -> '80xxx1'
    -- ISDN1: Updated channel name: CAPI/ISDN1/80xxx1-1
    -- Executing NoOp("CAPI/ISDN1/80xxx1-1", "{BCHANNELINFO}") in new stack
    -- Executing NoOp("CAPI/ISDN1/80xxx1-1", "Security Check:") in new stack
    -- Executing Goto("CAPI/ISDN1/80xxx1-1", "200") in new stack
    -- Goto (capi-in,80xxx1,200)
    -- Executing NoOp("CAPI/ISDN1/80xxx1-1", "{BCHANNELINFO}") in new stack
    -- Executing DISA("CAPI/ISDN1/80xxx1-1", "no-password|DISAdial") in new stack
  == ISDN1: Answering for 80xxx1

Channel              Location             State   Application(Data)
CAPI/ISDN1/80xxx1-1  80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
1 active channel
1 active call
*CLI> show channels
Channel              Location             State   Application(Data)
CAPI/ISDN1/80xxx1-1  80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
1 active channel
1 active call
  == ISDN1-pseudo-D: Incoming call '017xxxxxxxx' -> '80xxx1'
    -- ISDN1-pseudo-D: Updated channel name: CAPI/ISDN1-pseudo-D/80xxx1-3
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxx1-3", "{BCHANNELINFO}") in new stack
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxx1-3", "Security Check:") in new stack
    -- Executing Goto("CAPI/ISDN1-pseudo-D/80xxx1-3", "200") in new stack
    -- Goto (capi-in,80xxx1,200)
    -- Executing NoOp("CAPI/ISDN1-pseudo-D/80xxx1-3", "{BCHANNELINFO}") in new stack
    -- Executing DISA("CAPI/ISDN1-pseudo-D/80xxx1-3", "no-password|DISAdial") in new stack
  == ISDN1-pseudo-D: Answering for 80xxx1
       > CAPI INFO 0x34a2: No circuit / channel available
show channels
Channel              Location             State   Application(Data)
CAPI/ISDN1-pseudo-D/ 80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
CAPI/ISDN1/80xxx1-1  80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
2 active channels
2 active calls
*CLI> show channels
Channel              Location             State   Application(Data)
CAPI/ISDN1-pseudo-D/ 80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
CAPI/ISDN1/80xxx1-1  80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
2 active channels
2 active calls
*CLI> show channels
Channel              Location             State   Application(Data)
CAPI/ISDN1-pseudo-D/ 80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
CAPI/ISDN1/80xxx1-1  80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
2 active channels
2 active calls
  == ISDN1: CAPI Hangingup
       > CAPI INFO 0x3490: Normal call clearing
show channels
Channel              Location             State   Application(Data)
CAPI/ISDN1-pseudo-D/ 80xxx1@capi-in:201   Up      DISA(no-password|DISAdial)
1 active channel
1 active call
*CLI> stop now
Beginning asterisk shutdown....
  == ISDN1-pseudo-D: CAPI Hangingup
Executing last minute cleanups
  == Destroying musiconhold processes
Asterisk cleanly ending (0).
linux:~ #
 
doch die rufe gehen beide auf 80xxx1.

mit der alten chan_capi-cm-0.5.4 konnte ich im dialplan immer exten => s,1.. anspringen, ( == Starting CAPI/contr1/99-19 at default,99,1 failed so falling back to exten 's' )
bei der chan_capi-cm-0.6.1 macht er kein fall back sondern ignoriert den call.
D.h. im aktuellen Dialplan habe ich daher exten => s,... immer durch exten => 80xxx1 ersetzt.

meine extensions.conf
Code:
[default]

exten => _X.,1,Dial(CAPI/ISDN1/${EXTEN})




[iax2-ger-be-incoming]

exten => _ZX,1,Dial(IAX2/test/${EXTEN})  ;softphone test



[capi-in]

exten => 80xxxx1,1,NoOp(Security Check:)



exten => 80xxxx1/0238281xxxx,2,Goto(200) ;rtest
exten => 80xxxx1/0238280xxxx1,2,Goto(200) ;rtest
exten => 80xxxx1/017xxxxxxxx,2,Goto(200) ;rtest
exten => 80xxxx1/10,2,Goto(200) ;test
exten => 80xxxx1/26,2,Goto(200) ;mb



exten => 80xxxx1,2,NoOp(No permission.)
exten => 80xxxx1,3,Wait(1)
exten => 80xxxx1,4,Playback(privacy-incorrect)
exten => 80xxxx1,5,Hangup

;exten => s,200,Set(TIMEOUT(digit)=2)           ; Time after the last digit was typed in
;exten => s,201,Set(TIMEOUT(response)=20)       ; Maximum Time for one digit

exten => 80xxxx1,201,DISA,no-password|DISAdial


[DISAdial]

exten => _ZX,1,NoOp(Dialing to Germany...${EXTEN} )
exten => _ZX,2,Dial(IAX2/germany/${EXTEN},60,r)
exten => _ZX,3,Congestion

exten => i,1,Playback(pbx-invalid)

Kann denn
exten => 80xxxx1,1,...
immer nur einen ruf gleichzeitig aufnehmen?
Bei meinem andern Asterisk (chan_capi-cm-0.5.4 ), wo es mit
exten => s,1,...
losgeht, können mehrere gleichzeitige ein- und ausgehende anrufe verarbeitet werden.
 
Das Problem ist nicht Asterisk, denn ueber ISDN wird von der Vermittlungsstelle schon gemeldet, dass bei dem zweiten Anruf kein B-Kanal zur Verfuegung steht.
Im Log steht beim CONNECT_IND:
BChannelinformation = <02 00>
Das <02 ..> bedeutet neither D nor B channel.
Also entweder hat Dein ISDN Anschluss nur einen B-Kanal, oder ein anderes ISDN Endgeraet
(Telefon, Anlage) hat den zweiten Kanal belegt.

Armin
 
mhm ich verwende eine fritzbox 7050. Den ersten call, den ich mache, geht über dessen internen S0 von einem isdn telefon über 1&1 VoIP raus. Logisch gesehen müssten also noch 2 (externe) B Känäle frei sein.. keine Ahnung was die Fritzbox da veranstaltet! Ich werde das mal an einer Hipath mit mehreren internen S0 testen..

Ok, danke euch beiden!!!!!!
 

Zurzeit aktive Besucher

Neueste Beiträge

Statistik des Forums

Themen
244,858
Beiträge
2,219,651
Mitglieder
371,572
Neuestes Mitglied
#Kuddel#
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.