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:
capi.conf
Danke schonmal
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