...
ElseIf Ruftyp = "DISCONNECT" Then
Errorlog ("-----------Disconnect beobachtet-------")
[COLOR="Lime"] 'If GetSetting("fbdial", "Optionen", "CUhr", 0) Then
' Additional_Strings = " (" & Left(Time, Len(Time) - 3) & ")"
'End If[/COLOR]
Select Case ConnID
Case "0"
[COLOR="lime"] Additional_Strings = " (" & Left(Right(Connection0(1), 8), 5) & ")"[/COLOR]
KontaktsuchePort0 = 0
Connection0 = Array(Connection0(1), Connection0(2), Connection0(3), Connection0(4), Connection0(5), Connection0(6), Dauer, Connection0(8))
If Connection0(8) > "" And Not Connection0(8) = "Unbekannter Teilnehmer" Then
Ruf = Connection0(8)
Else
Ruf = Connection0(6)
End If
Errorlog ("-----------Parameter für Journaleintrag." & Dauer & " " & Connection0(2) & "-------")
If Dauer = 0 And Connection0(2) = "RING" Then
Call Journaleintraghinzufuegen(Chr(171) & Chr(150) & " " & Ruf & "...*" & Additional_Strings, "Anruf in Abwesenheit von " & Connection0(6) & "(" & Connection0(8) & ") bei Nbst." & Connection0(4), "", Connection0(8), Connection0(1))
ElseIf Dauer >= 0 And Connection0(2) = "RING" Then
Call Journaleintraghinzufuegen(Chr(171) & Chr(150) & " " & Ruf & Additional_Strings, "Eingegangener Anruf von " & Connection0(6) & "(" & Connection0(8) & ") an der Nbst " & Connection0(4) & " mit einer Dauer von " & Connection0(7) & " Sekunden", Connection0(7), Connection0(8), Connection0(1))
ElseIf Dauer = 0 And Connection0(2) = "CALL" Then
Call Journaleintraghinzufuegen(Chr(150) & Chr(187) & " " & Ruf & "...*" & Additional_Strings, "Angerufener Teilnehmer " & Connection0(6) & "(" & Connection0(8) & ") wurde nicht erreicht", "", Connection0(8), Connection0(1))
ElseIf Dauer >= 0 And Connection0(2) = "CALL" Then
Call Journaleintraghinzufuegen(Chr(150) & Chr(187) & " " & Ruf & Additional_Strings, "Ausgegangener Anruf an " & Connection0(6) & "(" & Connection0(8) & ") von Nbst " & Connection0(4) & " über " & Connection0(5) & " mit einer Dauer von " & Connection0(7) & " Sekunden", Connection0(7), Connection0(8), Connection0(1))
End If
Connection0 = Array("", "", "", "", "", "", "", "")
Case "1"
[COLOR="lime"] Additional_Strings = " (" & Left(Right(Connection1(1), 8), 5) & ")"[/COLOR]
KontaktsuchePort1 = 0
Connection1 = Array(Connection1(1), Connection1(2), Connection1(3), Connection1(4), Connection1(5), Connection1(6), Dauer, Connection1(8))
If Connection1(8) > "" And Not Connection1(8) = "Unbekannter Teilnehmer" Then
Ruf = Connection1(8)
Else
Ruf = Connection1(6)
End If
Errorlog ("-----------Parameter für Journaleintrag." & Dauer & " " & Connection1(2) & "-------")
If Dauer = 0 And Connection1(2) = "RING" Then
Call Journaleintraghinzufuegen(Chr(171) & Chr(150) & " " & Ruf & "...*" & Additional_Strings, "Anruf in Abwesenheit von " & Connection1(6) & "(" & Connection1(8) & ") bei Nbst." & Connection1(4), "", Connection1(8), Connection1(1))
ElseIf Dauer >= 0 And Connection1(2) = "RING" Then
Call Journaleintraghinzufuegen(Chr(171) & Chr(150) & " " & Ruf & Additional_Strings, "Eingegangener Anruf von " & Connection1(6) & "(" & Connection1(8) & ") an der Nbst " & Connection1(4) & " mit einer Dauer von " & Connection1(7) & " Sekunden", Connection1(7), Connection1(8), Connection1(1))
ElseIf Dauer = 0 And Connection1(2) = "CALL" Then
Call Journaleintraghinzufuegen(Chr(150) & Chr(187) & " " & Ruf & "...*" & Additional_Strings, "Angerufener Teilnehmer " & Connection1(6) & "(" & Connection1(8) & ") wurde nicht erreicht", "", Connection1(8), Connection1(1))
ElseIf Dauer >= 0 And Connection1(2) = "CALL" Then
Call Journaleintraghinzufuegen(Chr(150) & Chr(187) & " " & Ruf & Additional_Strings, "Ausgegangener Anruf an " & Connection1(6) & "(" & Connection1(8) & ") von Nbst " & Connection1(4) & " über " & Connection1(5) & " mit einer Dauer von " & Connection1(7) & " Sekunden", Connection1(7), Connection1(8), Connection1(1))
End If
Connection1 = Array("", "", "", "", "", "", "", "")
Case "2"
[COLOR="lime"] Additional_Strings = " (" & Left(Right(Connection2(1), 8), 5) & ")"[/COLOR]
Errorlog ("-----------Parameter für Journaleintrag." & Dauer & " " & Connection2(2) & "-------")
KontaktsuchePort2 = 0
Connection2 = Array(Connection2(1), Connection2(2), Connection2(3), Connection2(4), Connection2(5), Connection2(6), Dauer, Connection2(8))
...