- Mitglied seit
- 24 Mrz 2007
- Beiträge
- 5
- Punkte für Reaktionen
- 0
- Punkte
- 1
Hallo,
ich kämpfe seit Tagen damit, dass sich chan_capi mit einer Error_Meldung meldet.
ERROR[8691] chan_capi.c: Unable to listen on contr1 (error=0x100f)
Das Kuriose: manchmal (aber sehr selten) startet Asterisk mit chan_capi und dann kann ich auch über ISDN rein und raus telefonieren. Dabei wurde an den config's nicht geändert und es hat scheinbar auch nichts mit einem Reboot zu tun. Die Ausgabev von capiinfo hab ich gecheckt, die gleichen 1:1 den ansonsten im Forum geposteten, auch pon funktioniert und aktiviert ppp0 !
Zwischendurch kam ich mal auf die Idee, die mISDn Treiber zu blacklisten --> es hat aber keine Änderung gebracht.
Hat irgendjemand einen Tipp für mich, ich hab einfach keine Idee mehr.
Mein System: Kubuntu 6.06, Astreisk 1.4.2 (hab 1.4.0 und 1.4.1 davor auch probiert), chan_capi_head (auch hier begann ich mit 1.0.0), AVM Fitz PCI Card.
lsmod | grep capi -->
Die etwas ausführlicher Info beim Starten von Asterisk (chan_capi Block) -->
und auch noch die capi.conf
Danke
Jörg
ich kämpfe seit Tagen damit, dass sich chan_capi mit einer Error_Meldung meldet.
ERROR[8691] chan_capi.c: Unable to listen on contr1 (error=0x100f)
Das Kuriose: manchmal (aber sehr selten) startet Asterisk mit chan_capi und dann kann ich auch über ISDN rein und raus telefonieren. Dabei wurde an den config's nicht geändert und es hat scheinbar auch nichts mit einem Reboot zu tun. Die Ausgabev von capiinfo hab ich gecheckt, die gleichen 1:1 den ansonsten im Forum geposteten, auch pon funktioniert und aktiviert ppp0 !
Zwischendurch kam ich mal auf die Idee, die mISDn Treiber zu blacklisten --> es hat aber keine Änderung gebracht.
Hat irgendjemand einen Tipp für mich, ich hab einfach keine Idee mehr.
Mein System: Kubuntu 6.06, Astreisk 1.4.2 (hab 1.4.0 und 1.4.1 davor auch probiert), chan_capi_head (auch hier begann ich mit 1.0.0), AVM Fitz PCI Card.
lsmod | grep capi -->
Code:
root@server-main:~# lsmod |grep capi
capi 18496 8
capifs 6024 2 capi
kernelcapi 48288 2 fcpci,capi
root@server-main:~#
Die etwas ausführlicher Info beim Starten von Asterisk (chan_capi Block) -->
Code:
== Parsing '/etc/asterisk/capi.conf': Found
-- Registering at CAPI (blocksize=160 maxlogicalchannels)
== This box has 1 capi controller(s).
-- CAPI/contr1 supports DTMF
-- CAPI/contr1 supports supplementary services
> supplementary services : 0x000003ff
> HOLD/RETRIEVE TERMINAL-PORTABILITY ECT 3PTY CF CD MCID CCBS MWI CCNR
-- CAPI/contr1 private options=0x01000001
-- capi D ISDN1#00 (449520:capi-in) contr=1 devs=2 EC=0,opt=4,tail=0
-- capi B ISDN1#01 (449520:capi-in) contr=1 devs=2 EC=0,opt=4,tail=0
-- capi B ISDN1#02 (449520:capi-in) contr=1 devs=2 EC=0,opt=4,tail=0
-- Registering at CAPI (blocksize=160 maxlogicalchannels)
[Mar 22 20:52:14] ERROR[8691]: chan_capi.c:5758 cc_post_init_capi: Unable to listen on contr1 (error=0x100f)
== Registered channel type 'CAPI' (Common ISDN API Driver ($Revision: 431 $))
== Registered application 'capiCommand'
chan_capi.so => (Common ISDN API Driver ($Revision: 431 $))
und auch noch die capi.conf
Code:
; CAPI config
;
; general section
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8 ;linear receive gain (1.0 = no change)
txgain=0.8 ;linear transmit gain (1.0 = no change)
language=de ;set default language
alaw=yes
;ulaw=yes ;set this, if you live in u-law world instead of a-law
;jb..... ;with Asterisk 1.4 you can configure jitterbuffer,
;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
; interface sections ...
[ISDN1] ;this example interface gets name 'ISDN1' and may be any
;name not starting with 'g' or 'contr'.
;Use one interface section for each isdn port!
;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=449520 ;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 of this interface/port
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
faxdetect=off ;enable faxdetection and redirection to EXTEN 'fax' for incoming and/or
;outgoing calls. (default='off', possible values: 'incoming','outgoing','both')
accountcode= ;PBX accountcode to use in CDRs
;amaflags=default;AMA flags for CDR ('default', 'omit', 'billing', or 'documentation')
context=capi-in ;context for incoming calls
;holdtype=hold ;when the PBX puts the call on hold, ISDN HOLD will be used. If
;set to 'local' (default value), no hold is done and the PBX 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 (yes=g165)
;(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 (default=0 for maximum)
;echocancelnlp=1 ;activate non-linear-processing; this improves echo cancel ratio, but might
;incorporate variable gain in the signal path.
;bridge=yes ;native bridging (CAPI line interconnect) if available
;callgroup=1 ;PBX call group
;pickupgroup=1 ;PBX pickup group (which call groups are we allowed to pickup)
;language=de ;set language for this device (overwrites default language)
;disallow=all ;RTP codec selection (valid with Eicon DIVA Server only)
;allow=all ;RTP codec selection (valid with Eicon DIVA Server only)
devices=2 ;number of concurrent calls (b-channels) on this controller
;(2 makes sense for single BRI, 30/23 for PRI/T1)
;jb..... ;with Asterisk 1.4 you can configure jitterbuffer,
;see Asterisk documentation for all jb* setting available.
;mohinterpret=default ;Asterisk 1.4: default music on hold class when placed on hold.
;qsig=on ;enable use of Q.SIG extensions.
Danke
Jörg