echi-converter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +9 -1
- data/config/extended_version12.yml +19 -19
- data/config/extended_version13.yml +19 -19
- data/lib/echi-converter.rb +5 -1
- data/lib/echi-converter/version.rb +1 -1
- data/website/index.html +2 -2
- metadata +2 -2
data/History.txt
CHANGED
@@ -39,4 +39,12 @@
|
|
39
39
|
* Added the ability to set specific table names when using a specific PCO application
|
40
40
|
* Added the ability to upgrade the files when a new gem is installed
|
41
41
|
* Bug fix(es):
|
42
|
-
* Bug #13062 - Corrected log table population
|
42
|
+
* Bug #13062 - Corrected log table population
|
43
|
+
|
44
|
+
== 0.0.5 2007-08-17
|
45
|
+
|
46
|
+
* Major enhancement(s):
|
47
|
+
* Minor enhancement(s):
|
48
|
+
* Removed all underscores ('_') from field names in config/schemas for version 12 & 13
|
49
|
+
* Bug fix(es):
|
50
|
+
* Bug #13165 - Corrected post processing file move
|
@@ -61,52 +61,52 @@ fields:
|
|
61
61
|
- name: trunkgroup
|
62
62
|
type: int
|
63
63
|
length: 2
|
64
|
-
- name:
|
64
|
+
- name: tklocid
|
65
65
|
type: int
|
66
66
|
length: 2
|
67
|
-
- name:
|
67
|
+
- name: origlocid
|
68
68
|
type: int
|
69
69
|
length: 2
|
70
|
-
- name:
|
70
|
+
- name: answerlocid
|
71
71
|
type: int
|
72
72
|
length: 2
|
73
|
-
- name:
|
73
|
+
- name: obslocid
|
74
74
|
type: int
|
75
75
|
length: 2
|
76
|
-
- name:
|
76
|
+
- name: uuilen
|
77
77
|
type: int
|
78
78
|
length: 2
|
79
79
|
- name: assist
|
80
80
|
type: bool
|
81
81
|
length: 1
|
82
|
-
- name:
|
82
|
+
- name: audiodifficulty
|
83
83
|
type: bool
|
84
84
|
length: 1
|
85
85
|
- name: conference
|
86
86
|
type: bool
|
87
87
|
length: 1
|
88
|
-
- name:
|
88
|
+
- name: daqueued
|
89
89
|
type: bool
|
90
90
|
length: 1
|
91
|
-
- name:
|
91
|
+
- name: holdabn
|
92
92
|
type: bool
|
93
93
|
length: 1
|
94
94
|
- name: malicious
|
95
95
|
type: bool
|
96
96
|
length: 1
|
97
|
-
- name:
|
97
|
+
- name: observingcall
|
98
98
|
type: bool
|
99
99
|
length: 1
|
100
100
|
- name: transferred
|
101
101
|
type: bool
|
102
102
|
length: 1
|
103
|
-
- name:
|
103
|
+
- name: agentreleased
|
104
104
|
type: bool_int
|
105
105
|
length: 1
|
106
106
|
- name: acdnum
|
107
107
|
type: int
|
108
108
|
length: 1
|
109
|
-
- name:
|
109
|
+
- name: calldisp
|
110
110
|
type: int
|
111
111
|
length: 1
|
112
112
|
- name: disppriority
|
@@ -166,28 +166,28 @@ fields:
|
|
166
166
|
- name: firstvdn
|
167
167
|
type: str
|
168
168
|
length: 8
|
169
|
-
- name:
|
169
|
+
- name: origlogid
|
170
170
|
type: str
|
171
171
|
length: 10
|
172
|
-
- name:
|
172
|
+
- name: anslogid
|
173
173
|
type: str
|
174
174
|
length: 10
|
175
|
-
- name:
|
175
|
+
- name: lastobserver
|
176
176
|
type: str
|
177
177
|
length: 10
|
178
|
-
- name:
|
178
|
+
- name: dialednumber
|
179
179
|
type: str
|
180
180
|
length: 25
|
181
|
-
- name:
|
181
|
+
- name: callingparty
|
182
182
|
type: str
|
183
183
|
length: 13
|
184
|
-
- name:
|
184
|
+
- name: collectdigits
|
185
185
|
type: str
|
186
186
|
length: 17
|
187
|
-
- name:
|
187
|
+
- name: cwcdigits
|
188
188
|
type: str
|
189
189
|
length: 17
|
190
|
-
- name:
|
190
|
+
- name: callingII
|
191
191
|
type: str
|
192
192
|
length: 3
|
193
193
|
- name: cwcs0
|
@@ -61,52 +61,52 @@ fields:
|
|
61
61
|
- name: trunkgroup
|
62
62
|
type: int
|
63
63
|
length: 2
|
64
|
-
- name:
|
64
|
+
- name: tklocid
|
65
65
|
type: int
|
66
66
|
length: 2
|
67
|
-
- name:
|
67
|
+
- name: origlocid
|
68
68
|
type: int
|
69
69
|
length: 2
|
70
|
-
- name:
|
70
|
+
- name: answerlocid
|
71
71
|
type: int
|
72
72
|
length: 2
|
73
|
-
- name:
|
73
|
+
- name: obslocid
|
74
74
|
type: int
|
75
75
|
length: 2
|
76
|
-
- name:
|
76
|
+
- name: uuilen
|
77
77
|
type: int
|
78
78
|
length: 2
|
79
79
|
- name: assist
|
80
80
|
type: bool
|
81
81
|
length: 1
|
82
|
-
- name:
|
82
|
+
- name: audiodifficulty
|
83
83
|
type: bool
|
84
84
|
length: 1
|
85
85
|
- name: conference
|
86
86
|
type: bool
|
87
87
|
length: 1
|
88
|
-
- name:
|
88
|
+
- name: daqueued
|
89
89
|
type: bool
|
90
90
|
length: 1
|
91
|
-
- name:
|
91
|
+
- name: holdabn
|
92
92
|
type: bool
|
93
93
|
length: 1
|
94
94
|
- name: malicious
|
95
95
|
type: bool
|
96
96
|
length: 1
|
97
|
-
- name:
|
97
|
+
- name: observingcall
|
98
98
|
type: bool
|
99
99
|
length: 1
|
100
100
|
- name: transferred
|
101
101
|
type: bool
|
102
102
|
length: 1
|
103
|
-
- name:
|
103
|
+
- name: agentreleased
|
104
104
|
type: bool_int
|
105
105
|
length: 1
|
106
106
|
- name: acdnum
|
107
107
|
type: int
|
108
108
|
length: 1
|
109
|
-
- name:
|
109
|
+
- name: calldisp
|
110
110
|
type: int
|
111
111
|
length: 1
|
112
112
|
- name: disppriority
|
@@ -166,28 +166,28 @@ fields:
|
|
166
166
|
- name: firstvdn
|
167
167
|
type: str
|
168
168
|
length: 8
|
169
|
-
- name:
|
169
|
+
- name: origlogid
|
170
170
|
type: str
|
171
171
|
length: 10
|
172
|
-
- name:
|
172
|
+
- name: anslogid
|
173
173
|
type: str
|
174
174
|
length: 10
|
175
|
-
- name:
|
175
|
+
- name: lastobserver
|
176
176
|
type: str
|
177
177
|
length: 10
|
178
|
-
- name:
|
178
|
+
- name: dialednumber
|
179
179
|
type: str
|
180
180
|
length: 25
|
181
|
-
- name:
|
181
|
+
- name: callingparty
|
182
182
|
type: str
|
183
183
|
length: 13
|
184
|
-
- name:
|
184
|
+
- name: collectdigits
|
185
185
|
type: str
|
186
186
|
length: 17
|
187
|
-
- name:
|
187
|
+
- name: cwcdigits
|
188
188
|
type: str
|
189
189
|
length: 17
|
190
|
-
- name:
|
190
|
+
- name: callingII
|
191
191
|
type: str
|
192
192
|
length: 3
|
193
193
|
- name: cwcs0
|
data/lib/echi-converter.rb
CHANGED
@@ -155,7 +155,7 @@ module EchiConverter
|
|
155
155
|
@binary_file.close
|
156
156
|
|
157
157
|
#Move the file to the processed directory
|
158
|
-
destination_directory = @workingdirectory + '/../files/processed/'
|
158
|
+
destination_directory = @workingdirectory + '/../files/processed/' + filename
|
159
159
|
FileUtils.mv(echi_file, destination_directory)
|
160
160
|
|
161
161
|
if @config["echi_process_log"] == "Y"
|
@@ -273,6 +273,10 @@ def process_ascii filename
|
|
273
273
|
end
|
274
274
|
end
|
275
275
|
|
276
|
+
#Move the file to the processed directory
|
277
|
+
destination_directory = @workingdirectory + '/../files/processed/' + filename
|
278
|
+
FileUtils.mv(echi_file, destination_directory)
|
279
|
+
|
276
280
|
if @config["echi_process_log"] == "Y"
|
277
281
|
#Finish logging the details on the file
|
278
282
|
echi_log.records = record_cnt
|
data/website/index.html
CHANGED
@@ -33,7 +33,7 @@
|
|
33
33
|
<h1>ECHI Converter</h1>
|
34
34
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/echi-converter"; return false'>
|
35
35
|
<p>Get Version</p>
|
36
|
-
<a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.0.
|
36
|
+
<a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.0.5</a>
|
37
37
|
</div>
|
38
38
|
<h1>→ ‘echi-converter’</h1>
|
39
39
|
|
@@ -196,7 +196,7 @@
|
|
196
196
|
|
197
197
|
<p>Comments are welcome. Send an email to <a href="mailto:jason@goecke.net">jason [at] goecke.net</a>.</p>
|
198
198
|
<p class="coda">
|
199
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
199
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 17th August 2007<br>
|
200
200
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
201
201
|
</p>
|
202
202
|
</div>
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: echi-converter
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.0.
|
7
|
-
date: 2007-08-
|
6
|
+
version: 0.0.5
|
7
|
+
date: 2007-08-17 00:00:00 -07:00
|
8
8
|
summary: ECHI Conversion Utility - Provides a utility to fetch Avaya CMS / ECHI binary files, convert them and insert into a database table via ActiveRecord
|
9
9
|
require_paths:
|
10
10
|
- lib
|