Hallo,
nun nochmals das capi debug mit dem immediate schalter :
--------
Asterisk 1.2.4, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <
[email protected]> +++ compiled for VoIPBoX 0.1.7b
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'show warranty' for details.
This is free software, with components licensed under the GNU General Public
License version 2 and other licenses; you are welcome to redistribute it under
certain conditions. Type 'show license' for details.
=========================================================================
Connected to Asterisk 1.2.4 currently running on voipbox (pid = 9354)
voipbox*CLI> set verbose 5
Verbosity was 0 and is now 5
voipbox*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=001 #0x0000 LEN=0043
Controller/PLCI/NCCI = 0x101
CIPValue = 0x4
CalledPartyNumber = <80>120
CallingPartyNumber = <09 80>570
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <90 90 a3>
LLC = default
HLC = default
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = <04>
Facilitydataarray = default
-- CONNECT_IND (PLCI=0x101,DID=120,CID=570,CIP=0x4,CONTROLLER=0x1)
> ISDN1: msn='*' DNID='120' MSN
== ISDN1: Incoming call '570' -> '120'
INFO_IND ID=001 #0x0001 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <80 83>
INFO_RESP ID=001 #0x0001 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element PI 80 83
> ISDN1: Origination is non ISDN
INFO_IND ID=001 #0x0002 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x7e
InfoElement = <04>
INFO_RESP ID=001 #0x0002 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x0003 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <80>120
INFO_RESP ID=001 #0x0003 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x0004 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=001 #0x0004 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CHANNEL IDENTIFICATION 89
INFO_IND ID=001 #0x0005 LEN=0017
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x1e
InfoElement = <80 83>
INFO_RESP ID=001 #0x0005 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element PI 80 83
> ISDN1: Origination is non ISDN
INFO_IND ID=001 #0x0006 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x7e
InfoElement = <04>
INFO_RESP ID=001 #0x0006 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x101)
INFO_IND ID=001 #0x0007 LEN=0019
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <80>120
INFO_RESP ID=001 #0x0007 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0x0008 LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <81>
INFO_RESP ID=001 #0x0008 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: info element CHANNEL IDENTIFICATION 81
DISCONNECT_IND ID=001 #0x0009 LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0
DISCONNECT_RESP ID=001 #0x0009 LEN=0012
Controller/PLCI/NCCI = 0x101
-- ISDN1: DISCONNECT_IND on incoming without pbx, doing hangup.
== ISDN1: CAPI Hangingup
== ISDN1: Interface cleanup PLCI=0x101
> CAPI devicestate requested for ISDN1/120
voipbox*CLI>
----------
die capi.conf:
-----------
[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
;name not starting with 'g' or 'contr'.
;ntmode=yes ;if 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 dial option 'd' is set.
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
;language=de ;set language for this device (overwrites default language)
devices=2 ;number of concurrent calls on this controller
;(2 makes sense for single BRI, 30 for PRI)
Wo finde ich den die chan-capi.c ?
Danke dir
Gruss
Florian