aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_misc/OGM.pl (renamed from misc/OGM.pl)0
-rw-r--r--_misc/codes.go (renamed from misc/codes.go)0
-rw-r--r--_misc/kxtde.asn (renamed from misc/kxtde.asn)0
-rw-r--r--_misc/main.go (renamed from misc/main.go)0
-rw-r--r--_misc/makecall.pl (renamed from misc/makecall.pl)0
-rw-r--r--_misc/monitorCallerID.pl (renamed from misc/monitorCallerID.pl)0
-rw-r--r--_misc/monitorCallerID2.pl (renamed from misc/monitorCallerID2.pl)0
-rwxr-xr-x_misc/monitorTDE2.pl (renamed from misc/monitorTDE2.pl)0
-rwxr-xr-x_misc/snapshot.pl (renamed from misc/snapshot.pl)0
-rw-r--r--_misc/tde.c (renamed from misc/tde.c)0
-rw-r--r--ber/common.go2
-rw-r--r--ber/params.go2
-rw-r--r--csta/local.go356
-rw-r--r--parse/parse.go1
14 files changed, 180 insertions, 181 deletions
diff --git a/misc/OGM.pl b/_misc/OGM.pl
index 0d4e973..0d4e973 100644
--- a/misc/OGM.pl
+++ b/_misc/OGM.pl
diff --git a/misc/codes.go b/_misc/codes.go
index 075fe1c..075fe1c 100644
--- a/misc/codes.go
+++ b/_misc/codes.go
diff --git a/misc/kxtde.asn b/_misc/kxtde.asn
index f44b279..f44b279 100644
--- a/misc/kxtde.asn
+++ b/_misc/kxtde.asn
diff --git a/misc/main.go b/_misc/main.go
index 139b7a2..139b7a2 100644
--- a/misc/main.go
+++ b/_misc/main.go
diff --git a/misc/makecall.pl b/_misc/makecall.pl
index dff02ef..dff02ef 100644
--- a/misc/makecall.pl
+++ b/_misc/makecall.pl
diff --git a/misc/monitorCallerID.pl b/_misc/monitorCallerID.pl
index 7980811..7980811 100644
--- a/misc/monitorCallerID.pl
+++ b/_misc/monitorCallerID.pl
diff --git a/misc/monitorCallerID2.pl b/_misc/monitorCallerID2.pl
index d39c38f..d39c38f 100644
--- a/misc/monitorCallerID2.pl
+++ b/_misc/monitorCallerID2.pl
diff --git a/misc/monitorTDE2.pl b/_misc/monitorTDE2.pl
index 929d243..929d243 100755
--- a/misc/monitorTDE2.pl
+++ b/_misc/monitorTDE2.pl
diff --git a/misc/snapshot.pl b/_misc/snapshot.pl
index 3cbb9d7..3cbb9d7 100755
--- a/misc/snapshot.pl
+++ b/_misc/snapshot.pl
diff --git a/misc/tde.c b/_misc/tde.c
index 81beda0..81beda0 100644
--- a/misc/tde.c
+++ b/_misc/tde.c
diff --git a/ber/common.go b/ber/common.go
index 4266848..aded3ef 100644
--- a/ber/common.go
+++ b/ber/common.go
@@ -78,5 +78,3 @@ func (o BitString) String() string {
}
type Raw []byte
-
-type Tag int
diff --git a/ber/params.go b/ber/params.go
index 3569e69..638afd6 100644
--- a/ber/params.go
+++ b/ber/params.go
@@ -1,8 +1,8 @@
package ber
import (
- "strings"
"strconv"
+ "strings"
)
type fieldParams struct {
diff --git a/csta/local.go b/csta/local.go
index e36bc0d..ae840ee 100644
--- a/csta/local.go
+++ b/csta/local.go
@@ -1,178 +1,178 @@
-package csta
-
-const (
- LocalAlternateCall = 1
- LocalAnswerCall = 2
- LocalClearCall = 4
- LocalClearConnection = 5
- LocalConferenceCall = 6
- LocalConsultationCall = 7
- LocalHoldCall = 9
- LocalMakeCall = 10
- LocalMakePredictiveCall = 11
- LocalReconnectCall = 13
- LocalRetrieveCall = 14
- LocalTransferCall = 16
- LocalParkCall = 18
- LocalSingleStepConference = 20
- LocalEventReportDefinitions = 21
- LocalRouteRequest = 31
- LocalReRouteRequest = 32
- LocalRouteSelectRequest = 33
- LocalRouteUsedRequest = 34
- LocalRouteEndRequest = 35
- LocalRouteReject = 36
- LocalSingleStepTransfer = 50
- LocalEscapeService = 51
- LocalMonitorStart = 71
- LocalChangeMonitorFilter = 72
- LocalMonitorStop = 73
- LocalSnapshotDevice = 74
- LocalSnapshotCall = 75
- LocalSnapshotCallData = 76
- LocalSnapshotDeviceData = 77
- LocalStartDataPath = 110
- LocalStopDataPath = 111
- LocalSendData = 112
- LocalSendMulticastData = 113
- LocalSendBroadcastData = 114
- LocalSuspendDataPath = 115
- LocalDataPathSuspended = 116
- LocalResumeDataPath = 117
- LocalDataPathResumed = 118
- LocalFastData = 119
- LocalGetLogicalDeviceInformation = 201
- LocalGetPhysicalDeviceInformation = 202
- LocalGetSwitchingFunctionCapabilities = 203
- LocalGetSwitchingFunctionDevices = 204
- LocalSwitchingFunctionDevices = 205
- LocalChangeSystemStatusFilter = 206
- LocalSystemRegister = 207
- LocalSystemRegisterAbort = 208
- LocalSystemRegisterCancel = 209
- LocalRequestSystemStatus = 210
- LocalSystemStatus = 211
- LocalSwitchingFunctionCapabilitiesChanged = 212
- LocalSwitchingFunctionDevicesChanged = 213
- LocalAcceptCall = 214
- LocalCallBackCallRelated = 215
- LocalCallBackMessageCallRelated = 216
- LocalCampOnCall = 217
- LocalDeflectCall = 218
- LocalDialDigits = 219
- LocalDirectedPickupCall = 220
- LocalGroupPickupCall = 221
- LocalIntrudeCall = 222
- LocalJoinCall = 223
- LocalAssociateData = 230
- LocalCancelTelephonyTones = 231
- LocalGenerateDigits = 232
- LocalGenerateTelephonyTones = 233
- LocalSendUserInformation = 234
- LocalAttachMediaService = 244
- LocalDetachMediaService = 245
- LocalRouteRegister = 248
- LocalRouteRegisterAbort = 249
- LocalRouteRegisterCancel = 250
- LocalButtonPress = 260
- LocalGetAuditoryApparatusInformation = 261
- LocalGetButtonInformation = 262
- LocalGetDisplay = 263
- LocalGetHookswitchStatus = 264
- LocalGetLampInformation = 265
- LocalGetLampMode = 266
- LocalGetMessageWaitingIndicator = 267
- LocalGetMicrophoneGain = 268
- LocalGetMicrophoneMute = 269
- LocalGetRingerStatus = 270
- LocalGetSpeakerMute = 271
- LocalGetSpeakerVolume = 272
- LocalSetButtonInformation = 273
- LocalSetDisplay = 274
- LocalSetHookswitchStatus = 275
- LocalSetLampMode = 276
- LocalSetMessageWaitingIndicator = 277
- LocalSetMicrophoneGain = 278
- LocalSetMicrophoneMute = 279
- LocalSetRingerStatus = 280
- LocalSetSpeakerMute = 281
- LocalSetSpeakerVolume = 282
- LocalCallBackNonCallRelated = 300
- LocalCallBackMessageNonCallRelated = 301
- LocalCancelCallBack = 302
- LocalCancelCallBackMessage = 303
- LocalGetAgentState = 304
- LocalGetAutoAnswer = 305
- LocalGetAutoWorkMode = 306
- LocalGetCallerIdStatus = 307
- LocalGetDoNotDisturb = 308
- LocalGetForwarding = 309
- LocalGetLastNumberDialed = 310
- LocalGetRouteingMode = 311
- LocalSetAgentState = 312
- LocalSetAutoAnswer = 313
- LocalSetAutoWorkMode = 314
- LocalSetCallerIdStatus = 315
- LocalSetDoNotDisturb = 316
- LocalSetForwarding = 317
- LocalSetRouteingMode = 318
- LocalIoRegister = 340
- LocalIoRegisterAbort = 341
- LocalIoRegisterCancel = 342
- LocalDataCollected = 343
- LocalDataCollectionResumed = 344
- LocalDataCollectionSuspended = 345
- LocalResumeDataCollection = 346
- LocalStartDataCollection = 347
- LocalStopDataCollection = 348
- LocalSuspendDataCollection = 349
- LocalCallDetailRecordsNotification = 360
- LocalCallDetailRecordsReport = 361
- LocalSendStoredCallDetailRecords = 362
- LocalStartCallDetailRecordsTransmission = 363
- LocalStopCallDetailRecords = 364
- LocalEscapeRegister = 365
- LocalEscapeRegisterAbort = 366
- LocalEscapeRegisterCancel = 367
- LocalPrivateDataVersionSelection = 368
- LocalGetCstaFeaturesService = 370
- LocalGetRegistrations = 371
- LocalRegistrationInfo = 372
- LocalGetMonitor = 373
- LocalMonitorInfo = 374
- LocalMakeConnection = 375
- LocalSendMessage = 376
- LocalChangeConnectionInformation = 377
- LocalGetCallBack = 378
- LocalConcatenateMessage = 500
- LocalDeleteMessage = 501
- LocalPlayMessage = 502
- LocalQueryVoiceAttribute = 503
- LocalReposition = 504
- LocalResume = 505
- LocalReview = 506
- LocalSetVoiceAttribute = 507
- LocalStop = 508
- LocalSuspend = 509
- LocalSynthesizeMessage = 510
- LocalRecordMessage = 511
- LocalActivate = 512
- LocalClear = 513
- LocalDeactivate = 514
- LocalQueue = 515
- LocalStart = 516
- LocalGetLocationInformation = 530
- LocalSetLocationInformation = 531
- LocalLocationTrackingSessionResumed = 532
- LocalLocationTrackingSessionSuspended = 533
- LocalResumeLocationTrackingSession = 534
- LocalLocationInformationReport = 535
- LocalStartLocationTrackingSession = 536
- LocalStopLocationTrackingSession = 537
- LocalSuspendLocationTrackingSession = 538
- LocalGetLocationTrackingCapabilities = 539
- LocalGetLocationTrackingSessions = 540
- LocalLocationSessionInfo = 541
- LocalGetPresenceState = 550
- LocalSetPresenceState = 551
-)
+package csta
+
+const (
+ LocalAlternateCall = 1
+ LocalAnswerCall = 2
+ LocalClearCall = 4
+ LocalClearConnection = 5
+ LocalConferenceCall = 6
+ LocalConsultationCall = 7
+ LocalHoldCall = 9
+ LocalMakeCall = 10
+ LocalMakePredictiveCall = 11
+ LocalReconnectCall = 13
+ LocalRetrieveCall = 14
+ LocalTransferCall = 16
+ LocalParkCall = 18
+ LocalSingleStepConference = 20
+ LocalEventReportDefinitions = 21
+ LocalRouteRequest = 31
+ LocalReRouteRequest = 32
+ LocalRouteSelectRequest = 33
+ LocalRouteUsedRequest = 34
+ LocalRouteEndRequest = 35
+ LocalRouteReject = 36
+ LocalSingleStepTransfer = 50
+ LocalEscapeService = 51
+ LocalMonitorStart = 71
+ LocalChangeMonitorFilter = 72
+ LocalMonitorStop = 73
+ LocalSnapshotDevice = 74
+ LocalSnapshotCall = 75
+ LocalSnapshotCallData = 76
+ LocalSnapshotDeviceData = 77
+ LocalStartDataPath = 110
+ LocalStopDataPath = 111
+ LocalSendData = 112
+ LocalSendMulticastData = 113
+ LocalSendBroadcastData = 114
+ LocalSuspendDataPath = 115
+ LocalDataPathSuspended = 116
+ LocalResumeDataPath = 117
+ LocalDataPathResumed = 118
+ LocalFastData = 119
+ LocalGetLogicalDeviceInformation = 201
+ LocalGetPhysicalDeviceInformation = 202
+ LocalGetSwitchingFunctionCapabilities = 203
+ LocalGetSwitchingFunctionDevices = 204
+ LocalSwitchingFunctionDevices = 205
+ LocalChangeSystemStatusFilter = 206
+ LocalSystemRegister = 207
+ LocalSystemRegisterAbort = 208
+ LocalSystemRegisterCancel = 209
+ LocalRequestSystemStatus = 210
+ LocalSystemStatus = 211
+ LocalSwitchingFunctionCapabilitiesChanged = 212
+ LocalSwitchingFunctionDevicesChanged = 213
+ LocalAcceptCall = 214
+ LocalCallBackCallRelated = 215
+ LocalCallBackMessageCallRelated = 216
+ LocalCampOnCall = 217
+ LocalDeflectCall = 218
+ LocalDialDigits = 219
+ LocalDirectedPickupCall = 220
+ LocalGroupPickupCall = 221
+ LocalIntrudeCall = 222
+ LocalJoinCall = 223
+ LocalAssociateData = 230
+ LocalCancelTelephonyTones = 231
+ LocalGenerateDigits = 232
+ LocalGenerateTelephonyTones = 233
+ LocalSendUserInformation = 234
+ LocalAttachMediaService = 244
+ LocalDetachMediaService = 245
+ LocalRouteRegister = 248
+ LocalRouteRegisterAbort = 249
+ LocalRouteRegisterCancel = 250
+ LocalButtonPress = 260
+ LocalGetAuditoryApparatusInformation = 261
+ LocalGetButtonInformation = 262
+ LocalGetDisplay = 263
+ LocalGetHookswitchStatus = 264
+ LocalGetLampInformation = 265
+ LocalGetLampMode = 266
+ LocalGetMessageWaitingIndicator = 267
+ LocalGetMicrophoneGain = 268
+ LocalGetMicrophoneMute = 269
+ LocalGetRingerStatus = 270
+ LocalGetSpeakerMute = 271
+ LocalGetSpeakerVolume = 272
+ LocalSetButtonInformation = 273
+ LocalSetDisplay = 274
+ LocalSetHookswitchStatus = 275
+ LocalSetLampMode = 276
+ LocalSetMessageWaitingIndicator = 277
+ LocalSetMicrophoneGain = 278
+ LocalSetMicrophoneMute = 279
+ LocalSetRingerStatus = 280
+ LocalSetSpeakerMute = 281
+ LocalSetSpeakerVolume = 282
+ LocalCallBackNonCallRelated = 300
+ LocalCallBackMessageNonCallRelated = 301
+ LocalCancelCallBack = 302
+ LocalCancelCallBackMessage = 303
+ LocalGetAgentState = 304
+ LocalGetAutoAnswer = 305
+ LocalGetAutoWorkMode = 306
+ LocalGetCallerIdStatus = 307
+ LocalGetDoNotDisturb = 308
+ LocalGetForwarding = 309
+ LocalGetLastNumberDialed = 310
+ LocalGetRouteingMode = 311
+ LocalSetAgentState = 312
+ LocalSetAutoAnswer = 313
+ LocalSetAutoWorkMode = 314
+ LocalSetCallerIdStatus = 315
+ LocalSetDoNotDisturb = 316
+ LocalSetForwarding = 317
+ LocalSetRouteingMode = 318
+ LocalIoRegister = 340
+ LocalIoRegisterAbort = 341
+ LocalIoRegisterCancel = 342
+ LocalDataCollected = 343
+ LocalDataCollectionResumed = 344
+ LocalDataCollectionSuspended = 345
+ LocalResumeDataCollection = 346
+ LocalStartDataCollection = 347
+ LocalStopDataCollection = 348
+ LocalSuspendDataCollection = 349
+ LocalCallDetailRecordsNotification = 360
+ LocalCallDetailRecordsReport = 361
+ LocalSendStoredCallDetailRecords = 362
+ LocalStartCallDetailRecordsTransmission = 363
+ LocalStopCallDetailRecords = 364
+ LocalEscapeRegister = 365
+ LocalEscapeRegisterAbort = 366
+ LocalEscapeRegisterCancel = 367
+ LocalPrivateDataVersionSelection = 368
+ LocalGetCstaFeaturesService = 370
+ LocalGetRegistrations = 371
+ LocalRegistrationInfo = 372
+ LocalGetMonitor = 373
+ LocalMonitorInfo = 374
+ LocalMakeConnection = 375
+ LocalSendMessage = 376
+ LocalChangeConnectionInformation = 377
+ LocalGetCallBack = 378
+ LocalConcatenateMessage = 500
+ LocalDeleteMessage = 501
+ LocalPlayMessage = 502
+ LocalQueryVoiceAttribute = 503
+ LocalReposition = 504
+ LocalResume = 505
+ LocalReview = 506
+ LocalSetVoiceAttribute = 507
+ LocalStop = 508
+ LocalSuspend = 509
+ LocalSynthesizeMessage = 510
+ LocalRecordMessage = 511
+ LocalActivate = 512
+ LocalClear = 513
+ LocalDeactivate = 514
+ LocalQueue = 515
+ LocalStart = 516
+ LocalGetLocationInformation = 530
+ LocalSetLocationInformation = 531
+ LocalLocationTrackingSessionResumed = 532
+ LocalLocationTrackingSessionSuspended = 533
+ LocalResumeLocationTrackingSession = 534
+ LocalLocationInformationReport = 535
+ LocalStartLocationTrackingSession = 536
+ LocalStopLocationTrackingSession = 537
+ LocalSuspendLocationTrackingSession = 538
+ LocalGetLocationTrackingCapabilities = 539
+ LocalGetLocationTrackingSessions = 540
+ LocalLocationSessionInfo = 541
+ LocalGetPresenceState = 550
+ LocalSetPresenceState = 551
+)
diff --git a/parse/parse.go b/parse/parse.go
index 5a9722f..0614b75 100644
--- a/parse/parse.go
+++ b/parse/parse.go
@@ -77,6 +77,7 @@ func main() {
unmarshal(s, &acse.AARE{})
reason, _ := acse.AssociateResult(s)
fmt.Println("Reason", reason)
+ fmt.Println(s)
case 0x62:
unmarshal(s, &acse.RLRQ{})
case 0x63: