ISDN mit AVM FritzCard funktioniert nicht

robi1a

Neuer User
Mitglied seit
29 Dez 2008
Beiträge
74
Punkte für Reaktionen
0
Punkte
0
Hallo

Jetzt bin ich mit meiner Weisheit am Ende. Ich hoffe mir kann wer helfen.
Seit MOnaten probiere ich nun schon ein Linux System mit Asterisk und einer AVM Fritz!Card PCI ISDN Karte zum laufen zu bringen.
Dazu habe ich CAPI eingerichtet. Die CAPI Treiber werden geladen und finden die Karte.
Nur wird weder raus gewählt noch ein ankommender Anruf entgegen genommen. Bei ankommenden Anruf hört man nur "Anschluss nicht verfügbar".
Folgend nun alles was ich in den Logs sehe bzw. konfiguriert habe:

Linux: openSuse 11.4
Asterisk: Asterisk 1.8.8.0

uname -a
Code:
Linux asterisk 2.6.37.6-0.11-desktop #1 SMP PREEMPT 2011-12-19 23:39:38 +0100 x86_64 x86_64 x86_64 GNU/Linux

/etc/asterisk/capi.conf (Auszug)
Code:
[general]
nationalprefix=0    
internationalprefix=00 
rxgain=1.0       ;linear receive gain (1.0 = no change)
txgain=1.0       ;linear transmit gain (1.0 = no change)
language=de      ;set default language

; interface sections ...
[ISDN1] 
isdnmode=msn 
incomingmsn=* 
controller=1    
group=1         
softdtmf=on 
relaxdtmf=on

/etc/asterisk/extensio.conf (Auszug)
Code:
exten => s,22,Dial(CAPI/contr1/${ARG2},${RINGTIME_OUT},${DIALOPTS_G})

/etc/capi.conf
Code:
#SuSEconfig.isdn generated
# card	file	proto	io	irq	mem	cardnr	options
fcpci	-	-	-	-	-	-


lsmod (Auszug)
Code:
capidrv                31217  1 
isdn                  159016  5 capidrv
capi                   16052  4 
capifs                  4052  2 capi
kernelcapi             46302  3 capidrv,capi,fcpci
fcpci                 637882  2


/var/log/boot.msg (Auszug)
Code:
<4>[    8.448484] fcpci: module license 'Proprietary' taints kernel.
<4>[    8.452736] Disabling lock debugging due to kernel taint
<6>[    8.466233] fcpci: AVM FRITZ!Card PCI driver, revision 0.7.2
<6>[    8.471204] fcpci: (fcpci built on Nov 16 2011 at 22:23:32)
<6>[    8.475503] fcpci: -- 64 bit CAPI driver --
<6>[    8.479965] fcpci 0000:0a:0a.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
<6>[    8.484216] fcpci: AVM FRITZ!Card PCI found: port 0x4000, irq 22
<6>[    8.488467] fcpci: Loading...
<6>[    8.493052] fcpci: Driver 'fcpci' attached to fcpci-stack. (304)
<6>[    8.718018] fcpci: Stack version 3.11-07
<5>[    8.722388] kcapi: controller [001]: fcpci-4000-22 attached
<5>[    8.726422] kcapi: controller [001] "fcpci-4000-22" ready.
<6>[    8.730666] fcpci: Loaded.
   :
udevd-work[477]: kernel-provided name 'capi' and NAME= 'capi20' disagree, please use SYMLINK+= or change the kernel to provide the proper name
   :
Setting up ISDN card contr0 AVM FRITZ!Card PCI v2.0 in usedone
Loading Driver contr0 1 kcapi capi
<notice -- Apr 26 18:53:02.943082000> service earlysyslog done
done
Initializing capi for contr0 (1)done
<notice -- Apr 26 18:53:13.432862000> 
service isdn done

avmcapictrl trace full (beim rauswählen von Asterisk). Eingehende Anrufe werden überhaupt nicht registiert.
Code:
Apr 26 18:03:52 asterisk kernel: [  208.864027] kcapi: put [001] LISTEN_REQ                 ID=001 #0x0004 LEN=0026
Apr 26 18:03:52 asterisk kernel: [  208.864029]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:03:52 asterisk kernel: [  208.864030]   InfoMask                        = 0x40
Apr 26 18:03:52 asterisk kernel: [  208.864032]   CIPmask                         = 0x1fff03ff
Apr 26 18:03:52 asterisk kernel: [  208.864033]   CIPmask2                        = 0x0
Apr 26 18:03:52 asterisk kernel: [  208.864034]   CallingPartyNumber              = default
Apr 26 18:03:52 asterisk kernel: [  208.864036]   CallingPartySubaddress          = default
Apr 26 18:03:52 asterisk kernel: [  208.864037] 
Apr 26 18:03:52 asterisk kernel: [  208.864062] kcapi: got [001] LISTEN_CONF                ID=001 #0x0004 LEN=0014
Apr 26 18:03:52 asterisk kernel: [  208.864064]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:03:52 asterisk kernel: [  208.864065]   Info                            = 0x0
Apr 26 18:03:52 asterisk kernel: [  208.864066] 
Apr 26 18:04:26 asterisk asterisk[2826]: NOTICE[4247]: console_video.c:133 in console_video_start: voice only, console video support not prese
nt
Apr 26 18:04:26 asterisk kernel: [  242.779139] kcapi: put [001] CONNECT_REQ                ID=003 #0x0004 LEN=0065
Apr 26 18:04:26 asterisk kernel: [  242.779142]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.779143]   CIPValue                        = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.779145]   CalledPartyNumber               = <80>0664618xxxx
Apr 26 18:04:26 asterisk kernel: [  242.779146]   CallingPartyNumber              = <00 80>01688xxxx
Apr 26 18:04:26 asterisk kernel: [  242.779147]   CalledPartySubaddress           = default
Apr 26 18:04:26 asterisk kernel: [  242.779148]   CallingPartySubaddress          = default
Apr 26 18:04:26 asterisk kernel: [  242.779150]   BProtocol                      
Apr 26 18:04:26 asterisk kernel: [  242.779151]    B1protocol                     = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.779152]    B2protocol                     = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.779153]    B3protocol                     = 0x0
Apr 26 18:04:26 asterisk kernel: [  242.779155]    B1configuration                = default
Apr 26 18:04:26 asterisk kernel: [  242.779156]    B2configuration                = default
Apr 26 18:04:26 asterisk kernel: [  242.779157]    B3configuration                = default
Apr 26 18:04:26 asterisk kernel: [  242.779158]   BC                              = default
Apr 26 18:04:26 asterisk kernel: [  242.779160]   LLC                             = default
Apr 26 18:04:26 asterisk kernel: [  242.779161]   HLC                             = default
Apr 26 18:04:26 asterisk kernel: [  242.779162]   AdditionalInfo                  = default
Apr 26 18:04:26 asterisk kernel: [  242.779163] 
Apr 26 18:04:26 asterisk kernel: [  242.779221] kcapi: got [001] CONNECT_CONF               ID=003 #0x0004 LEN=0014
Apr 26 18:04:26 asterisk kernel: [  242.779223]   Controller/PLCI/NCCI            = 0x101
Apr 26 18:04:26 asterisk kernel: [  242.779224]   Info                            = 0x0
Apr 26 18:04:26 asterisk kernel: [  242.779225] 
Apr 26 18:04:26 asterisk kernel: [  242.779293] kcapi: got [001] MANUFACTURER_IND           ID=001 #0x0000 LEN=0035
Apr 26 18:04:26 asterisk kernel: [  242.779295]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.779296]   ManuID                          = 0x214d5641
Apr 26 18:04:26 asterisk kernel: [  242.779297]   Class                           = 0x0
Apr 26 18:04:26 asterisk kernel: [  242.779298]   Function                        = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.779299]   ManuData                        = <80 08>374377<03 0f 97 a8 01>377
Apr 26 18:04:26 asterisk kernel: [  242.779301] 
Apr 26 18:04:26 asterisk kernel: [  242.798843] kcapi: got [001] MANUFACTURER_IND           ID=001 #0x0000 LEN=0035
Apr 26 18:04:26 asterisk kernel: [  242.798846]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.798847]   ManuID                          = 0x214d5641
Apr 26 18:04:26 asterisk kernel: [  242.798849]   Class                           = 0x0
Apr 26 18:04:26 asterisk kernel: [  242.798850]   Function                        = 0x1
Apr 26 18:04:26 asterisk kernel: [  242.798851]   ManuData                        = <80 04>376377<03 0f 97 a8 03>377
Apr 26 18:04:26 asterisk kernel: [  242.798853] 
Apr 26 18:04:28 asterisk kernel: [  244.780658] kcapi: got [001] MANUFACTURER_IND           ID=001 #0x0000 LEN=0035
Apr 26 18:04:28 asterisk kernel: [  244.780660]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:28 asterisk kernel: [  244.780662]   ManuID                          = 0x214d5641
Apr 26 18:04:28 asterisk kernel: [  244.780663]   Class                           = 0x0
Apr 26 18:04:28 asterisk kernel: [  244.780664]   Function                        = 0x1
Apr 26 18:04:28 asterisk kernel: [  244.780665]   ManuData                        = <80 08>374377<03 0f 9f>z<01>377
Apr 26 18:04:28 asterisk kernel: [  244.780667] 
Apr 26 18:04:28 asterisk kernel: [  244.799941] kcapi: got [001] MANUFACTURER_IND           ID=001 #0x0000 LEN=0035
Apr 26 18:04:28 asterisk kernel: [  244.799942]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:28 asterisk kernel: [  244.799944]   ManuID                          = 0x214d5641
Apr 26 18:04:28 asterisk kernel: [  244.799945]   Class                           = 0x0
Apr 26 18:04:28 asterisk kernel: [  244.799946]   Function                        = 0x1
Apr 26 18:04:28 asterisk kernel: [  244.799947]   ManuData                        = <80 04>376377<03 0f 9f>z<03>377
Apr 26 18:04:28 asterisk kernel: [  244.799949] 
Apr 26 18:04:30 asterisk kernel: [  246.784521] kcapi: got [001] MANUFACTURER_IND           ID=001 #0x0000 LEN=0035
Apr 26 18:04:30 asterisk kernel: [  246.784523]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:30 asterisk kernel: [  246.784524]   ManuID                          = 0x214d5641
Apr 26 18:04:30 asterisk kernel: [  246.784526]   Class                           = 0x0
Apr 26 18:04:30 asterisk kernel: [  246.784527]   Function                        = 0x1
Apr 26 18:04:30 asterisk kernel: [  246.784528]   ManuData                        = <80 08>374377<03 0f a7>O<01>377
Apr 26 18:04:30 asterisk kernel: [  246.784530] 
Apr 26 18:04:30 asterisk kernel: [  246.804183] kcapi: got [001] MANUFACTURER_IND           ID=001 #0x0000 LEN=0035
Apr 26 18:04:30 asterisk kernel: [  246.804185]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:30 asterisk kernel: [  246.804186]   ManuID                          = 0x214d5641
Apr 26 18:04:30 asterisk kernel: [  246.804187]   Class                           = 0x0
Apr 26 18:04:30 asterisk kernel: [  246.804188]   Function                        = 0x1
Apr 26 18:04:30 asterisk kernel: [  246.804189]   ManuData                        = <80 04>376377<03 0f a7>O<03>377
Apr 26 18:04:30 asterisk kernel: [  246.804191] 
Apr 26 18:04:32 asterisk kernel: [  248.788373] kcapi: got [001] DISCONNECT_IND             ID=003 #0x0000 LEN=0014
Apr 26 18:04:32 asterisk kernel: [  248.788376]   Controller/PLCI/NCCI            = 0x101
Apr 26 18:04:32 asterisk kernel: [  248.788377]   Reason                          = 0x3302
Apr 26 18:04:32 asterisk kernel: [  248.788378] 
Apr 26 18:04:32 asterisk kernel: [  248.788567] kcapi: put [001] DISCONNECT_RESP            ID=003 #0x0000 LEN=0012
Apr 26 18:04:32 asterisk kernel: [  248.788569]   Controller/PLCI/NCCI            = 0x101
Apr 26 18:04:32 asterisk kernel: [  248.788571] 
Apr 26 18:04:52 asterisk kernel: [  269.024027] kcapi: put [001] LISTEN_REQ                 ID=001 #0x0005 LEN=0026
Apr 26 18:04:52 asterisk kernel: [  269.024029]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:52 asterisk kernel: [  269.024030]   InfoMask                        = 0x40
Apr 26 18:04:52 asterisk kernel: [  269.024032]   CIPmask                         = 0x1fff03ff
Apr 26 18:04:52 asterisk kernel: [  269.024033]   CIPmask2                        = 0x0
Apr 26 18:04:52 asterisk kernel: [  269.024034]   CallingPartyNumber              = default
Apr 26 18:04:52 asterisk kernel: [  269.024036]   CallingPartySubaddress          = default
Apr 26 18:04:52 asterisk kernel: [  269.024037] 
Apr 26 18:04:52 asterisk kernel: [  269.024076] kcapi: got [001] LISTEN_CONF                ID=001 #0x0005 LEN=0014
Apr 26 18:04:52 asterisk kernel: [  269.024078]   Controller/PLCI/NCCI            = 0x1
Apr 26 18:04:52 asterisk kernel: [  269.024080]   Info                            = 0x0
Apr 26 18:04:52 asterisk kernel: [  269.024081]

/var/log/asterisk/debug (Auszug)
Code:
[2012-04-26 18:03:46] VERBOSE[2826] config.c:   == Parsing '/etc/asterisk/capi.conf': [2012-04-26 18:03:46] DEBUG[2826] config.c: Parsing /etc/asterisk/capi.conf
[2012-04-26 18:03:46] VERBOSE[2826] config.c:   == Found
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- Registering at CAPI (blocksize=160 maxlogicalchannels=2)
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:   == This box has 1 capi controller(s).
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- Contr1 supports DTMF
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- Contr1 supports supplementary services
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:        > FACILITY_CONF INFO = 0
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:        > supplementary services : 0x000003ff
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:        >  [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: HOLD/RETRIEVE [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: TERMINAL-PORTABILITY [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: ECT [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: 3PTY [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: CF [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: CD [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: MCID [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: CCBS [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: MWI [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: CCNR [2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c: 
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- Contr1 private options=0x01000001
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:   == Reading config for ISDN1
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- capi D ISDN1#00 (*:ISDNline) contr=1 devs=2 EC=0,opt=4,tail=0
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- capi B ISDN1#01 (*:ISDNline) contr=1 devs=2 EC=0,opt=4,tail=0
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- capi B ISDN1#02 (*:ISDNline) contr=1 devs=2 EC=0,opt=4,tail=0
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- Registering at CAPI (blocksize=160 maxlogicalchannels=3)
[2012-04-26 18:03:46] VERBOSE[2826] chan_capi_utils.c:     -- listening on contr1 CIPmask = 0x1fff03ff
[2012-04-26 18:03:46] DEBUG[2826] channel.c: Registered handler for 'CAPI' (Common ISDN API Driver ($Revision: 946 $))
[2012-04-26 18:03:46] VERBOSE[2826] channel.c:   == Registered channel type 'CAPI' (Common ISDN API Driver ($Revision: 946 $))
[2012-04-26 18:03:46] VERBOSE[2826] manager.c:   == Manager registered action CapichatList
[2012-04-26 18:03:46] VERBOSE[2826] manager.c:   == Manager registered action CapichatMute
[2012-04-26 18:03:46] VERBOSE[2826] manager.c:   == Manager registered action CapichatUnmute
[2012-04-26 18:03:46] VERBOSE[2826] manager.c:   == Manager registered action CapichatRemove
[2012-04-26 18:03:46] VERBOSE[2826] manager.c:   == Manager registered action CapiCommand
[2012-04-26 18:03:46] VERBOSE[2826] pbx.c:   == Registered application 'capicommand'
[2012-04-26 18:03:46] DEBUG[2861] devicestate.c: No provider found, checking channel drivers for CAPI - I1/congestion
[2012-04-26 18:03:46] DEBUG[2861] devicestate.c: Changing state for CAPI/I1/congestion - state 1 (Not in use)
[2012-04-26 18:03:46] DEBUG[2861] devicestate.c: device 'CAPI/I1/congestion' state '1'
[2012-04-26 18:03:46] VERBOSE[2826] loader.c:  chan_capi.so => (Common ISDN API Driver ($Revision: 946 $))
   :
[2012-04-26 18:04:26] VERBOSE[4813] pbx.c:     -- Executing [s@macro-BUEROdial:21] Set("Console/dsp", "CALLERID(all)=Richter <01688xxxx>") in 
new stack
[2012-04-26 18:04:26] DEBUG[4813] app_macro.c: Executed application: Set
[2012-04-26 18:04:26] DEBUG[4813] pbx.c: Result of 'ARG2' is '0664618xxxx'
[2012-04-26 18:04:26] DEBUG[4813] pbx.c: Result of 'RINGTIME_OUT' is '45'
[2012-04-26 18:04:26] DEBUG[4813] pbx.c: Result of 'DIALOPTS_G' is 'tTo'
[2012-04-26 18:04:26] DEBUG[4813] pbx.c: Launching 'Dial'
[2012-04-26 18:04:26] VERBOSE[4813] pbx.c:     -- Executing [s@macro-BUEROdial:22] Dial("Console/dsp", "CAPI/contr1/0664618xxxx,45,tTo") in new stack
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:        > data = contr1/0664618xxxx format=0x8 (alaw)
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:        > parsed dialstring: 'contr1' 'NULL' '0664618xxxx' ''
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:        > capi request controller = 1
[2012-04-26 18:04:26] DEBUG[4813] dsp.c: Setup tone 1100 Hz, 500 ms, block_size=160, hits_required=21
[2012-04-26 18:04:26] DEBUG[4813] dsp.c: Setup tone 2100 Hz, 2600 ms, block_size=160, hits_required=116
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:   == ISDN1#02: setting format alaw - 0x8 (alaw)
[2012-04-26 18:04:26] DEBUG[4813] rtp_engine.c: Can't find native functions for channel 'CAPI/ISDN1#02/0664618xxxx-0'
[2012-04-26 18:04:26] DEBUG[4813] rtp_engine.c: Seeded SDP of 'CAPI/ISDN1#02/0664618xxxx-0' with that of 'Console/dsp'
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable DIALEDTIME.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable ANSWEREDTIME.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable DIALEDPEERNAME.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable DIALEDPEERNUMBER.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable DIALSTATUS.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable MACRO_DEPTH.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable ARG3.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable ARG2.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable ARG1.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable MACRO_PRIORITY.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable MACRO_CONTEXT.
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Not copying variable MACRO_EXTEN.
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:        > parsed dialstring: 'contr1' 'NULL' '0664618xxxx' ''
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:        > capi: peerlink -1 allocated, peer is unlinked
[2012-04-26 18:04:26] DEBUG[2861] devicestate.c: No provider found, checking channel drivers for CAPI - ISDN1#02/0664618xxxx
[2012-04-26 18:04:26] VERBOSE[2861] chan_capi_utils.c:        > chan_capi devicestate requested for ISDN1#02/0664618xxxx is 'In use'
[2012-04-26 18:04:26] DEBUG[2861] devicestate.c: Changing state for CAPI/ISDN1#02/0664618xxxx - state 2 (In use)
[2012-04-26 18:04:26] DEBUG[2861] devicestate.c: device 'CAPI/ISDN1#02/0664618xxxx' state '2'
[2012-04-26 18:04:26] DEBUG[4713] app_queue.c: Device 'CAPI/ISDN1#02/0664618xxxx' changed to state '2' (In use) but we don't care because they're not a member of any queue.
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c:   == ISDN1#02: Call CAPI/ISDN1#02/0664618xxxx-0   (pres=0x00, ton=0x00)
[2012-04-26 18:04:26] VERBOSE[4813] chan_capi_utils.c: CONNECT_REQ                ID=003 #0x0004 LEN=0065
  Controller/PLCI/NCCI            = 0x1
  CIPValue                        = 0x1
  CalledPartyNumber               = <80>0664618xxxx
  CallingPartyNumber              = <00 80>01688xxxx
  CalledPartySubaddress           = default
  CallingPartySubaddress          = default
  BProtocol                      
   B1protocol                     = 0x1
   B2protocol                     = 0x1
   B3protocol                     = 0x0
   B1configuration                = default
   B2configuration                = default
   B3configuration                = default
   GlobalConfiguration            = default
  BC                              = default
  LLC                             = default
  HLC                             = default
  AdditionalInfo                 
   BChannelinformation            = <00 00>
   Keypadfacility                 = default
   Useruserdata                   = default
   Facilitydataarray              = default
   SendingComplete                = <01 00>

[2012-04-26 18:04:26] VERBOSE[4706] chan_capi_utils.c: CAPI: ApplId=0x0003 Command=0x02 SubCommand=0x81 MsgNum=0x0004 NCCI=0x00000101
[2012-04-26 18:04:26] VERBOSE[4706] chan_capi_utils.c: CONNECT_CONF               ID=003 #0x0004 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Info                            = 0x0

[2012-04-26 18:04:26] VERBOSE[4706] chan_capi_utils.c:     -- ISDN1#02: received CONNECT_CONF PLCI = 0x101
[2012-04-26 18:04:26] VERBOSE[4813] app_dial.c:     -- Called CAPI/contr1/0664618xxxx
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Set channel CAPI/ISDN1#02/0664618xxxx-0 to read format slin
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Set channel Console/dsp to write format slin
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Set channel Console/dsp to read format slin
[2012-04-26 18:04:26] DEBUG[4813] channel.c: Set channel CAPI/ISDN1#02/0664618xxxx-0 to write format slin
[2012-04-26 18:04:32] VERBOSE[4706] chan_capi_utils.c: CAPI: ApplId=0x0003 Command=0x04 SubCommand=0x82 MsgNum=0x0000 NCCI=0x00000101
[2012-04-26 18:04:32] VERBOSE[4706] chan_capi_utils.c: DISCONNECT_IND             ID=003 #0x0000 LEN=0014
  Controller/PLCI/NCCI            = 0x101
  Reason                          = 0x3302

[2012-04-26 18:04:32] VERBOSE[4706] chan_capi_utils.c: DISCONNECT_RESP            ID=003 #0x0000 LEN=0012
  Controller/PLCI/NCCI            = 0x101

[2012-04-26 18:04:32] VERBOSE[4706] chan_capi_utils.c:        > ISDN1#02: CAPI INFO 0x3302: Protocol error layer 2
[2012-04-26 18:04:32] VERBOSE[4706] frame.c:     -- chan_capi queue frame:Control (4) SUBCLASS: Hangup (1) ] [ISDN1#02]
[2012-04-26 18:04:32] DEBUG[4813] channel.c: Hanging up channel 'CAPI/ISDN1#02/0664618xxxx-0'
[2012-04-26 18:04:32] VERBOSE[4813] chan_capi_utils.c:   == ISDN1#02: CAPI Hangingup for PLCI=0xdead0000 in state 4
[2012-04-26 18:04:32] VERBOSE[4813] chan_capi_utils.c:   == ISDN1#02: Interface cleanup PLCI=0xdead0000
[2012-04-26 18:04:32] DEBUG[2861] devicestate.c: No provider found, checking channel drivers for CAPI - ISDN1#02/0664618xxxx
[2012-04-26 18:04:32] VERBOSE[2861] chan_capi_utils.c:        > chan_capi devicestate requested for ISDN1#02/0664618xxxx is 'Not in use'
[2012-04-26 18:04:32] DEBUG[2861] devicestate.c: Changing state for CAPI/ISDN1#02/0664618xxxx - state 1 (Not in use)
[2012-04-26 18:04:32] DEBUG[2861] devicestate.c: device 'CAPI/ISDN1#02/0664618xxxx' state '1'
[2012-04-26 18:04:32] DEBUG[4713] app_queue.c: Device 'CAPI/ISDN1#02/0664618xxxx' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2012-04-26 18:04:32] DEBUG[2861] devicestate.c: No provider found, checking channel drivers for CAPI - ISDN1#02/0664618xxxx
[2012-04-26 18:04:32] VERBOSE[2861] chan_capi_utils.c:        > chan_capi devicestate requested for ISDN1#02/0664618xxxx is 'Not in use'
[2012-04-26 18:04:32] DEBUG[2861] devicestate.c: Changing state for CAPI/ISDN1#02/0664618xxxx - state 1 (Not in use)
[2012-04-26 18:04:32] DEBUG[2861] devicestate.c: device 'CAPI/ISDN1#02/0664618xxxx' state '1'
[2012-04-26 18:04:32] DEBUG[4713] app_queue.c: Device 'CAPI/ISDN1#02/0664618xxxx' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.
[2012-04-26 18:04:32] VERBOSE[4813] app_dial.c:     -- No one is available to answer at this time (1:0/0/0)
[2012-04-26 18:04:32] DEBUG[4813] app_dial.c: Exiting with DIALSTATUS=NOANSWER.
[2012-04-26 18:04:32] DEBUG[4813] app_macro.c: Executed application: Dial
[2012-04-26 18:04:32] DEBUG[4813] pbx.c: Launching 'Hangup'
[2012-04-26 18:04:32] VERBOSE[4813] pbx.c:     -- Executing [00664618xxxx@BUEROexternal:3] Hangup("Console/dsp", "") in new stack
[2012-04-26 18:04:32] DEBUG[4813] pbx.c: Spawn extension (BUEROexternal,00664618xxxx,3) exited non-zero on 'Console/dsp'
[2012-04-26 18:04:32] VERBOSE[4813] pbx.c:   == Spawn extension (BUEROexternal, 00664618xxxx, 3) exited non-zero on 'Console/dsp'
[2012-04-26 18:04:32] DEBUG[4813] channel.c: Soft-Hanging up channel 'Console/dsp'
[2012-04-26 18:04:32] DEBUG[4813] channel.c: Hanging up channel 'Console/dsp'

capiinfo
Code:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-07  (49.23)
Serial Number: 1000001
BChannels: 2
Global Options: 0x00000039
   internal controller supported
   DTMF supported
   Supplementary Services supported
   channel allocation supported (leased lines)
B1 protocols support: 0x4000011f
   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
   Modem asyncronous operation with start/stop byte framing
B2 protocols support: 0x00000b1b
   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 bit-transparent mode
B3 protocols support: 0x800000bf
   Transparent
   T.90NL, T.70NL, T.90
   ISO 8208 (X.25 DTE-DTE)
   X.25 DCE
   T.30 for fax group 3
   T.30 for fax group 3 with extensions
   Modem

  0100
  0200
  39000000
  1f010040
  1b0b0000
  bf000080
  00000000 00000000 00000000 00000000 00000000 00000000
  01000001 00020000 00000000 00000000 00000000

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

capiinit status
Code:
1 fcpci      running  fcpci-4000-22    A1 3.11-07 0x4000 22

ls -l /dev/capi*
Code:
crw-rw---- 1 root dialout 68, 0 Apr 26 18:53 /dev/capi20

Asterisk commands:
Code:
asterisk*CLI> capi info
Common ISDN API Driver ($Revision: 946 $) www.chan-capi.org
Contr1: 2 B channels total, 2 B channels free.

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

asterisk*CLI> capi show resources
CAPI resources in use:
Line-Name                                Domain DTMF EchoCancel NoiseSupp RxAGC TxAGC RxGain TxGain CAPI   Queue  
-----------------------------------------------------------------------------------------------------------------

asterisk*CLI> capi show bridges
CAPI conference bridges in use:
Bridge            Group Members CAPI Queue depth
----------------------------------------------------------------------------------------------------------

Für jede Hilfe wäre ich dankbar.
 
Kostenlos!

Statistik des Forums

Themen
248,878
Beiträge
2,303,769
Mitglieder
378,546
Neuestes Mitglied
Looki_Luzi