Asterisk ist mit chan_capi-cm.0.6.1 per Fritz Card direkt am ISDN-Anschluss eingerichtet. Als Telefon kommen ein Ciso 7960 per chan_sccp und ein X-Lite (nur intern) per SIP zum Einsatz.
Grundsätzlich funktioniert diese Kombination. Man kann raustelefonieren und angerufen werden.
Leider tritt bei längerem Betrieb immer wieder die unangenehme Situation auf, dass eingehende Anrufe per ISDN am Cisco Telefon zwar klingeln, nimmt man aber ab, so ist in keine Richtung Ton zu hören. Startet man Asterisk neu (reload reicht nicht), so funktioniert alles wieder.
Ich habe länger gesucht um zu finden, an welchem channel es liegt und bin zur Überzeugung gekommen, dass es am chan_capi liegen muss, weil:
- in diesem Zustand auch die Voicemail-Ansage für einen ISDN Anrufer nicht zu hören ist. Ich sehe im Asterisk debug, dass Asterisk die Ansage abspielt, aber man hört nix.
- in diesem Zustand auch music on hold für den ISDN Anrufer nicht zu hören ist.
- in diesem Zustand das SIP Telefon und das Cisco Telefon problemlos miteinander telefonieren können.
Erstaunlicherweise (?!) kann das SIP und das Cisco Telefon aber per ISDN rauswählen und alles klappt normal. Nur eingehende Anrufe sind ein Problem.
Ich habe gestern in diesem Zustand mal ein capi debug bei eingehendem ISDN Anruf gemacht.
Nachdem ich aufgelegt habe ist übrigens der Linux Rechner mit kernel panic abgestürzt :shock: . Das ist hier bisher noch nie passiert.
Anrufer 999999 versucht 5555555 anzurufen:
Für Hilfe wäre ich dankbar....
Grundsätzlich funktioniert diese Kombination. Man kann raustelefonieren und angerufen werden.
Leider tritt bei längerem Betrieb immer wieder die unangenehme Situation auf, dass eingehende Anrufe per ISDN am Cisco Telefon zwar klingeln, nimmt man aber ab, so ist in keine Richtung Ton zu hören. Startet man Asterisk neu (reload reicht nicht), so funktioniert alles wieder.
Ich habe länger gesucht um zu finden, an welchem channel es liegt und bin zur Überzeugung gekommen, dass es am chan_capi liegen muss, weil:
- in diesem Zustand auch die Voicemail-Ansage für einen ISDN Anrufer nicht zu hören ist. Ich sehe im Asterisk debug, dass Asterisk die Ansage abspielt, aber man hört nix.
- in diesem Zustand auch music on hold für den ISDN Anrufer nicht zu hören ist.
- in diesem Zustand das SIP Telefon und das Cisco Telefon problemlos miteinander telefonieren können.
Erstaunlicherweise (?!) kann das SIP und das Cisco Telefon aber per ISDN rauswählen und alles klappt normal. Nur eingehende Anrufe sind ein Problem.
Ich habe gestern in diesem Zustand mal ein capi debug bei eingehendem ISDN Anruf gemacht.
Nachdem ich aufgelegt habe ist übrigens der Linux Rechner mit kernel panic abgestürzt :shock: . Das ist hier bisher noch nie passiert.
Anrufer 999999 versucht 5555555 anzurufen:
Code:
CAPI Debugging Enabled
CONNECT_IND ID=001 #0xa0b2 LEN=0056
Controller/PLCI/NCCI = 0x501
CIPValue = 0x10
CalledPartyNumber = <c1>5555555
CallingPartyNumber = <21 81>5619999999
CalledPartySubaddress = default
CallingPartySubaddress = default
BC = <80 90 a3>
LLC = default
HLC = <91 81>
AdditionalInfo
BChannelinformation = <00 00>
Keypadfacility = default
Useruserdata = <04>
Facilitydataarray = default
SendingComplete = default
-- CONNECT_IND (PLCI=0x501,DID=5555555,CID=5619999999,CIP=0x10,CONTROLLER=0x1)
> ISDN1: msn='5555555' DNID='5555555' MSN
== ISDN1: Incoming call '05619999999' -> '5555555'
INFO_IND ID=001 #0xa0b3 LEN=0016
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x7e
InfoElement = <04>
INFO_RESP ID=001 #0xa0b3 LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1: unhandled INFO_IND 0x7e (PLCI=0x501)
INFO_IND ID=001 #0xa0b4 LEN=0023
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x70
InfoElement = <c1>5555555
INFO_RESP ID=001 #0xa0b4 LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1: info element CALLED PARTY NUMBER
> ISDN1: INFO_IND DID digits not used in this state.
INFO_IND ID=001 #0xa0b5 LEN=0016
Controller/PLCI/NCCI = 0x501
InfoNumber = 0x18
InfoElement = <8a>
INFO_RESP ID=001 #0xa0b5 LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1: info element CHANNEL IDENTIFICATION 8a
INFO_IND ID=001 #0xa0b6 LEN=0016
Controller/PLCI/NCCI = 0x501
InfoNumber = 0xa1
InfoElement = <a1>
INFO_RESP ID=001 #0xa0b6 LEN=0012
Controller/PLCI/NCCI = 0x501
-- ISDN1: info element Sending Complete
-- ISDN1: CAPI/ISDN1/5555555-1d: 5555555 matches in context capi-in
== Started pbx on channel CAPI/ISDN1/5555555-1d
-- Executing Macro("CAPI/ISDN1/5555555-1d", "call-intern|5555555|5555555") in new stack
-- Executing Dial("CAPI/ISDN1/5555555-1d", "SCCP/5555555|15") in new stack
-- SEP0013C4FCDC57: Asterisk request to call SCCP/5555555-00000025
-- Called 5555555
-- SCCP/5555555-00000025 is ringing
== ISDN1: Requested RINGING-Indication for CAPI/ISDN1/5555555-1d
ALERT_REQ ID=001 #0x61f5 LEN=0018
Controller/PLCI/NCCI = 0x501
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
ALERT_CONF ID=001 #0x61f5 LEN=0014
Controller/PLCI/NCCI = 0x501
Info = 0x0
-- SEP0013C4FCDC57: Taken Offhook
-- SEP0013C4FCDC57: Answer the channel 5555555-37
-- SCCP/5555555-00000025 answered CAPI/ISDN1/5555555-1d
== ISDN1: Answering for 5555555
CONNECT_RESP ID=001 #0xa0b2 LEN=0043
Controller/PLCI/NCCI = 0x501
Reject = 0x0
BProtocol
B1protocol = 0x1
B2protocol = 0x1
B3protocol = 0x0
B1configuration = default
B2configuration = default
B3configuration = default
GlobalConfiguration = default
ConnectedNumber = <00 80>5555555
ConnectedSubaddress = default
LLC = default
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
CONNECT_ACTIVE_IND ID=001 #0xa0b7 LEN=0015
Controller/PLCI/NCCI = 0x501
ConnectedNumber = default
ConnectedSubaddress = default
LLC = default
CONNECT_ACTIVE_RESP ID=001 #0xa0b7 LEN=0012
Controller/PLCI/NCCI = 0x501
CONNECT_B3_IND ID=001 #0xa0b8 LEN=0013
Controller/PLCI/NCCI = 0x80201
NCPI = default
> CAPI: Command=CONNECT_B3_IND,0x8486: no interface for PLCI=0x201, MSGNUM=0xa0b8!
INFO_IND ID=001 #0xa0b9 LEN=0033
Controller/PLCI/NCCI = 0x1
InfoNumber = 0x1c
InfoElement = <91 a1 0f 02 02 b4 96 06 06 04 00 82>g<01 0a 02 01 01>
> CAPI: Command=INFO_IND,0x8492: no interface for PLCI=0x1, MSGNUM=0xa0b9!
-- SEP0013C4FCDC57 is Onhook
-- SEP0013C4FCDC57: Ending call 37 on line 5555555
-- SCCP: Asterisk request to hangup Inbound channel SCCP/5555555-00000025
== Spawn extension (macro-call-intern, s, 1) exited non-zero on 'CAPI/ISDN1/5555555-1d' in macro 'call-intern'
== Spawn extension (capi-in, 5555555, 1) exited non-zero on 'CAPI/ISDN1/5555555-1d'
-- Executing Hangup("CAPI/ISDN1/5555555-1d", "") in new stack
== Spawn extension (capi-in, h, 1) exited non-zero on 'CAPI/ISDN1/5555555-1d'
== ISDN1: CAPI Hangingup
-- ISDN1: activehangingup (cause=0)
DISCONNECT_REQ ID=001 #0x61f6 LEN=0018
Controller/PLCI/NCCI = 0x501
AdditionalInfo
BChannelinformation = default
Keypadfacility = default
Useruserdata = default
Facilitydataarray = default
SendingComplete = default
DISCONNECT_CONF ID=001 #0x61f6 LEN=0014
Controller/PLCI/NCCI = 0x501
Info = 0x0
-- SEP0013C4FCDC57: Statistics from 05619999999 callid: 37 Packets sent: 454 rcvd: 0 lost: 0 jitter: 0 latency: 0
DISCONNECT_IND ID=001 #0xa0ba LEN=0014
Controller/PLCI/NCCI = 0x501
Reason = 0x3400
DISCONNECT_RESP ID=001 #0xa0ba LEN=0012
Controller/PLCI/NCCI = 0x501
== ISDN1: Interface cleanup PLCI=0x501
DISCONNECT_B3_IND ID=001 #0xa0bb LEN=0015
Controller/PLCI/NCCI = 0x80201
Reason_B3 = 0x3307
NCPI = default
> CAPI: Command=DISCONNECT_B3_IND,0x848e: no interface for PLCI=0x201, MSGNUM=0xa0bb!
Für Hilfe wäre ich dankbar....