- Mitglied seit
- 3 Aug 2006
- Beiträge
- 27
- Punkte für Reaktionen
- 0
- Punkte
- 0
Hallo an alle,
habe zur Zeit folgendes Problem, habe Asterisk 1.4 auf einen Suse 10.0 Rechner mit einer AVM Fritz PCI Karte installiert, capi ist installiert, ich bekomme via capiinfo alle notwendig Informationen heraus (standard).
Das erste Problem hatte ich bei der Installation von chan_capi-cm-0.6.tar.gz,
habe aber gelesen das man wohl besser chan_capi-HEAD verwenden sollte bei der Verwendung von Asterisk 1.4, gut habe ich dann auch genommen, ein make clean, make und make install, reibungslos.
Danach habe ich meine extensions.conf, sip.conf, modules,conf, capi.conf angepasst und den Server neu gestartet. Wenn ich jetzt heraustelefonieren will ´bringt mir die CLI
"[Mar 8 16:43:30] WARNING[5396]: app_dial.c:1090 dial_exec_full: Unable to create channel of type 'CAPI' (cause 44 - Requested channel not available)"
Habe dann mal nachgeschaut mit show modules und finde dort auch nicht das module chan_capi. Sollte er nicht das Modul automatisch laden, so habe ich es zumindest in der /etc/asterisk/modules.conf eingestellt und noch folgendes hinzugefügt:
[global]
chan_capi.so=yes
Was mache ich falsch. Ich muss dringend telefonieren. Ich bitte um Hilfe
Gruss
Anhang: Auszug aus der extensions.conf / ganz simple
; ISDN rausgehende Anrufe
[capi-out]
exten => _[0-9]X.,1,Answer
exten => _[0-9]X.,2,Dial(CAPI/ISDN1/${EXTEN})
exten => _[0-9]X.,3,Hangup
; ISDN reingehende Anrufe
[capi-in]
exten => 958656,1,Answer
exten => 958656,2,Dial(SIP/20,10,r)
exten => 958656,3,Hangup
[default]
include=>local
include=>echotest
include=>mailbox
include=>music
include=>capi-in
include=>capi-out
und der capi.conf
[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
;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=* ;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
und so weiter
habe zur Zeit folgendes Problem, habe Asterisk 1.4 auf einen Suse 10.0 Rechner mit einer AVM Fritz PCI Karte installiert, capi ist installiert, ich bekomme via capiinfo alle notwendig Informationen heraus (standard).
Das erste Problem hatte ich bei der Installation von chan_capi-cm-0.6.tar.gz,
habe aber gelesen das man wohl besser chan_capi-HEAD verwenden sollte bei der Verwendung von Asterisk 1.4, gut habe ich dann auch genommen, ein make clean, make und make install, reibungslos.
Danach habe ich meine extensions.conf, sip.conf, modules,conf, capi.conf angepasst und den Server neu gestartet. Wenn ich jetzt heraustelefonieren will ´bringt mir die CLI
"[Mar 8 16:43:30] WARNING[5396]: app_dial.c:1090 dial_exec_full: Unable to create channel of type 'CAPI' (cause 44 - Requested channel not available)"
Habe dann mal nachgeschaut mit show modules und finde dort auch nicht das module chan_capi. Sollte er nicht das Modul automatisch laden, so habe ich es zumindest in der /etc/asterisk/modules.conf eingestellt und noch folgendes hinzugefügt:
[global]
chan_capi.so=yes
Was mache ich falsch. Ich muss dringend telefonieren. Ich bitte um Hilfe
Gruss
Anhang: Auszug aus der extensions.conf / ganz simple
; ISDN rausgehende Anrufe
[capi-out]
exten => _[0-9]X.,1,Answer
exten => _[0-9]X.,2,Dial(CAPI/ISDN1/${EXTEN})
exten => _[0-9]X.,3,Hangup
; ISDN reingehende Anrufe
[capi-in]
exten => 958656,1,Answer
exten => 958656,2,Dial(SIP/20,10,r)
exten => 958656,3,Hangup
[default]
include=>local
include=>echotest
include=>mailbox
include=>music
include=>capi-in
include=>capi-out
und der capi.conf
[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
;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=* ;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
und so weiter