Hallo,
für meine Diplomarbeit habe eine Asterisk PBX mit IDSN Schnittstelle eingerichtet. Für den eingehenden Anruf scheint mir folgendes:
== ISDN1#02: Incoming call '3825' -> ''
== ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 4
Nach Aktivierung des Capi Debug Modes:
CAPI: ApplId=0x0003 Command=0x02 SubCommand=0x82 MsgNum=0x003a NCCI=0x00000101
CONNECT_IND ID=003 #0x003a LEN=0034
Controller/PLCI/NCCI = 0x101
CIPValue = 0x10
CalledPartyNumber = default
CallingPartyNumber = <00 80>3825
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = <91 81>
AdditionalInfo = default
-- CONNECT_IND (PLCI=0x101,DID=,CID=3825,CIP=0x10,CONTROLLER=0x1)
== ISDN1#02: setting format alaw - 0x8 (alaw)
== ISDN1#02: Incoming call '3825' -> ''
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x003b NCCI=0x00000101
INFO_IND ID=003 #0x003b LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x28
InfoElement = 3825
INFO_RESP ID=003 #0x003b LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element DSP
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x003c NCCI=0x00000101
INFO_IND ID=003 #0x003c LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x003c LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x003f NCCI=0x00000101
INFO_IND ID=003 #0x003f LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x28
InfoElement = 3825
INFO_RESP ID=003 #0x003f LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element DSP
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x0040 NCCI=0x00000101
INFO_IND ID=003 #0x0040 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x0040 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x0041 NCCI=0x00000101
INFO_IND ID=003 #0x0041 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x28
InfoElement = 3825
INFO_RESP ID=003 #0x0041 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element DSP
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x0042 NCCI=0x00000101
INFO_IND ID=003 #0x0042 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x0042 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0003 Command=0x04 SubCommand=0x82 MsgNum=0x0043 NCCI=0x00000101
DISCONNECT_IND ID=003 #0x0043 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0
DISCONNECT_RESP ID=003 #0x0043 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: DISCONNECT_IND on incoming without pbx, doing hangup.
> CAPI/ISDN1#02/-0: set channel task to 1
== ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 4
== ISDN1#02: Interface cleanup PLCI=0x101
> chan_capi devicestate requested for ISDN1#02/ is 'Not in use'
Der Inhalt der capi.conf Datei:
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
[ISDN1]
; mode: ptmp (point-to-multipoint) or ptp (point-to-point)
isdnmode=msn
; allow incoming calls to this list of MSNs, * == any
incomingmsn=*
; capi controller number
controller=1
; dialout group
group=1
; enable/disable software dtmf detection, recommended for AVM cards
softdtmf=yes
; accountcode to use in CDRs
accountcode=
; context for incoming calls
context=capi-in
; _VERY_PRIMITIVE_ echo suppression
;echosquelch=1
; EICON DIVA SERVER echo cancelation
;echocancel=yes
;echotail=64
; call group
;callgroup=1
; deflect incoming calls to 12345678 if all B channels are busy
;deflect=12345678
; number of concurrent calls on this controller (2 makes sense for single BRI)
devices => 2
Kann jemand mir dabei helfen?
PS: Die anrufende Nummer 3825 ist eine interne Rufnummer von der Firma, die extern unter Vorwahl+Ortswahl+Durchwanl+3825 erreichbar ist.
für meine Diplomarbeit habe eine Asterisk PBX mit IDSN Schnittstelle eingerichtet. Für den eingehenden Anruf scheint mir folgendes:
== ISDN1#02: Incoming call '3825' -> ''
== ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 4
Nach Aktivierung des Capi Debug Modes:
CAPI: ApplId=0x0003 Command=0x02 SubCommand=0x82 MsgNum=0x003a NCCI=0x00000101
CONNECT_IND ID=003 #0x003a LEN=0034
Controller/PLCI/NCCI = 0x101
CIPValue = 0x10
CalledPartyNumber = default
CallingPartyNumber = <00 80>3825
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = <91 81>
AdditionalInfo = default
-- CONNECT_IND (PLCI=0x101,DID=,CID=3825,CIP=0x10,CONTROLLER=0x1)
== ISDN1#02: setting format alaw - 0x8 (alaw)
== ISDN1#02: Incoming call '3825' -> ''
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x003b NCCI=0x00000101
INFO_IND ID=003 #0x003b LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x28
InfoElement = 3825
INFO_RESP ID=003 #0x003b LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element DSP
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x003c NCCI=0x00000101
INFO_IND ID=003 #0x003c LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x003c LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x003f NCCI=0x00000101
INFO_IND ID=003 #0x003f LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x28
InfoElement = 3825
INFO_RESP ID=003 #0x003f LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element DSP
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x0040 NCCI=0x00000101
INFO_IND ID=003 #0x0040 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x0040 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x0041 NCCI=0x00000101
INFO_IND ID=003 #0x0041 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x28
InfoElement = 3825
INFO_RESP ID=003 #0x0041 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element DSP
CAPI: ApplId=0x0003 Command=0x08 SubCommand=0x82 MsgNum=0x0042 NCCI=0x00000101
INFO_IND ID=003 #0x0042 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x0042 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: info element CHANNEL IDENTIFICATION 89
CAPI: ApplId=0x0003 Command=0x04 SubCommand=0x82 MsgNum=0x0043 NCCI=0x00000101
DISCONNECT_IND ID=003 #0x0043 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0
DISCONNECT_RESP ID=003 #0x0043 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1#02: DISCONNECT_IND on incoming without pbx, doing hangup.
> CAPI/ISDN1#02/-0: set channel task to 1
== ISDN1#02: CAPI Hangingup for PLCI=0x101 in state 4
== ISDN1#02: Interface cleanup PLCI=0x101
> chan_capi devicestate requested for ISDN1#02/ is 'Not in use'
Der Inhalt der capi.conf Datei:
;
; CAPI config
;
;
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
[ISDN1]
; mode: ptmp (point-to-multipoint) or ptp (point-to-point)
isdnmode=msn
; allow incoming calls to this list of MSNs, * == any
incomingmsn=*
; capi controller number
controller=1
; dialout group
group=1
; enable/disable software dtmf detection, recommended for AVM cards
softdtmf=yes
; accountcode to use in CDRs
accountcode=
; context for incoming calls
context=capi-in
; _VERY_PRIMITIVE_ echo suppression
;echosquelch=1
; EICON DIVA SERVER echo cancelation
;echocancel=yes
;echotail=64
; call group
;callgroup=1
; deflect incoming calls to 12345678 if all B channels are busy
;deflect=12345678
; number of concurrent calls on this controller (2 makes sense for single BRI)
devices => 2
Kann jemand mir dabei helfen?
PS: Die anrufende Nummer 3825 ist eine interne Rufnummer von der Firma, die extern unter Vorwahl+Ortswahl+Durchwanl+3825 erreichbar ist.