Hallo Forum,
folgendes Szenario:
SUSE 9.3 mit Asterisk 1.0.9. AVM ISDN Karte für Mehrgeräteanschluss (siehe capiinfo).
Wir haben intern 2 Softclients, die sich untereinander erreichen sollen, jeweils über ISDN rauswählen können und von außen über unterschiedliche Rufnummern erreichbar sind.
Bis gestern hat das Beschriebene bis auf das Rauswählen funktioniert. Nach einem Neustart von Asterisk (bis dahin hatte ich immer nur reloaded) bekam ich Fehlermeldungen ala
Mittlerweile startet Asterisk wieder, die SIP Telefone funktionieren für interne Gespräche, allerdings können externe Anrufe von Asterisk nicht angenommen werden.
Wie gesagt, vor dem Neustart hat diese Config funktioniert.
.
Das sind die (mittlerweile schon stark zusammengestrichenen) Configs:
extensions.conf
modem.conf
modules.conf
sip.conf
capiinfo:
Bin für jede Anregung dankbar.
Gruß Jens
folgendes Szenario:
SUSE 9.3 mit Asterisk 1.0.9. AVM ISDN Karte für Mehrgeräteanschluss (siehe capiinfo).
Wir haben intern 2 Softclients, die sich untereinander erreichen sollen, jeweils über ISDN rauswählen können und von außen über unterschiedliche Rufnummern erreichbar sind.
Bis gestern hat das Beschriebene bis auf das Rauswählen funktioniert. Nach einem Neustart von Asterisk (bis dahin hatte ich immer nur reloaded) bekam ich Fehlermeldungen ala
Code:
/usr/lib/asterisk/modules/chan_modem_chan_capi.so: cannot open shared object file: No such file or directory
Code:
Starting CAPI[contr1/1629131]/0 at sip,1629131,1 failed so falling back to exten 's'
.
Das sind die (mittlerweile schon stark zusammengestrichenen) Configs:
extensions.conf
Code:
[general]
static=yes
writeprotect=no
[sip]
exten => 31,1,Dial(SIP/jens,20,tr)
exten => 31,2,Voicemail(u1629131)
exten => 31,3,Hangup
exten => 32,1,Dial(SIP/dan,20,tr)
exten => 32,2,Voicemail(u1629132)
exten => 32,3,Hangup
[from_isdn]
exten => 1629131,1,Answer
exten => 1629131,2,Dial(SIP/jens,10)
exten => 1629131,3,Voicemail(u${EXTEN})
exten => 1629131,4,Hangup
exten => 1629132,1,Answer
exten => 1629132,2,Dial(SIP/dan,10)
exten => 1629132,3,Voicemail(u${EXTEN})
exten => 16291321,4,Hangup
Code:
[interfaces]
context=from_isdn
;driver=aopen ; modem by AOpen
driver=chan_capi
;driver=i4l ; isdn4linux - an alternative to i4l is to use chan_capi
language=de
type=autodetect
stripmsd=0
dialtype=tone
mode=immediate
group=1 ; group=1,2,3,9-12
msn=1629131
incomingmsn=1629131
device => /dev/capi20
;device => /dev/ttyI2
Code:
[modules]
autoload=yes
noload => pbx_gtkconsole.so
;load => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
noload => app_intercom.so
load => res_features.so
load => chan_capi.so
load => res_musiconhold.so
noload => chan_modem.so
noload => chan_modem_i4l.so
noload => chan_modem_bestdata.so
noload => chan_modem_aopen.so
noload => chan_alsa.so
noload => chan_oss.so
noload => app_capiCD.so
[global]
;chan_modem.so=yes
chan_capi.so=yes
Code:
[general]
context=default ; Default context for incoming calls
port=5060 ; UDP Port to bind to (SIP standard port is 5060)
bindaddr=0.0.0.0 ; IP address to bind to (0.0.0.0 binds to all)
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
disallow=all ; First disallow all codecs
allow=ulaw ; Allow codecs in order of preference
allow=alaw
context = from-sip-external ; Send unknown SIP callers to this context
callerid = Unknown
[jens]
type=friend ;
host=dynamic ;
defaultip=10.0.0.102 ; the default address of the phone
dtmfmode=inband ; method to transfer dtmf tones
context=sip ; context is used in de extensions.conf file
callerid="Jens" <1629131> ; friendly name of the phones, can be shown on the display of the phone
[dan]
type=friend ;
host=dynamic ;
defaultip=10.0.0.103 ; the default address of the phone
dtmfmode=inband ; method to transfer dtmf tones
context=sip ; context is used in de extensions.conf file
callerid="Daniel" <1629132> ; friendly name of the phones, can be shown on the display of the phone
Code:
Number of Controllers : 1
Controller 1:
Manufacturer: AVM GmbH
CAPI Version: 2.0
Manufacturer Version: 3.11-02 (49.18)
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
Bin für jede Anregung dankbar.
Gruß Jens