echi-converter 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +9 -2
- data/README.txt +6 -6
- data/config/application.yml +6 -0
- data/lib/echi-converter/version.rb +1 -1
- data/lib/echi-converter.rb +13 -0
- data/website/index.html +130 -266
- data/website/index.txt +12 -10
- data/website/stylesheets/screen.css +7 -7
- metadata +4 -4
data/History.txt
CHANGED
@@ -182,7 +182,7 @@
|
|
182
182
|
* Bug fix(es):
|
183
183
|
* Will now archive 0 length files and not stop the Windows Service - Bug#18888
|
184
184
|
|
185
|
-
== 0.3.8 2008-07-
|
185
|
+
== 0.3.8 2008-07-18
|
186
186
|
|
187
187
|
* Major enhancement(s):
|
188
188
|
* Minor enhancement(s):
|
@@ -210,5 +210,12 @@
|
|
210
210
|
* Minor enhancement(s):
|
211
211
|
* Bug fix(es):
|
212
212
|
* #21295 - Migrations for Oracle and automated table generation not working
|
213
|
-
|
213
|
+
* Known issue(s):
|
214
|
+
|
215
|
+
== 0.4.1 2009-01-09
|
216
|
+
|
217
|
+
* Major enhancement(s):
|
218
|
+
* Minor enhancement(s):
|
219
|
+
* #23293 Strip special characters from strings before inserting to the database
|
220
|
+
* Bug fix(es):
|
214
221
|
* Known issue(s):
|
data/README.txt
CHANGED
@@ -1,14 +1,14 @@
|
|
1
|
-
=
|
1
|
+
= Overview
|
2
2
|
|
3
3
|
* http://echi-converter.rubyforge.org
|
4
4
|
|
5
5
|
== DESCRIPTION:
|
6
6
|
|
7
|
-
Please refer to http://echi-converter.rubyforge.org
|
7
|
+
Please refer to http://echi-converter.rubyforge.org
|
8
8
|
|
9
|
-
==
|
9
|
+
== KNOWN ISSUES:
|
10
10
|
|
11
|
-
|
11
|
+
Please refer to http://rubyforge.org/tracker/?group_id=4110
|
12
12
|
|
13
13
|
== SYNOPSIS:
|
14
14
|
|
@@ -16,11 +16,11 @@ Please refer to http://echi-converter.rubyforge.org
|
|
16
16
|
|
17
17
|
== REQUIREMENTS:
|
18
18
|
|
19
|
-
|
19
|
+
Please refer to http://echi-converter.rubyforge.org
|
20
20
|
|
21
21
|
== INSTALL:
|
22
22
|
|
23
|
-
|
23
|
+
Please refer to http://echi-converter.rubyforge.org
|
24
24
|
|
25
25
|
== LICENSE:
|
26
26
|
|
data/config/application.yml
CHANGED
@@ -24,6 +24,12 @@ echi_trunk_group_dat: tkgrp.dat
|
|
24
24
|
echi_vector_dat: vector.dat
|
25
25
|
echi_vdn_dat: vdn.dat
|
26
26
|
|
27
|
+
#Special character handling section
|
28
|
+
strip_characters: false
|
29
|
+
#Decimal value of characters to strip
|
30
|
+
#Refer to http://en.wikipedia.org/wiki/Ascii
|
31
|
+
characters_to_strip: 0
|
32
|
+
|
27
33
|
#Currently only ftp supported, but may want to add SSH/SFTP later
|
28
34
|
echi_xfer_type: ftp
|
29
35
|
|
data/lib/echi-converter.rb
CHANGED
@@ -85,6 +85,16 @@ module EchiConverter
|
|
85
85
|
end
|
86
86
|
end
|
87
87
|
|
88
|
+
#Method to strip special characters from a string
|
89
|
+
def strip_specials(data)
|
90
|
+
if $config["strip_characters"] == true
|
91
|
+
$config["characters_to_strip"].to_a.each do |char|
|
92
|
+
data.gsub!(char.chr,"")
|
93
|
+
end
|
94
|
+
end
|
95
|
+
return data
|
96
|
+
end
|
97
|
+
|
88
98
|
#Set the working directory to copy processed files to, if it does not exist creat it
|
89
99
|
#Directory names based on year/month so as not to exceed 5K files in a single directory
|
90
100
|
def set_directory working_directory
|
@@ -262,6 +272,9 @@ module EchiConverter
|
|
262
272
|
else
|
263
273
|
#Process 'standard' fields
|
264
274
|
value = dump_binary field["type"], field["length"]
|
275
|
+
if field["type"] == 'str'
|
276
|
+
value = strip_specials(value)
|
277
|
+
end
|
265
278
|
@log.debug field["name"] + " { type => #{field["type"]} & length => #{field["length"]} } value => " + value.to_s
|
266
279
|
end
|
267
280
|
echi_record[field["name"]] = value
|
data/website/index.html
CHANGED
@@ -33,50 +33,32 @@
|
|
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.4.
|
36
|
+
<a href="http://rubyforge.org/projects/echi-converter" class="numbers">0.4.1</a>
|
37
37
|
</div>
|
38
|
-
<h1>&#
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
<
|
54
|
-
|
55
|
-
|
56
|
-
<p>The utility provides the following capabilities:</p>
|
57
|
-
|
58
|
-
|
59
|
-
<ol>
|
60
|
-
<li>Support of ActiveRecord (means you may use Oracle, MySQL, MS-SQL, Postgres, <span class="caps">DB2</span>, ODBC, etc)</li>
|
61
|
-
<li>Generate your schema via ActiveRecord Migrations automatically</li>
|
62
|
-
<li>Fetch Binary or <span class="caps">ASCII CSV</span> files from the Avaya <span class="caps">CMS</span> platform via <span class="caps">FTP</span></li>
|
63
|
-
<li>Insert the records into the defined database table using database transactions, via ActiveRecord, on a per file basis to support recovery on failure</li>
|
64
|
-
<li>Change schema structure via <span class="caps">YML</span> configuration file to accommodate various releases of the <span class="caps">ECHI</span> format</li>
|
65
|
-
<li>Supports inserting data from the various ’.dat’ files provided by the Avaya <span class="caps">CMS</span> into associated tables</li>
|
66
|
-
<li>Runs as a daemon (via fork) on Posix and a service on Windows</li>
|
67
|
-
<li>Has a watchdog process on Posix or you may set a service watch on Windows</li>
|
68
|
-
<li>Support for <span class="caps">UTF8</span> encoding</li>
|
69
|
-
<li>Allows for multiple <span class="caps">FTP</span> sessions to be used for greater performance (via <a href="http://en.wikipedia.org/wiki/Green_threads">green threads</a>)</li>
|
70
|
-
</ol>
|
71
|
-
|
72
|
-
|
73
|
-
<ol>
|
38
|
+
<h1>‘echi-converter’</h1>
|
39
|
+
<h2>The <span class="caps">ECHI</span> (External Call History Interface) Converter</h2>
|
40
|
+
<p>Provides a Ruby based utility for fetching Avaya <span class="caps">CMS</span> / <span class="caps">ECHI</span> files in binary/<span class="caps">ASCII</span> form from an <span class="caps">FTP</span> server, converting them, if necessary, to <span class="caps">ASCII</span> and then inserting them into a database via ActiveRecord. With this utility you only need the standard Avaya <span class="caps">CMS</span> Release 13 or better without any additional software or utilities from Avaya, as this utility will process either binary or <span class="caps">ASCII</span> output from the Avaya <span class="caps">CMS</span>.</p>
|
41
|
+
<h2>Status</h2>
|
42
|
+
<p>This release is now in production use within Call Centers using the Avaya <span class="caps">CMS</span>. The utility successfully and reliably imports the data provided by the Avaya <span class="caps">CMS</span> <span class="caps">ECHI</span> into various databases, including Microsoft Sqlserver, Oracle and MySQL. This provides the repository of call segments that may then be used to provide detailed Cradle to Grave reporting for the call center.</p>
|
43
|
+
<h2>Features</h2>
|
44
|
+
<p>The utility provides the following capabilities:<br />
|
45
|
+
<br />
|
46
|
+
# Support of ActiveRecord (means you may use Oracle, MySQL, MS-<span class="caps">SQL</span>, Postgres, DB2, <span class="caps">ODBC</span>, etc)<br />
|
47
|
+
# Generate your schema via ActiveRecord Migrations automatically<br />
|
48
|
+
# Fetch Binary or <span class="caps">ASCII</span> <span class="caps">CSV</span> files from the Avaya <span class="caps">CMS</span> platform via <span class="caps">FTP</span><br />
|
49
|
+
# Insert the records into the defined database table using database transactions, via ActiveRecord, on a per file basis to support recovery on failure<br />
|
50
|
+
# Change schema structure via <span class="caps">YML</span> configuration file to accommodate various releases of the <span class="caps">ECHI</span> format<br />
|
51
|
+
# Supports inserting data from the various ‘.dat’ files provided by the Avaya <span class="caps">CMS</span> into associated tables<br />
|
52
|
+
# Runs as a daemon (via fork) on Posix (*NIX) and a service on Windows<br />
|
53
|
+
# Has a watchdog process on Posix or you may set a service watch on Windows<br />
|
54
|
+
# Allows for multiple <span class="caps">FTP</span> sessions to be used for greater performance (via <a href="http://en.wikipedia.org/wiki/Green_threads">green threads</a>)</p>
|
55
|
+
<ol>
|
74
56
|
<li>Table names:
|
75
57
|
<ol>
|
76
|
-
|
58
|
+
<li>echi_records – stores all <span class="caps">ECHI</span> data</li>
|
77
59
|
<li>echi_logs – stores a log entry for each file processed</li>
|
78
60
|
<li>echi_acds – stores the data from the acd.dat file</li>
|
79
|
-
<li>echi_agents – stores the data from the agname.dat file
|
61
|
+
<li>echi_agents – stores the data from the agname.dat file</li>
|
80
62
|
<li>echi_aux_reasons – stores the data from the aux_rsn.dat file</li>
|
81
63
|
<li>echi_cwcs – stores data from the cwc.dat file</li>
|
82
64
|
<li>echi_splits – stores data from the split.dat file</li>
|
@@ -84,247 +66,129 @@
|
|
84
66
|
<li>echi_vdns – stores data from the vdn.dat file</li>
|
85
67
|
<li>echi_vectors – stores data from the vector.dat file</li>
|
86
68
|
</ol></li>
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
<
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
<
|
100
|
-
|
101
|
-
|
102
|
-
<
|
103
|
-
<
|
104
|
-
|
105
|
-
<li><a href="http://activerecord.rubyforge.org/">ActiveRecord v2.1+</a></li>
|
106
|
-
<li><a href="http://activesupport.rubyforge.org/">ActiveSupport v2.1+</a></li>
|
107
|
-
<li><a href="http://daemons.rubyforge.org/">Daemons v1.0.10+</a> (for Linux only)</li>
|
108
|
-
<li><a href="http://fastercsv.rubyforge.org/">FasterCSV v1.2.3+</a></li>
|
109
|
-
<li><a href="http://rake.rubyforge.org/">Rake v0.8.1+</a></li>
|
110
|
-
<li><a href="http://sporkmonger.com/projects/uuidtools/">UUIDTools v1.0.3+</a></li>
|
111
|
-
<li><a href="http://win32utils.rubyforge.org/">Win32-service v.0.6.1+</a> (for Windows only)</li>
|
112
|
-
<li><a href="http://rubyforge.org/projects/seattlerb/">Hoe v1.7+</a></li>
|
113
|
-
<li><a href="http://www.avaya.com/gcm/master-usa/en-us/products/offers/call_management_system_r14.htm">Avaya <span class="caps">CMS</span></a> ECHI Release 12+ enabled and configured to send to an <span class="caps">FTP</span> server</li>
|
114
|
-
</ol>
|
115
|
-
|
116
|
-
|
117
|
-
<h2>Installing</h2>
|
118
|
-
|
119
|
-
|
69
|
+
</ol>
|
70
|
+
<h2>What <span class="caps">ECHI</span>-Converter is not</h2>
|
71
|
+
<p># A reporting engine<br />
|
72
|
+
# A set of database maintenance scripts<br />
|
73
|
+
<br />
|
74
|
+
h2. Requirements</p>
|
75
|
+
<p># <a href="http://www.ruby-lang.org/">Ruby v1.8.6+</a><br />
|
76
|
+
# <a href="http://www.rubygems.org/">Rubygems v1.2+</a> <br />
|
77
|
+
# <a href="http://activerecord.rubyforge.org/">ActiveRecord v2.1+</a><br />
|
78
|
+
# <a href="http://activesupport.rubyforge.org/">ActiveSupport v2.1+</a><br />
|
79
|
+
# <a href="http://daemons.rubyforge.org/">Daemons v1.0.10+</a><br />
|
80
|
+
# <a href="http://fastercsv.rubyforge.org/">FasterCSV v1.2.3+</a><br />
|
81
|
+
# <a href="http://rake.rubyforge.org/">Rake v0.8.1+</a><br />
|
82
|
+
# <a href="http://sporkmonger.com/projects/uuidtools/">UUIDTools v1.0.3+</a><br />
|
83
|
+
# <a href="http://win32utils.rubyforge.org/">Win32-service v.0.6.1+</a> (Manual install for Windows only)<br />
|
84
|
+
# <a href="http://rubyforge.org/projects/seattlerb/">Hoe v1.7+</a><br />
|
85
|
+
# Avaya <span class="caps">CMS</span> <span class="caps">ECHI</span> Release 12+ enabled and configured to send to an <span class="caps">FTP</span> server</p>
|
86
|
+
<h2>Installing</h2>
|
120
87
|
<pre syntax="ruby">sudo gem install echi-converter</pre>
|
121
|
-
|
122
|
-
<p>or</p>
|
123
|
-
|
124
|
-
|
88
|
+
<p>or</p>
|
125
89
|
<pre syntax="ruby">gem install echi-converter</pre>
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
<p>First, create the directory with all of the project files where you will run this application from:</p>
|
131
|
-
|
132
|
-
|
90
|
+
<h2>Setup</h2>
|
91
|
+
<p>First, create the directory with all of the project files where you will run this application from:</p>
|
133
92
|
<pre syntax="ruby">echi-converter create myproject</pre>
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
<
|
139
|
-
<
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
</
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
<li>Change to match your local database and database login credentials, full ActiveRecord support</li>
|
148
|
-
<li>Note: Your database user and database must exist before running rake, as rake will then create the schema</li>
|
149
|
-
</ol></li>
|
150
|
-
</ol>
|
151
|
-
|
152
|
-
|
153
|
-
<p>Once this is complete, then simply run these commands from the project directory:</p>
|
154
|
-
|
155
|
-
|
156
|
-
<ol>
|
157
|
-
<li>rake migrate (creates the tables required for the system)</li>
|
158
|
-
<li>echi-converter (starts the server daemon, refer to its usage)</li>
|
159
|
-
</ol>
|
160
|
-
|
161
|
-
|
162
|
-
<p>Note: When using a Windows <span class="caps">FTP</span> server, you must configure the <span class="caps">FTP</span> server to provide a <span class="caps">UNIX</span> directory listing format.</p>
|
163
|
-
|
164
|
-
|
165
|
-
<h2>Usage</h2>
|
166
|
-
|
167
|
-
|
168
|
-
<ol>
|
93
|
+
<p>Once you have installed a project into your preferred directory, you then need to configure for your environment. The first step is to modify each of these files:</p>
|
94
|
+
<p># config/application.yml<br />
|
95
|
+
## Change each of the ‘echi’ settings for connecting to your local <span class="caps">FTP</span> server where the <span class="caps">CMS</span> puts the <span class="caps">ASCII</span>/binary files<br />
|
96
|
+
## Select which schema you would like to use (ie – extended_version12.yml) based on what you have in place<br />
|
97
|
+
# config/database.yml<br />
|
98
|
+
## Change to match your local database and database login credentials, full ActiveRecord support<br />
|
99
|
+
## Note: Your database user and database must exist before running rake, as rake will then create the schema</p>
|
100
|
+
<p>Once this is complete, then simply run these commands from the project directory:</p>
|
101
|
+
<p># rake migrate (creates the tables required for the system)<br />
|
102
|
+
# echi-converter (starts the server daemon, refer to its usage)</p>
|
103
|
+
<p>Note: When using a Windows <span class="caps">FTP</span> server, you must configure the <span class="caps">FTP</span> server to provide a <span class="caps">UNIX</span> directory listing format.</p>
|
104
|
+
<h2>Usage</h2>
|
105
|
+
<ol>
|
169
106
|
<li>echi-converter create myproject – create the local project to run the <span class="caps">ECHI</span> converter from</li>
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
<p>For <span class="caps">POSIX</span>:</p>
|
175
|
-
|
176
|
-
|
177
|
-
<ol>
|
107
|
+
<li>echi-converter upgrade myproject – location of project to upgrade after a new gem is installed</li>
|
108
|
+
</ol>
|
109
|
+
<p>For <span class="caps">POSIX</span> (*NIX):</p>
|
110
|
+
<ol>
|
178
111
|
<li>echi-converter run myproject – Run the <span class="caps">ECHI</span> converter interactively from the location given</li>
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
<p>For MS-Windows:</p>
|
187
|
-
|
188
|
-
|
189
|
-
<ol>
|
112
|
+
<li>echi-converter start myproject – Start the <span class="caps">ECHI</span> converter in daemon mode from the location given</li>
|
113
|
+
<li>echi-converter stop myproject – Stop the <span class="caps">ECHI</span> converter daemon</li>
|
114
|
+
<li>echi-converter restart myproject – Restart the <span class="caps">ECHI</span> converter</li>
|
115
|
+
<li>echi-converter zap myproject – If there has been an unexpected close and the system still thinks the converter is running, clean up the pid files</li>
|
116
|
+
</ol>
|
117
|
+
<p>For MS-Windows:</p>
|
118
|
+
<ol>
|
190
119
|
<li>echi-converter install myproject – install the service (must specify complete path such as c:\path\to\my\project – if the directory name or path has any spaces, please enclose the “myproject” in double quotes )</li>
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
<ol>
|
201
|
-
|
202
|
-
<ol>
|
203
|
-
<li>ruby “c:\myproject\lib\main_win32.rb”</li>
|
120
|
+
<li>echi-converter start – start the service</li>
|
121
|
+
<li>echi-converter stop – stop the service</li>
|
122
|
+
<li>echi-converter pause – pause the service</li>
|
123
|
+
<li>echi-converter resume – resume the service</li>
|
124
|
+
<li>echi-converter status – returns the status of a configured service</li>
|
125
|
+
<li>echi-converter delete – delete the service"</li>
|
126
|
+
</ol>
|
127
|
+
<ol>
|
128
|
+
<li>If you would like to run the script interactively, you may also execute this command:
|
129
|
+
<ol>
|
130
|
+
<li>ruby “c:\myproject\lib\main_win32.rb”</li>
|
204
131
|
</ol></li>
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
<p>Multi-byte character support:</p>
|
209
|
-
|
210
|
-
|
211
|
-
<ol>
|
132
|
+
</ol>
|
133
|
+
<p>Multi-byte character support:</p>
|
134
|
+
<ol>
|
212
135
|
<li>If you require multi-byte character support be sure to set your database to ‘utf8’ as well as uncomment the option ‘encoding: utf8’ in the config/database.yml file</li>
|
213
|
-
|
214
|
-
|
215
|
-
|
216
|
-
<h2>Demonstration of usage</h2>
|
217
|
-
|
218
|
-
|
219
|
-
<p>Start the daemon/service:</p>
|
220
|
-
|
221
|
-
|
136
|
+
</ol>
|
137
|
+
<h2>Demonstration of usage</h2>
|
138
|
+
<p>Start the daemon/service:</p>
|
222
139
|
<pre syntax="ruby">echi-converter start myproject</pre>
|
223
|
-
|
224
|
-
<p>Stop the daemon/service:</p>
|
225
|
-
|
226
|
-
|
140
|
+
<p>Stop the daemon/service:</p>
|
227
141
|
<pre syntax="ruby">echi-converter stop myproject</pre>
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
<p>While the use of Ruby allows for operation on a multitude of platforms, these are the platforms that have actually been tested on. If you have success running on other platforms, please feel free to provide details on the Google Group.</p>
|
233
|
-
|
234
|
-
|
235
|
-
<h4>Operating Systems</h4>
|
236
|
-
|
237
|
-
|
238
|
-
<ol>
|
142
|
+
<h2>Supported Platforms</h2>
|
143
|
+
<p>While the use of Ruby allows for operation on a multitude of platforms, these are the platforms that have actually been tested on. If you have success running on other platforms, please feel free to provide details on the Google Group.</p>
|
144
|
+
<h4>Operating Systems</h4>
|
145
|
+
<ol>
|
239
146
|
<li><span class="caps">POSIX</span></li>
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
<h4>Databases</h4>
|
247
|
-
|
248
|
-
|
249
|
-
<ol>
|
147
|
+
<li>Windows XP SP2</li>
|
148
|
+
<li>Windows 2000</li>
|
149
|
+
<li>Windows 2003</li>
|
150
|
+
</ol>
|
151
|
+
<h4>Databases</h4>
|
152
|
+
<ol>
|
250
153
|
<li>MySQL</li>
|
251
|
-
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
<
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
<li>Windows 2003/XP <span class="caps">FTP</span> Servers (When using a Windows <span class="caps">FTP</span> server, you must configure the <span class="caps">FTP</span> server to provide a <span class="caps">UNIX</span> directory listing format.)</li>
|
265
|
-
</ol>
|
266
|
-
|
267
|
-
|
268
|
-
<h2>Related Avaya Documentation for <span class="caps">ECHI</span></h2>
|
269
|
-
|
270
|
-
|
271
|
-
<ol>
|
154
|
+
<li>Microsoft Sqlserver</li>
|
155
|
+
<li>DB2</li>
|
156
|
+
<li>Sqlite3</li>
|
157
|
+
<li>Postgres</li>
|
158
|
+
<li>Oracle</li>
|
159
|
+
</ol>
|
160
|
+
<h4><span class="caps">FTP</span> Servers</h4>
|
161
|
+
<ol>
|
162
|
+
<li><span class="caps">VSFTP</span></li>
|
163
|
+
<li>Windows 2003/XP <span class="caps">FTP</span> Servers (When using a Windows <span class="caps">FTP</span> server, you must configure the <span class="caps">FTP</span> server to provide a <span class="caps">UNIX</span> directory listing format.)</li>
|
164
|
+
</ol>
|
165
|
+
<h2>Related Avaya Documentation for <span class="caps">ECHI</span></h2>
|
166
|
+
<ol>
|
272
167
|
<li><a href="http://support.avaya.com/elmodocs2/cms/R14/ECHI.pdf">Avaya Call Management System Release 14 External Call History Interface</a></li>
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
<p><a href="http://rubyforge.org/tracker/?atid=15802&group_id=4110&func=browse">Ruby Forge Bug Tracker – <span class="caps">ECHI</span> Converter</a></p>
|
296
|
-
|
297
|
-
|
298
|
-
<h2>How to submit patches</h2>
|
299
|
-
|
300
|
-
|
301
|
-
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
|
302
|
-
|
303
|
-
|
304
|
-
<p>The trunk repository is <code>svn://rubyforge.org/var/svn/echi-converter/trunk</code> for anonymous access.</p>
|
305
|
-
|
306
|
-
|
307
|
-
<h2>License</h2>
|
308
|
-
|
309
|
-
|
310
|
-
<p>This code is free to use under the terms of the <span class="caps">LGPL</span> license.</p>
|
311
|
-
|
312
|
-
|
313
|
-
<h2>Contact</h2>
|
314
|
-
|
315
|
-
|
316
|
-
<p>Comments are welcome. Send an email to <a href="mailto:jason@goecke.net">jason [at] goecke.net</a>.</p>
|
317
|
-
|
318
|
-
|
319
|
-
<h2>Other Recommended Open Source Projects</h2>
|
320
|
-
|
321
|
-
|
322
|
-
<ol>
|
323
|
-
<li>Asterisk – is the world’s leading open source PBXi, telephony engine, and telephony applications toolkit, link <a href="http://www.asterisk.org">here.</a></li>
|
324
|
-
<li>Adhearsion – is an open-source, unconventional voice framework that ties technologies together neatly, link <a href="http://www.adhearsion.com">here.</a></li>
|
325
|
-
</ol>
|
168
|
+
<li><a href="http://support.avaya.com/elmodocs2/cms_r13_1/07-300737_ECHI.pdf">Avaya Call Management System Release 13 External Call History Interface</a></li>
|
169
|
+
</ol>
|
170
|
+
<h2>Screencast</h2>
|
171
|
+
<p>You may view the screencast on howto install and use the <span class="caps">ECHI</span>-Converter <a href="http://www.screencast.com/t/lQQkIVkUZMr">here</a>.</p>
|
172
|
+
<h2>Consulting Services</h2>
|
173
|
+
<p>If you would like help installing, configuring or adding features please do not hesitate to contact the consulting services of Adhearsion <a href="http://new.adhearsion.com/consulting">here</a>.</p>
|
174
|
+
<h2>Forum</h2>
|
175
|
+
<p>Please report questions here:</p>
|
176
|
+
<p><a href="http://groups.google.com/group/echi-converter">Google Groups – <span class="caps">ECHI</span> Converter</a></p>
|
177
|
+
<p>Please report bugs here:</p>
|
178
|
+
<p><a href="http://rubyforge.org/tracker/?atid=15802&group_id=4110&func=browse">Ruby Forge Bug Tracker – <span class="caps">ECHI</span> Converter</a></p>
|
179
|
+
<h2>How to submit patches</h2>
|
180
|
+
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
|
181
|
+
<p>The trunk repository is <code>svn://rubyforge.org/var/svn/echi-converter/trunk</code> for anonymous access.</p>
|
182
|
+
<h2>License</h2>
|
183
|
+
<p>This code is free to use under the terms of the <span class="caps">LGPL</span> license.</p>
|
184
|
+
<h2>Contact</h2>
|
185
|
+
<p>Comments are welcome. Send an email to <a href="mailto:jason@goecke.net">jason [at] goecke.net</a>.</p>
|
186
|
+
<h2>Brought to you by</h2>
|
187
|
+
<ol>
|
188
|
+
<li><a href="http://www.adhearsion.com">Adhearsion</a>, the open-source, unconventional voice framework that ties technologies together neatly.</li>
|
189
|
+
</ol>
|
326
190
|
<p class="coda">
|
327
|
-
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>,
|
191
|
+
<a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 7th January 2009<br>
|
328
192
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
329
193
|
</p>
|
330
194
|
</div>
|
data/website/index.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
h1. ECHI Converter
|
2
2
|
|
3
|
-
h1.
|
3
|
+
h1. 'echi-converter'
|
4
4
|
|
5
5
|
|
6
6
|
h2. The ECHI (External Call History Interface) Converter
|
@@ -22,9 +22,8 @@ The utility provides the following capabilities:
|
|
22
22
|
# Insert the records into the defined database table using database transactions, via ActiveRecord, on a per file basis to support recovery on failure
|
23
23
|
# Change schema structure via YML configuration file to accommodate various releases of the ECHI format
|
24
24
|
# Supports inserting data from the various '.dat' files provided by the Avaya CMS into associated tables
|
25
|
-
# Runs as a daemon (via fork) on Posix and a service on Windows
|
25
|
+
# Runs as a daemon (via fork) on Posix (*NIX) and a service on Windows
|
26
26
|
# Has a watchdog process on Posix or you may set a service watch on Windows
|
27
|
-
# Support for UTF8 encoding
|
28
27
|
# Allows for multiple FTP sessions to be used for greater performance (via "green threads":http://en.wikipedia.org/wiki/Green_threads)
|
29
28
|
|
30
29
|
# Table names:
|
@@ -50,13 +49,13 @@ h2. Requirements
|
|
50
49
|
# "Rubygems v1.2+":http://www.rubygems.org/
|
51
50
|
# "ActiveRecord v2.1+":http://activerecord.rubyforge.org/
|
52
51
|
# "ActiveSupport v2.1+":http://activesupport.rubyforge.org/
|
53
|
-
# "Daemons v1.0.10+":http://daemons.rubyforge.org/
|
52
|
+
# "Daemons v1.0.10+":http://daemons.rubyforge.org/
|
54
53
|
# "FasterCSV v1.2.3+":http://fastercsv.rubyforge.org/
|
55
54
|
# "Rake v0.8.1+":http://rake.rubyforge.org/
|
56
55
|
# "UUIDTools v1.0.3+":http://sporkmonger.com/projects/uuidtools/
|
57
|
-
# "Win32-service v.0.6.1+":http://win32utils.rubyforge.org/ (for Windows only)
|
56
|
+
# "Win32-service v.0.6.1+":http://win32utils.rubyforge.org/ (Manual install for Windows only)
|
58
57
|
# "Hoe v1.7+":http://rubyforge.org/projects/seattlerb/
|
59
|
-
#
|
58
|
+
# Avaya CMS ECHI Release 12+ enabled and configured to send to an FTP server
|
60
59
|
|
61
60
|
h2. Installing
|
62
61
|
|
@@ -93,7 +92,7 @@ h2. Usage
|
|
93
92
|
# echi-converter create myproject - create the local project to run the ECHI converter from
|
94
93
|
# echi-converter upgrade myproject - location of project to upgrade after a new gem is installed
|
95
94
|
|
96
|
-
For POSIX:
|
95
|
+
For POSIX (*NIX):
|
97
96
|
|
98
97
|
# echi-converter run myproject - Run the ECHI converter interactively from the location given
|
99
98
|
# echi-converter start myproject - Start the ECHI converter in daemon mode from the location given
|
@@ -162,6 +161,10 @@ h2. Screencast
|
|
162
161
|
|
163
162
|
You may view the screencast on howto install and use the ECHI-Converter "here":http://www.screencast.com/t/lQQkIVkUZMr.
|
164
163
|
|
164
|
+
h2. Consulting Services
|
165
|
+
|
166
|
+
If you would like help installing, configuring or adding features please do not hesitate to contact the consulting services of Adhearsion "here":http://new.adhearsion.com/consulting.
|
167
|
+
|
165
168
|
h2. Forum
|
166
169
|
|
167
170
|
Please report questions here:
|
@@ -186,7 +189,6 @@ h2. Contact
|
|
186
189
|
|
187
190
|
Comments are welcome. Send an email to "jason [at] goecke.net":mailto:jason@goecke.net.
|
188
191
|
|
189
|
-
h2.
|
192
|
+
h2. Brought to you by
|
190
193
|
|
191
|
-
#
|
192
|
-
# Adhearsion - is an open-source, unconventional voice framework that ties technologies together neatly, link "here.":http://www.adhearsion.com
|
194
|
+
# "Adhearsion":http://www.adhearsion.com, the open-source, unconventional voice framework that ties technologies together neatly.
|
@@ -23,7 +23,7 @@ li {
|
|
23
23
|
list-style-type: square;
|
24
24
|
}
|
25
25
|
a {
|
26
|
-
color: #
|
26
|
+
color: #000080;
|
27
27
|
background-color: #FFFFFF;
|
28
28
|
font-weight: normal;
|
29
29
|
text-decoration: underline;
|
@@ -101,8 +101,8 @@ pre, code {
|
|
101
101
|
text-align: right;
|
102
102
|
font-family: sans-serif;
|
103
103
|
font-weight: normal;
|
104
|
-
background-color: #
|
105
|
-
color: #
|
104
|
+
background-color: #000080;
|
105
|
+
color: #000080;
|
106
106
|
padding: 15px 20px 10px 20px;
|
107
107
|
margin: 0 auto;
|
108
108
|
margin-top: 15px;
|
@@ -119,16 +119,16 @@ pre, code {
|
|
119
119
|
|
120
120
|
#version p {
|
121
121
|
text-decoration: none;
|
122
|
-
color: #
|
123
|
-
background-color: #
|
122
|
+
color: #FFFFFF;
|
123
|
+
background-color: #000080;
|
124
124
|
margin: 0;
|
125
125
|
padding: 0;
|
126
126
|
}
|
127
127
|
|
128
128
|
#version a {
|
129
129
|
text-decoration: none;
|
130
|
-
color: #
|
131
|
-
background-color: #
|
130
|
+
color: #FFFFFF;
|
131
|
+
background-color: #000080;
|
132
132
|
}
|
133
133
|
|
134
134
|
.clickable {
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: echi-converter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Goecke
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date:
|
12
|
+
date: 2009-01-09 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -80,7 +80,7 @@ dependencies:
|
|
80
80
|
requirements:
|
81
81
|
- - ">="
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 1.
|
83
|
+
version: 1.8.2
|
84
84
|
version:
|
85
85
|
description: ECHI Conversion Utility - Provides a utility to fetch Avaya CMS / ECHI binary files, convert them and insert into a database table via ActiveRecord
|
86
86
|
email: jason [at] goecke.net
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
requirements: []
|
168
168
|
|
169
169
|
rubyforge_project: echi-converter
|
170
|
-
rubygems_version: 1.
|
170
|
+
rubygems_version: 1.3.1
|
171
171
|
signing_key:
|
172
172
|
specification_version: 2
|
173
173
|
summary: ECHI Conversion Utility - Provides a utility to fetch Avaya CMS / ECHI binary files, convert them and insert into a database table via ActiveRecord
|