- Mitglied seit
- 6 Jan 2006
- Beiträge
- 135
- Punkte für Reaktionen
- 0
- Punkte
- 16
Hallo Liste,
ich bin ein begeisteter Leser dieses Forums, und versuche wirklich zuerst alle Antworten und Beträge herauszufiltern, bevor ich mich an Euch wende.
Nundenn. Asterisk 1.2.5 läuft. Voipen mit Sip funktioniert auch mehr oder minder... auch wenn ich nicht alles verstehe, was es denn so macht. Nun habe ich mich also an das Abenteuer ISDN / Capi gewendet. Alles, was ich derzeit versuche, ist einen hereinkommenden Anruf auf mein SIP Fon weiterzuleiten. Aber irgendwie funzt das ganze nicht so recht.
capiinfo scheint soweit auch iO zu sein:
***************************************
server:/etc/asterisk # capiinfo
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
server:/etc/asterisk #
***************************************
Hier nun einmal ein Auszug von der Asterisk Konsole:
****************************************
Connected to Asterisk 1.2.5 currently running on server (pid = 31082)
Verbosity was 0 and is now 10
Core debug was 0 and is now 5
server*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
server*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=003 #0x0338 LEN=0048
Controller/PLCI/NCCI = 0x101
CIPValue = 0x1
CalledPartyNumber = <c1>4109879
CallingPartyNumber = <01 81>009177799274
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = default
AdditionalInfo = default
-- CONNECT_IND (PLCI=0x101,DID=4109879,CID=009177799274,CIP=0x1,CONTROLLER=0x1)
Mar 18 14:07:55 WARNING[31090]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
CONNECT_RESP ID=003 #0x0338 LEN=0033
Controller/PLCI/NCCI = 0x101
Reject = 0x1
BProtocol
B1protocol = 0x0
B2protocol = 0x0
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
> CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0x338!
INFO_IND ID=003 #0x0339 LEN=0023
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <c1>4109879
INFO_RESP ID=003 #0x0339 LEN=0012
Controller/PLCI/NCCI = 0x101
CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x339!
INFO_IND ID=003 #0x033a LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x033a LEN=0012
Controller/PLCI/NCCI = 0x101
server:/etc/asterisk # vi capi.conf
server:/etc/asterisk # rface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x33a!
INFO_IND ID=003 #0x033b LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0xa1
InfoElement = <a1>
INFO_RESP ID=003 #0x033b LEN=0012
Controller/PLCI/NCCI = 0x101
CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x33b!
DISCONNECT_IND ID=003 #0x033f LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0
DISCONNECT_RESP ID=003 #0x033f LEN=0012
Controller/PLCI/NCCI = 0x101
CAPI: DISCONNECT_IND no interface for PLCI=0x101
> CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0x33f!
****************************************
und nun noch ein Auszug von capi.conf:
****************************************
server:/etc/asterisk # cat capi.conf
;
; 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)
[ISDN1]
;[4109879]
ntmode=yes
isdnmode=msn
;incomingmsn=4109879
incomingmsn=*
immediate=yes
controller=1
group=1
softdtmf=on
relaxdtmf=on
context=default
echocancel=yes
language=de
device=2
;defaultcid=3775200
server:/etc/asterisk #
****************************************
und zuletzt noch extensions.conf (nur ein Auszug):
****************************************
[default]
exten => 0414109879,1,Answer
exten => 0414109879,2,Dial(SIP/Zyxel-P2002-2&SIP/Zyxel-P2002-1&SIP/anonymous,20,tTr)
exten => 0414109879,3,VoiceMail(u1000)
exten => 0414109879,4,Playback(vm-goodbye)
exten => 0414109879,5,Hangup
exten => 4109879,1,Answer
exten => 4109879,2,Dial(SIP/Zyxel-P2002-2&SIP/Zyxel-P2002-1&SIP/anonymous,20,tTr)
exten => 4109879,3,VoiceMail(u1000)
exten => 4109879,4,Playback(vm-goodbye)
exten => 4109879,5,Hangup
****************************************
PS: So, und wenn mir jemand so nebenbei auch noch verrät, wie ich diese lListen etwas netter darstellen könnte (evt. besser per PM), dann sähe das ganze auch etwas besser als Beitrag aus
Nochmals hier das Hauptproblem:
Mar 18 14:28:48 WARNING[31090]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
thnx
Chris
ich bin ein begeisteter Leser dieses Forums, und versuche wirklich zuerst alle Antworten und Beträge herauszufiltern, bevor ich mich an Euch wende.
Nundenn. Asterisk 1.2.5 läuft. Voipen mit Sip funktioniert auch mehr oder minder... auch wenn ich nicht alles verstehe, was es denn so macht. Nun habe ich mich also an das Abenteuer ISDN / Capi gewendet. Alles, was ich derzeit versuche, ist einen hereinkommenden Anruf auf mein SIP Fon weiterzuleiten. Aber irgendwie funzt das ganze nicht so recht.
capiinfo scheint soweit auch iO zu sein:
***************************************
server:/etc/asterisk # capiinfo
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
server:/etc/asterisk #
***************************************
Hier nun einmal ein Auszug von der Asterisk Konsole:
****************************************
Connected to Asterisk 1.2.5 currently running on server (pid = 31082)
Verbosity was 0 and is now 10
Core debug was 0 and is now 5
server*CLI> capi info
Contr1: 2 B channels total, 2 B channels free.
server*CLI> capi debug
CAPI Debugging Enabled
CONNECT_IND ID=003 #0x0338 LEN=0048
Controller/PLCI/NCCI = 0x101
CIPValue = 0x1
CalledPartyNumber = <c1>4109879
CallingPartyNumber = <01 81>009177799274
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = default
AdditionalInfo = default
-- CONNECT_IND (PLCI=0x101,DID=4109879,CID=009177799274,CIP=0x1,CONTROLLER=0x1)
Mar 18 14:07:55 WARNING[31090]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
CONNECT_RESP ID=003 #0x0338 LEN=0033
Controller/PLCI/NCCI = 0x101
Reject = 0x1
BProtocol
B1protocol = 0x0
B2protocol = 0x0
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
> CAPI: Command=CONNECT_IND,0x8482: no interface for PLCI=0x101, MSGNUM=0x338!
INFO_IND ID=003 #0x0339 LEN=0023
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x70
InfoElement = <c1>4109879
INFO_RESP ID=003 #0x0339 LEN=0012
Controller/PLCI/NCCI = 0x101
CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x339!
INFO_IND ID=003 #0x033a LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0x18
InfoElement = <89>
INFO_RESP ID=003 #0x033a LEN=0012
Controller/PLCI/NCCI = 0x101
server:/etc/asterisk # vi capi.conf
server:/etc/asterisk # rface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x33a!
INFO_IND ID=003 #0x033b LEN=0016
Controller/PLCI/NCCI = 0x101
InfoNumber = 0xa1
InfoElement = <a1>
INFO_RESP ID=003 #0x033b LEN=0012
Controller/PLCI/NCCI = 0x101
CAPI: INFO_IND no interface for PLCI=0x101
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x101, MSGNUM=0x33b!
DISCONNECT_IND ID=003 #0x033f LEN=0014
Controller/PLCI/NCCI = 0x101
Reason = 0x0
DISCONNECT_RESP ID=003 #0x033f LEN=0012
Controller/PLCI/NCCI = 0x101
CAPI: DISCONNECT_IND no interface for PLCI=0x101
> CAPI: Command=DISCONNECT_IND,0x848c: no interface for PLCI=0x101, MSGNUM=0x33f!
****************************************
und nun noch ein Auszug von capi.conf:
****************************************
server:/etc/asterisk # cat capi.conf
;
; 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)
[ISDN1]
;[4109879]
ntmode=yes
isdnmode=msn
;incomingmsn=4109879
incomingmsn=*
immediate=yes
controller=1
group=1
softdtmf=on
relaxdtmf=on
context=default
echocancel=yes
language=de
device=2
;defaultcid=3775200
server:/etc/asterisk #
****************************************
und zuletzt noch extensions.conf (nur ein Auszug):
****************************************
[default]
exten => 0414109879,1,Answer
exten => 0414109879,2,Dial(SIP/Zyxel-P2002-2&SIP/Zyxel-P2002-1&SIP/anonymous,20,tTr)
exten => 0414109879,3,VoiceMail(u1000)
exten => 0414109879,4,Playback(vm-goodbye)
exten => 0414109879,5,Hangup
exten => 4109879,1,Answer
exten => 4109879,2,Dial(SIP/Zyxel-P2002-2&SIP/Zyxel-P2002-1&SIP/anonymous,20,tTr)
exten => 4109879,3,VoiceMail(u1000)
exten => 4109879,4,Playback(vm-goodbye)
exten => 4109879,5,Hangup
****************************************
PS: So, und wenn mir jemand so nebenbei auch noch verrät, wie ich diese lListen etwas netter darstellen könnte (evt. besser per PM), dann sähe das ganze auch etwas besser als Beitrag aus
Nochmals hier das Hauptproblem:
Mar 18 14:28:48 WARNING[31090]: chan_capi.c:3369 capi_handle_connect_indication: did not find device for msn = 4109879
thnx
Chris