- Mitglied seit
- 20 Jul 2007
- Beiträge
- 22
- Punkte für Reaktionen
- 0
- Punkte
- 0
hallo.
ich hab mir den asterisk aus dem debian 4.0 installiert und der läuft bis jetzt ganz gut. jetzt hab ich eine avm fritzcard pci b1 installiert. laut capiinfo läuft die karte unter linux, und ein capifax an meine handynr. lässt es auch bimmeln, also kann ein call aufgebaut werden.
soooo nun hab ich mir dir chan_capi-cm-0.6.5 runtergeladen und mit make; make install installiert. meine /etc/asterisk/modules.conf sieht folgt aus
und meine /etc/asterisk.capi.conf so (kopiert aus den src der chan_capi):
soooooo nun starte ich den asterisk so "asterisk -vvvvvvvgc"
und bekomme folgende:
wenn ich in der modules.conf chan_capi auf noload stelle, startet er ganz normal. jedoch ohne capi, ist klar.
ich hab k.A. wo in der capi.conf nen config fehler sein könnte. bzw. warum es einen ungültigen maschinenbefehl gibt.
vielleicht hat einer von euch ne ahnung??
gruß aus ffm,
thomas
ich hab mir den asterisk aus dem debian 4.0 installiert und der läuft bis jetzt ganz gut. jetzt hab ich eine avm fritzcard pci b1 installiert. laut capiinfo läuft die karte unter linux, und ein capifax an meine handynr. lässt es auch bimmeln, also kann ein call aufgebaut werden.
soooo nun hab ich mir dir chan_capi-cm-0.6.5 runtergeladen und mit make; make install installiert. meine /etc/asterisk/modules.conf sieht folgt aus
Code:
;
; Asterisk configuration file
;
; Module Loader configuration file
;
[modules]
autoload=yes
;
; Any modules that need to be loaded before the Asterisk core has been
; initialized (just after the logger has been initialized) can be loaded
; using 'preload'. This will frequently be needed if you wish to map all
; module configuration files into Realtime storage, since the Realtime
; driver will need to be loaded before the modules using those configuration
; files are initialized.
;
; An example of loading ODBC support would be:
;preload => res_odbc.so
;preload => res_config_odbc.so
;
; If you want, load the GTK console right away.
; Don't load the KDE console since
; it's not as sophisticated right now.
;
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
;
; Intercom application is obsoleted by
; chan_oss. Don't load it.
;
noload => app_intercom.so
;
; The 'modem' channel driver and its subdrivers are
; obsolete, don't load them.
;
noload => chan_modem.so
noload => chan_modem_aopen.so
noload => chan_modem_bestdata.so
noload => chan_modem_i4l.so
;noload => chan_capi.so
;
load => res_musiconhold.so
;
; Load either OSS or ALSA, not both
; By default, load OSS only (automatically) and do not load ALSA
;
noload => chan_alsa.so
;noload => chan_oss.so
;
; Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.
;
[global]
chan_capi.so=yes
und meine /etc/asterisk.capi.conf so (kopiert aus den src der chan_capi):
Code:
;
; CAPI config
;
;
; general section
[general]
nationalprefix=0
internationalprefix=00
rxgain=0.8
txgain=0.8
language=de ;set default language
;ulaw=yes ;set this, if you live in u-law world instead of a-law
; interface sections ...
[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=0 ;ISDN4BSD default
;controller=7 ;ISDN4BSD USB default
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)
soooooo nun starte ich den asterisk so "asterisk -vvvvvvvgc"
und bekomme folgende:
Code:
[chan_capi.so] => (Common ISDN API for Asterisk)
== Parsing '/etc/asterisk/capi.conf': Found
== This box has 1 capi controller(s).
-- CAPI/contr1 supports DTMF
-- CAPI/contr1 supports supplementary services
> FACILITY_CONF INFO = 0
> supplementary services : 0x000003ff
> HOLD/RETRIEVE
> TERMINAL PORTABILITY
> ECT
> 3PTY
> CF
> CD
> MCID
> CCBS
> MWI
> CCNR
== Reading config for ISDN1
Ungültiger Maschinenbefehl (core dumped)
wenn ich in der modules.conf chan_capi auf noload stelle, startet er ganz normal. jedoch ohne capi, ist klar.
ich hab k.A. wo in der capi.conf nen config fehler sein könnte. bzw. warum es einen ungültigen maschinenbefehl gibt.
vielleicht hat einer von euch ne ahnung??
gruß aus ffm,
thomas