bougyman-freeswitcher 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/AUTHORS ADDED
@@ -0,0 +1,13 @@
1
+ Following persons have contributed to freeswitcher.
2
+ (Sorted by number of submitted patches, then alphabetically)
3
+
4
+ 103 TJ Vanderpoel <bougy.man@gmail.com>
5
+ 64 Jayson Vaughn <jayson@onedrop.home>
6
+ 28 Michael Fellinger <m.fellinger@gmail.com>
7
+ 6 Jayson Vaughn <jayson@onedrop.(none)>
8
+ 6 Mikael Bjerkeland <mikael@consoll.no>
9
+ 4 foo <jvaughn@hellspass.nationwide-recovery.com>
10
+ 4 Jayson Vaughn <vaughn.jayson@gmail.com>
11
+ 3 Kevin Berry <kevin@opensourcealchemist.com>
12
+ 1 jayson vaughn <jayson@falcon.(none)>
13
+ 1 U-Paul-PC\Paul <Paul@Paul-PC.(none)>
data/CHANGELOG ADDED
@@ -0,0 +1,1136 @@
1
+ [a110dc6 | Mon May 11 16:12:17 UTC 2009] Jayson Vaughn <jayson@onedrop.(none)>
2
+
3
+ * Corrected typos in README
4
+
5
+ [da6d963 | Mon May 11 16:00:35 UTC 2009] Jayson Vaughn <jayson@onedrop.(none)>
6
+
7
+ * Removed 'puts $LOAD_PATH.inspect'
8
+
9
+ [5fd154d | Mon May 11 15:57:36 UTC 2009] Jayson Vaughn <jayson@onedrop.(none)>
10
+
11
+ * Updated README
12
+
13
+
14
+
15
+ [981d6bb | Mon May 11 15:42:27 UTC 2009] Jayson Vaughn <jayson@onedrop.(none)>
16
+
17
+ * Updating README
18
+
19
+
20
+
21
+ [2d2fdb5 | Tue May 05 12:32:35 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
22
+
23
+ * added some yard documentation
24
+
25
+ [0e72f02 | Mon May 04 22:15:48 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
26
+
27
+ * fixed broken tasks, tested all tasks
28
+
29
+ [8e6f7e8 | Mon May 04 21:38:28 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
30
+
31
+ * updated package building and added a bunch of convenience tasks
32
+
33
+ [8b94e17 | Mon May 04 20:31:56 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
34
+
35
+ * Changed @state to @queue.
36
+
37
+
38
+
39
+ [54e2702 | Mon May 04 20:04:25 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
40
+
41
+ * Changed state machine
42
+
43
+
44
+
45
+ [0f134f2 | Sun May 03 20:07:27 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
46
+
47
+ * No longer 100% necessary to override receive_reply method so I removed
48
+
49
+
50
+
51
+ [f70a43c | Sun May 03 19:53:06 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
52
+
53
+ * Added a different way to keep state.
54
+
55
+ playback 'blah'
56
+ cmd do
57
+ bridge 'blah'
58
+ end
59
+ end
60
+
61
+ [a4b9832 | Sat May 02 22:00:37 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
62
+
63
+ * upped version and built new gemspec
64
+
65
+ [202d05b | Sat May 02 22:00:05 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
66
+
67
+ * moved limit to FSR::App where it belonged
68
+
69
+ [17fa4e6 | Sat May 02 21:46:50 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
70
+
71
+ * upped version and built new gem
72
+
73
+ [93220f3 | Sat May 02 21:46:16 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
74
+
75
+ * added limit command
76
+
77
+ [4b918cd | Sat May 02 21:12:18 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
78
+
79
+ * upped version and built new gemspec
80
+
81
+ [159f978 | Sat May 02 21:11:40 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
82
+
83
+ * added #next_step to manually increment state machine
84
+
85
+ [738e6da | Sat May 02 21:02:46 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
86
+
87
+ * upped version and made new gemspec
88
+
89
+ [faf4c5a | Sat May 02 21:00:53 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
90
+
91
+ * added Cmd::Calls and a Model::Call to describe call data
92
+
93
+ [8ef6196 | Thu Apr 30 20:48:12 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
94
+
95
+ * Added FSR::App::PlayAndGetDigits
96
+
97
+ 1.9.1
98
+ Updated specs for FSR::App::PlayAndGetDigits
99
+
100
+ [426ea94 | Thu Apr 16 15:12:54 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
101
+
102
+ * Version bump 0.0.13
103
+
104
+
105
+
106
+ [1b81841 | Thu Apr 16 15:11:37 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
107
+
108
+ * Updated README to reflect refactor in FSR::Listener::Outbound
109
+
110
+ Version bump 0.0.13
111
+
112
+ [8bc8cdc | Thu Apr 16 15:08:31 UTC 2009] foo <jvaughn@hellspass.nationwide-recovery.com>
113
+
114
+ * Added Hash#strip_new_newlines helper
115
+
116
+ [5da2747 | Thu Apr 16 14:48:26 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
117
+
118
+ * Updated examples/dtmf_test.rb and oes_demo.rb
119
+
120
+ * This reflects the new changes to FSR::Listener::Outbound
121
+
122
+ [8465069 | Thu Apr 16 14:43:50 UTC 2009] foo <jvaughn@hellspass.nationwide-recovery.com>
123
+
124
+ * Refactored FSR::Listener::Outbound
125
+
126
+ session object
127
+ #update_session now fully updates @session
128
+
129
+ [0fa32ea | Thu Apr 16 13:14:08 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
130
+
131
+ * Updated README
132
+
133
+ Updated examples/dtm_read.rb
134
+ Bumped version to 0.0.12
135
+
136
+ [24ff9bd | Thu Apr 16 13:00:54 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
137
+
138
+ * Moved bin to examples
139
+
140
+ Updated README to show how to use 'step'
141
+
142
+ [5394612 | Thu Apr 16 12:51:32 UTC 2009] foo <jvaughn@hellspass.nationwide-recovery.com>
143
+
144
+ * Added the ability for receive_reply to keep state.
145
+
146
+ Please look at bin/dtmf_test.rb for example
147
+
148
+ [4cb5002 | Wed Apr 15 14:51:13 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
149
+
150
+ * Removed #wait_for_reply
151
+
152
+ [c63fce9 | Wed Apr 15 14:37:21 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
153
+
154
+ * Added Fsr::Listener::Outbound#wait_for_reply
155
+
156
+ [b09939b | Wed Apr 15 14:15:29 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
157
+
158
+ * Made sure to use #to_s on session.headers[:event_calling_function] incase it is nil
159
+
160
+ [8b75ddc | Wed Apr 15 14:12:51 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
161
+
162
+ * Added FSR::Listener::Outbound#update_session to update session variables
163
+
164
+ [ea36a2f | Wed Apr 15 13:45:02 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
165
+
166
+ * Corrected typo in FSR::App::UuidDump#initialize
167
+
168
+ [85086b6 | Wed Apr 15 13:41:46 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
169
+
170
+ * Added FSR::App::UuidSetVar
171
+
172
+
173
+
174
+ [7ab8727 | Wed Apr 15 13:29:34 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
175
+
176
+ * Corrected typo in FSR::App::UuidGetVar
177
+
178
+ [e732be4 | Wed Apr 15 13:09:10 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
179
+
180
+ * Added FSR::App::UuidGetVar
181
+
182
+ * use uuid_getvar("uuid", "varaible") to retreive a channel variable
183
+
184
+ [8b3b3a4 | Tue Apr 14 21:47:05 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
185
+
186
+ * FSR::App::Read#sendmsg now joins arguments using " " not "|" :)
187
+
188
+ [01d9867 | Tue Apr 14 20:47:35 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
189
+
190
+ * Added event-lock to FSR::App::Read by default to #sendmsg
191
+
192
+ [654f036 | Tue Apr 14 20:39:49 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
193
+
194
+ * Added FSR::App::Read to read DTMF input
195
+
196
+ [fd827b6 | Tue Apr 14 19:23:43 UTC 2009] Mikael Bjerkeland <mikael@consoll.no>
197
+
198
+ * We should inherit the dialplan and context we had before
199
+
200
+
201
+
202
+ [c093ad3 | Tue Apr 14 15:08:11 UTC 2009] Mikael Bjerkeland <mikael@consoll.no>
203
+
204
+ * Small clean-ups
205
+
206
+
207
+
208
+ [ad46f8a | Sat Apr 11 21:39:04 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
209
+
210
+ * added spec for FSA::Set
211
+
212
+ [123bdaf | Sat Apr 11 21:25:37 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
213
+
214
+ * Version Bump to 0.0.10
215
+
216
+ [4e6abe7 | Sat Apr 11 21:22:12 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
217
+
218
+ * Updated README to reflect new api of #set
219
+
220
+ [de358d9 | Thu Apr 09 15:45:54 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
221
+
222
+ * Changed gem name to all lowercase. Camel case can be annoying
223
+
224
+ [f0c6fa4 | Wed Apr 08 20:50:08 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
225
+
226
+ * upped the version to generate a new gem
227
+
228
+ [e413b96 | Wed Apr 08 20:46:15 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
229
+
230
+ * added EM dependency to gemspec, updated news
231
+
232
+ [0abbdd6 | Wed Apr 08 20:37:23 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
233
+
234
+ * Changed VERSION
235
+
236
+ [b6a8137 | Wed Apr 08 20:36:59 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
237
+
238
+ * Up'd version
239
+
240
+ [736a88d | Tue Apr 07 13:22:11 UTC 2009] jayson vaughn <jayson@falcon.(none)>
241
+
242
+ * Changed FSR::App::Log#initiailize to make sure both parameters have a default setting. Can not have an optional parameter as your first one in Ruby it seems.
243
+
244
+ Updated spec/fsr/loading.rb to include FSR::App::Log
245
+
246
+ [e253698 | Tue Apr 07 18:26:35 UTC 2009] Mikael Bjerkeland <mikael@consoll.no>
247
+
248
+ * Set now takes two arguments (like #set in Adhearsion)
249
+
250
+ [38181ce | Tue Apr 07 18:18:43 UTC 2009] Mikael Bjerkeland <mikael@consoll.no>
251
+
252
+ * Added Log functionality to (OES)
253
+
254
+ Small documentation change in Set (OES)
255
+ oes_demo.rb now also demonstrates Log
256
+
257
+ [ab2ca12 | Tue Apr 07 14:39:02 UTC 2009] Mikael Bjerkeland <mikael@consoll.no>
258
+
259
+ * A few more examples
260
+
261
+ [c3b2df3 | Mon Apr 06 20:25:22 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
262
+
263
+ * Updated specs
264
+
265
+
266
+
267
+ [9e761f9 | Mon Apr 06 20:47:11 UTC 2009] Mikael Bjerkeland <mikael@consoll.no>
268
+
269
+ * Added a few more commands. If anything looks stupid please correct it :-
270
+
271
+
272
+
273
+ [7ec04a5 | Fri Apr 03 19:31:35 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
274
+
275
+ * Refactored FSR::Listener::Outbound to be a subclass of
276
+
277
+
278
+ No need for SocketResponse, Session, and CommandResponse objects anymore
279
+
280
+ Updated bin/oes_demo.rb
281
+
282
+ Updated README
283
+
284
+ *** NOTE session.headers's keys are now symbols! ***
285
+
286
+ [00f0919 | Fri Apr 03 18:27:42 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
287
+
288
+ * Updated bin/ies_demo.rb and README to show
289
+
290
+
291
+
292
+ [c1108d7 | Fri Apr 03 18:14:10 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
293
+
294
+ * Playing catchup - Made sure FSR::Listener::Inbound is now a subclass of
295
+
296
+
297
+ Made sure inspired's hook system still works
298
+
299
+ [4ac5698 | Fri Apr 03 17:57:00 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
300
+
301
+ * Fixing conflict
302
+
303
+ inspired added hooks in lib/fsr/listener/inbound.rb
304
+ bougyman added NEWS
305
+ inspiried added bin/ies_demo_with_hook.rb
306
+
307
+ [86db618 | Fri Apr 03 13:37:38 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
308
+
309
+ * Changed FSR::Listner::Inbound to be a subclass of
310
+
311
+
312
+ Added HeaderAndContentResponse class to represent a response
313
+
314
+ Updated bin/ies_demo.rb to reflecth how to use
315
+
316
+ Updated README
317
+
318
+ [803bfbc | Tue Mar 31 15:49:30 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
319
+
320
+ * Added some comments to the code
321
+
322
+ [d36c2e0 | Tue Mar 31 15:21:44 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
323
+
324
+ * Made sure Reply checks for "Control" vs :control
325
+
326
+ [08e49f7 | Tue Mar 31 15:12:38 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
327
+
328
+ * Reverted back to using strings as hash keys. This ensures that custom
329
+
330
+
331
+
332
+ [a698d18 | Tue Mar 31 14:51:24 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
333
+
334
+ * Corrected issue, now headers and body hash work with symbols
335
+
336
+ [b8cbcb0 | Tue Mar 31 14:45:42 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
337
+
338
+ * Trying .to_sym once more in Inbound::Event
339
+
340
+ [1a48504 | Tue Mar 31 14:44:12 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
341
+
342
+ * Changed back to original
343
+
344
+ [7c1d26c | Tue Mar 31 14:42:36 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
345
+
346
+ * typo
347
+
348
+ [792311e | Tue Mar 31 14:36:57 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
349
+
350
+ * s/.to.s_gsub/.to_s.gsub/
351
+
352
+ [90a757c | Tue Mar 31 14:31:28 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
353
+
354
+ * Changed FSR::Listener::Inbound::Event to use symbols for hash keys
355
+
356
+ [239dba6 | Tue Mar 31 14:28:29 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
357
+
358
+ * Updated README and sample bin/oes_demo.rb to reflect changes in headers
359
+
360
+
361
+
362
+ [7b75019 | Tue Mar 31 14:24:49 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
363
+
364
+ * Needed to check against @headers[:control] instead of
365
+
366
+
367
+
368
+ [bdb5444 | Tue Mar 31 14:22:06 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
369
+
370
+ * Added #to_s to correct bug with value
371
+
372
+ [845623a | Tue Mar 31 14:17:45 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
373
+
374
+ * Changed SocketResponse#headers to now use a symbol as the hash key
375
+
376
+ [431cd2c | Mon Mar 30 22:05:03 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
377
+
378
+ * Added FSBreak to send a 'break' command during an Outbound Event
379
+
380
+
381
+
382
+ [cf77986 | Wed Mar 25 21:58:02 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
383
+
384
+ * Updated bin/oes_demo.rb and README to correctly describe how to use
385
+
386
+
387
+
388
+ [0464d4e | Thu Mar 19 19:17:41 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
389
+
390
+ * Updated specs to include new apps
391
+
392
+ [045ffe8 | Thu Mar 12 01:38:02 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
393
+
394
+ * Update style for auth forms
395
+
396
+ [41e87ef | Thu Mar 12 01:33:28 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
397
+
398
+ * Put the label/input from join/start into a table for nicer listing
399
+
400
+ [8815d88 | Thu Mar 12 01:32:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
401
+
402
+ * Add auth related links to layout
403
+
404
+ [abd4506 | Thu Mar 12 01:32:21 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
405
+
406
+ * Fix two minor issues
407
+
408
+ [c15f39d | Thu Mar 12 01:31:59 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
409
+
410
+ * Refactor MainController a bit and suggest alternate random conference id generation
411
+
412
+ [d2d42f6 | Thu Mar 12 01:31:22 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
413
+
414
+ * Finish up auth, still needs some testing for openid and a profile page
415
+
416
+ [04bff23 | Sat Mar 07 15:07:35 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
417
+
418
+ * removed contrib from the gemspec, unneeded. JV added a bunch of applications
419
+
420
+ [1cf0e5a | Wed Mar 04 22:29:20 UTC 2009] Jayson Vaughn <jayson@onedrop.(none)>
421
+
422
+ * Abstracted how to start listeners.
423
+
424
+ * FSR.start_ies! for Inbound event socket listener
425
+ * FSR.start_oes! for Outbound event socket listener
426
+ * check out bin/ies_demo.rb and bin/oes_demo.rb for examples
427
+ * changed default log level to Logger::INFO
428
+ * Updated README
429
+
430
+ [c525445 | Wed Mar 04 21:30:24 UTC 2009] Jayson Vaughn <jayson@onedrop.(none)>
431
+
432
+ * added some String#strip magic
433
+
434
+ [b8d70b7 | Wed Feb 25 22:49:51 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
435
+
436
+ * Fix some stuff around auth, needs more
437
+
438
+ [e9ef028 | Wed Feb 25 22:41:53 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
439
+
440
+ * Remove the model/account
441
+
442
+ [88f58f8 | Wed Feb 25 22:39:36 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
443
+
444
+ * Default engine is Haml
445
+
446
+ [f41c42b | Wed Feb 25 04:27:45 UTC 2009] bougyman <bougyman@Esther.(none)>
447
+
448
+ * fixed FreeSWITCHeR link
449
+
450
+ [bfd7482 | Wed Feb 25 04:16:12 UTC 2009] bougyman <bougyman@Esther.(none)>
451
+
452
+ * changed spec to match new 30 second default timeout
453
+
454
+ [033cb6b | Wed Feb 25 04:12:44 UTC 2009] bougyman <bougyman@Esther.(none)>
455
+
456
+ * wrapped user-supplied vars in h(), moved conference logic into model/conference.rb
457
+
458
+ [f55194b | Wed Feb 25 18:31:33 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
459
+
460
+ * A little cleanup
461
+
462
+ [d1c5fc0 | Wed Feb 25 18:30:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
463
+
464
+ * Rough cut of auth system
465
+
466
+ [fe4e9e8 | Wed Feb 25 03:27:42 UTC 2009] bougyman <bougyman@Esther.(none)>
467
+
468
+ * Use 8k (default) conferences instead of 32kHz. Make link show up in joined_conference view (style.css change)
469
+
470
+ [74bb49a | Wed Feb 25 02:49:31 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
471
+
472
+ * make sure ignore_early_media has a default (true)
473
+
474
+ [d18c622 | Wed Feb 25 02:42:49 UTC 2009] bougyman <bougyman@Esther.(none)>
475
+
476
+ * corrected the legend
477
+
478
+ [b243a82 | Wed Feb 25 02:31:51 UTC 2009] bougyman <bougyman@Esther.(none)>
479
+
480
+ * added call control legend to conference_joined view
481
+
482
+ [55dfdae | Tue Feb 24 21:11:46 UTC 2009] bougyman <bougyman@Esther.(none)>
483
+
484
+ * removed unneeded index file
485
+
486
+ [1127bbb | Tue Feb 24 21:11:27 UTC 2009] bougyman <bougyman@Esther.(none)>
487
+
488
+ * added a gitignore for ride in the sample app
489
+
490
+ [c053826 | Tue Feb 24 21:09:12 UTC 2009] bougyman <bougyman@Esther.(none)>
491
+
492
+ * got sample app deployed and fixed a couple bugs
493
+
494
+ [e2a64eb | Tue Feb 24 18:49:34 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
495
+
496
+ * added a little sample app, will be confme.com
497
+
498
+ [f971037 | Tue Feb 24 18:11:05 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
499
+
500
+ * Moved FSR::Event to FSR::Listener::Inbound::Event namespace
501
+
502
+ * Added temp on_event hook for testing/development
503
+ * Added specs for FSR::Listener::Inbound
504
+ * Updated bin/ies_demo.rb with on_event hook
505
+
506
+ [05a7acc | Tue Feb 24 17:59:39 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
507
+
508
+ * change ies_demo.rb to default to localhost
509
+
510
+ [f1987ab | Tue Feb 24 17:57:16 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
511
+
512
+ * Started work on FSR::Listener::Inbound
513
+
514
+ * Refaced FSR::Listener::Inbound to a module ala
515
+ * FSR::Listener::Outbound
516
+ * Moved lib/fsr/event.rb to lib/fsr/listener/inbound and created the
517
+ * namesspace FSR::Listener::Inbound::Event
518
+ * Created bin/ies_demo.rb to demo how to use the refactor
519
+
520
+ [bd15285 | Tue Feb 24 14:52:17 UTC 2009] U-Paul-PC\Paul <Paul@Paul-PC.(none)>
521
+
522
+ * Make specs work in Win32. No pretty green colors, though. :(
523
+
524
+ [d9ee68e | Mon Feb 23 02:21:56 UTC 2009] Kevin Berry <kevin@opensourcealchemist.com>
525
+
526
+ * Version 0.0.4:
527
+
528
+ * functionality can still be used.
529
+
530
+ [52a9570 | Mon Feb 23 01:12:51 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
531
+
532
+ * updated version to get a new GH gem
533
+
534
+ [21e0ea5 | Sun Feb 22 19:03:09 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
535
+
536
+ * Modified bin/oes_demo.rb to use session_initiated method instead of
537
+
538
+
539
+ Removed on_call alias from FSR::Listener::Outbound
540
+
541
+ [0257bcc | Mon Feb 23 00:51:20 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
542
+
543
+ * fixed spec
544
+
545
+ [8df4a28 | Sun Feb 22 18:45:01 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
546
+
547
+ * Added a test to ensure on_call is always called after a session is
548
+
549
+
550
+
551
+ [1300fbe | Mon Feb 23 00:39:00 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
552
+
553
+ * Made all FSR::App classes have an #arguments array
554
+
555
+ * Moved a generic #sendmsg and #raw up into FSA::Application,
556
+ Fifo and Conference use the defaults, bridge uses its own #raw
557
+ because of the extra opts
558
+ * Removed the #caller test in Application#to_s, now defaults to
559
+ #sendmsg
560
+
561
+ [5f152a3 | Sun Feb 22 19:12:05 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
562
+
563
+ * fixed the else side of data handling to be the same as the if side
564
+
565
+ [0827e9f | Sun Feb 22 19:05:36 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
566
+
567
+ * Fixed receive_data to be able to handle incomlete responses/lines
568
+
569
+ * Session will now check to make sure the data ends with \n before
570
+ parsing any data received
571
+ * Added specs for testing this case
572
+
573
+ [fb5ec1e | Sun Feb 22 18:39:06 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
574
+
575
+ * Added spec to make sure "on_call" hook is called after a session is
576
+
577
+
578
+
579
+ [0fc1d6d | Sun Feb 22 17:42:11 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
580
+
581
+ * added a check of the @data array on a Command Reply to the outbound spec
582
+
583
+ [f5c5931 | Sun Feb 22 17:37:58 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
584
+
585
+ * Made Session more specific, changed @data to an array.
586
+
587
+ * Fixed bug where new session headers were not being added to @headers
588
+ * Modified specs to use more of the bacon dsl and fewer == test
589
+
590
+ [7461cbc | Sun Feb 22 16:32:30 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
591
+
592
+ * Made CommandReply instances an array instance variable on Session
593
+
594
+ * Outbound#receive_data only cares about a Session
595
+ * All replies to a Session are stored in Session#replies ([])
596
+ * on_call/receieved_response or session_initiated/reply_received only
597
+ fire on #initiated? Sessions or a Session getting a #complete? reply
598
+ * TODO #complete? needs logic to decide whether or not it's complete
599
+
600
+ [c516f24 | Sun Feb 22 16:04:22 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
601
+
602
+ * Modified outbound to know less about Session, made Session more
603
+
604
+
605
+ * Removed instance variables from Outbound which managed Session state
606
+ * Added instance variables and the #initiated? method to Session for
607
+ state management, as well as a << method to add to a session, in the
608
+ case it's split across receive_data calls
609
+ * Rewrote Outbond spec to check for a valid Session
610
+
611
+ [2fd2d22 | Sun Feb 22 01:06:23 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
612
+
613
+ * Added more comments explaining outbound.rb
614
+
615
+ [7bf1a6f | Sun Feb 22 00:53:24 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
616
+
617
+ * Heavy Refactor of FSR::Listener::Outbound
618
+
619
+ * Changed method that users/developers must use in their Outbound
620
+ * subclass to "on_call"
621
+ * Ensure that "on_call" is called only ONCE per session. This enables
622
+ * us to chain commands freely
623
+ * No longer rely on EM collecting all session data in one stream
624
+
625
+ TODO: Now that we can chain multipule commands, need to work in
626
+ responses to commands so we can peform condition logic
627
+
628
+ [b6c51f5 | Sat Feb 21 17:53:13 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
629
+
630
+ * a little magic to get the proper string, based on sendmsg being in the caller stack
631
+
632
+ [767cfb2 | Fri Feb 20 23:27:59 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
633
+
634
+ * ignore the .gemspec.erb file in spec_files for gem building
635
+
636
+ [412e65a | Fri Feb 20 23:14:54 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
637
+
638
+ * Removed the gemspec.erb from the spec.files list
639
+
640
+ [6c8d46a | Fri Feb 20 23:11:23 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
641
+
642
+ * Added rake tasks for package building
643
+
644
+ * Old .gemspec didn't meet GH's SAFE level requirement
645
+ * Added freeswitcher.gemspec.erb and a rake task pkg:build_gemspec
646
+ to built a compliant gemspec
647
+ * Added FSR::VERSION constant to keep track of current version
648
+
649
+ [0fcc86f | Fri Feb 20 22:21:07 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
650
+
651
+ * bumped version number to try and force a GH gem build
652
+
653
+ [9b7dc90 | Fri Feb 20 22:14:58 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
654
+
655
+ * renamed gemspec so GH builds the gem
656
+
657
+ [444ed09 | Fri Feb 20 22:14:26 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
658
+
659
+ * did not need gem in tree, GH builds on-the-fly from .gemspec
660
+
661
+ [b2565a7 | Fri Feb 20 22:10:32 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
662
+
663
+ * Renamed demo listener
664
+
665
+ [1ef570b | Fri Feb 20 22:08:37 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
666
+
667
+ * First gem release, added minor docs to README
668
+
669
+ * Official Project Name Change -> FreeSWITCHeR
670
+ * Added .gemspec for building a gem
671
+ * Added docs to README
672
+ * Include current version gem in pkg/ for GH
673
+
674
+ [38c8615 | Fri Feb 20 21:12:10 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
675
+
676
+ * Added specs for FSR::Listener::Outbound, removed unused methods from FSR::Listener
677
+
678
+ * Removed #call, #hangup, and #dispatch from FSR::Listener
679
+ * Added specs for testing of FSR::Listener::Outbound::Session and
680
+ FSR::Listener::Outbound::CommandReply
681
+ * Added new Top-Level constant FSL which references FSR::Listener.
682
+
683
+ [575455a | Fri Feb 20 17:27:32 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
684
+
685
+ * Refactored FSR::Listener::Outbound, now a module instead of a class
686
+
687
+ * Removed '.' from LOAD_PATH in FSR::App
688
+ * Added specs for FSR::App:Bridge
689
+ * Added FSR::Listener::Outbound::Session and ::CommandReply to
690
+ differentiate the data that is received on a socket
691
+ * Modules which include FSR::Listener::Outbound now need to handle
692
+ session_initiated(FSR::Listener::Outbound::Session.new) and
693
+ command_reply(FSR::Listener::Outbound::CommandReply.new)
694
+
695
+ [a1a7a5a | Fri Feb 20 15:58:24 UTC 2009] bougyman <bougyman@jimmy.nationwide-recovery.com>
696
+
697
+ * fixed error when no freeswitch install is available
698
+
699
+ [99f328d | Thu Feb 19 23:09:22 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
700
+
701
+ * this commit breaks everything done thus far. have fun
702
+
703
+ [22023cc | Wed Feb 18 23:28:32 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
704
+
705
+ * Changed Listener base class to a subclass of EventMachine::Connection
706
+
707
+ * Added post_init to FSR::Listener::Outbound to send connect\n\n on
708
+ every new connection
709
+ * Created simple bin/oes_listener.rb to test new class
710
+
711
+ [1cb04d1 | Wed Feb 18 19:50:34 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
712
+
713
+ * added FSC and FSA top-level constants, pointing to FSR::App and FSR::Cmd
714
+
715
+ [7c68537 | Thu Feb 19 08:09:44 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
716
+
717
+ * Add FSR::Listener
718
+
719
+ [45984f9 | Wed Feb 18 01:38:34 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
720
+
721
+ * added homepage ref in README
722
+
723
+ [5796a3a | Wed Feb 18 01:37:13 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
724
+
725
+ * fixed specs to not care about the order of the array, but still only allow commands if they are in the expected command/application set
726
+
727
+ [af4cda9 | Tue Feb 17 19:45:53 UTC 2009] Kevin Berry <kevin@opensourcealchemist.com>
728
+
729
+ * Add MIT License.
730
+
731
+ [36a1227 | Tue Feb 17 19:19:54 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
732
+
733
+ * removed necessity of local freeswitch install, now gives warning when not running on a machine with a local freeswitch running
734
+
735
+ [f5b17ca | Tue Feb 17 18:01:27 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
736
+
737
+ * Moved FSR::Cmd::Sofia::Profile specs to it's own file
738
+
739
+
740
+ Updated specs to reflect new options hash
741
+
742
+ [d87d69d | Tue Feb 17 17:44:26 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
743
+
744
+ * Added class level commands to profile and more argument type handling
745
+
746
+ * Profile.start(profile_name) will start a profile. stop, rescan, and
747
+ stop also act in this manner
748
+ * Sofia.new.profile(arguments) still works with a string, but now
749
+ also accepts an options hash {:action => :start, :name => "foo"}
750
+
751
+ [ace59a6 | Tue Feb 17 16:46:47 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
752
+
753
+ * Refactored profile so that start, stop, etc just create
754
+
755
+
756
+
757
+ [b057b46 | Tue Feb 17 00:40:36 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
758
+
759
+ * Refactored FSR::Cmd::Sofia::Profile and updated specs
760
+
761
+ * sofia = FSR::Cmd::Sofia.new
762
+
763
+ sofia.profile("internal stop").raw
764
+ => "sofia profile internal stop"
765
+
766
+ sofia.profile.stop("internal").raw
767
+ => "sofia profile internal stop"
768
+
769
+ [4308560 | Mon Feb 16 23:16:00 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
770
+
771
+ * Added FSR::Cmd::Sofia::Profile
772
+
773
+ sofia = FSR::Cmd::Sofia.new
774
+ sofia.profile.run
775
+ sofia.profile(:profile => 'internal', :exec => 'stop').run
776
+ sofia.profile('internal stop').run
777
+
778
+ Updated spec/cmd/sofia.rb to test Sofia::Profile
779
+
780
+ [1e03eba | Mon Feb 16 22:14:30 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
781
+
782
+ * Added App::Fifo and specs for it
783
+
784
+ * Fifo.new(fifo_name [String], direction ["in"|"out"], options [Hash]) yields a fifo application object (run #raw for FS output)
785
+ * Fifo << "myqueue" shortcut for Fifo.new("myqueue", "in")
786
+ * Fifo >> "myqueue" shortcut for Fifo.new("myqueue", "out", :wait => false)
787
+
788
+ [a8fe3d7 | Mon Feb 16 19:01:22 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
789
+
790
+ * Added specs for FSR::Cmd::Sofia
791
+
792
+ [0c2a106 | Mon Feb 16 18:52:24 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
793
+
794
+ * Added spec for cmd/orignate.rb
795
+
796
+ Changed Originate#raw to sort the keys on target options before adding
797
+ them to command. This ensures we can test on raw
798
+
799
+ [55bf869 | Mon Feb 16 18:29:16 UTC 2009] Kevin Berry <kevin@opensourcealchemist.com>
800
+
801
+ * Get better error messages for FS root path issues.
802
+
803
+ [b368c5b | Mon Feb 16 18:08:34 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
804
+
805
+ * Refactored sofia command to use composition for it's features
806
+
807
+
808
+ One can now:
809
+
810
+ sock.sofia.run
811
+ sock.sofia.status.run
812
+ sock.sofia.status(:status => 'profile', :name => 'internal')
813
+
814
+ TODO: Need to add cmd/sofia/profile.rb
815
+
816
+ [33e3bc7 | Mon Feb 16 16:54:31 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
817
+
818
+ * better handling of caller_id
819
+
820
+ [b0e4442 | Tue Feb 17 07:41:56 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
821
+
822
+ * FSR::FakeSocket - to be adapted as we need it
823
+
824
+ [0405b64 | Mon Feb 16 14:59:22 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
825
+
826
+ * Removed fs_socket requirement from commands, refactored Cmd::Originate
827
+
828
+ * FSR::Cmd::Command classes should not require the first argument
829
+ (fs_socket). Allowing it to be nil enables testing without a fs
830
+ server
831
+ * Merged @originator and @application into @endpoint in Cmd::Originate,
832
+ a typecheck determines whether endpoint is an App and runs #raw, or
833
+ a string and just sends the string
834
+
835
+ [32ba63e | Mon Feb 16 17:06:47 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
836
+
837
+ * A little bit nicer specs
838
+
839
+ [3373217 | Sun Feb 15 22:04:14 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
840
+
841
+ * Added a check for args[:status] parameter to ensure it is either
842
+
843
+
844
+
845
+ [d72c6c0 | Sun Feb 15 21:50:57 UTC 2009] Jayson Vaughn <jayson@onedrop.home>
846
+
847
+ * Created FSR::Cmd::Sofia
848
+
849
+ currently get run sofia status on profile and gateway:
850
+ * status = sock.sofia(:status => 'profile', :name =>'internal')
851
+
852
+ Updated spec/fsr/loading.rb to include :sofia command
853
+
854
+ TODO: Need to add "sofia profile" command
855
+ Need to add "sofia status" stand alone
856
+
857
+ [43fccce | Sun Feb 15 15:51:35 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
858
+
859
+ * * Added specs for a simple application - FSR::App::Conference
860
+
861
+ * Added convenience method FSR::App::Conference[conf_spec]
862
+
863
+ [f703128 | Sun Feb 15 15:14:27 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
864
+
865
+ * a decent view of the tree from ride-console, use with
866
+
867
+
868
+
869
+ [818d52b | Sun Feb 15 15:14:27 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
870
+
871
+ * a decent view of the tree from ride-console
872
+
873
+ [00cfbd6 | Sun Feb 15 15:08:56 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
874
+
875
+ * fixed some straggling old-namespace files that were missed in the namespace refactor
876
+
877
+ [4ccf214 | Sun Feb 15 14:58:06 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
878
+
879
+ * * Added rakefile (from rasta) which includes everything in tasks/
880
+
881
+ ramaze/rake_tasks/spec.rake) and modified a bit for bacon
882
+ * Added some info output to spec/helper when they don't have bacon
883
+ (TODO: add link for bacon source)
884
+
885
+ [0a6dc32 | Sun Feb 15 14:33:07 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
886
+
887
+ * * Refactored to shorten/clean namespaces
888
+
889
+ * FreeSwitcher::Applications -> FSR::App
890
+ * FreeSwitcher::Commands -> FSR::Cmd
891
+ * Note the spec/fsr/loading.rb, it must be maintained as new apps or
892
+ commands are added
893
+
894
+ [907d642 | Mon Feb 16 04:54:27 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
895
+
896
+ * Require spec/helper and use subdir
897
+
898
+ [1efbd6d | Sun Feb 15 13:53:27 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
899
+
900
+ * un-did the lazy rubygems require
901
+
902
+ [2c4e101 | Sun Feb 15 13:49:57 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
903
+
904
+ * added rubygems requirement
905
+
906
+ [1f5fd24 | Sun Feb 15 13:46:16 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
907
+
908
+ * added spec for a couple fsR module methods
909
+
910
+ [6351bab | Mon Feb 16 04:33:09 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
911
+
912
+ * Require freeswitcher in spec/helper
913
+
914
+ [66510ae | Mon Feb 16 04:31:55 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
915
+
916
+ * Add spec/helper.rb
917
+
918
+ [a3f373d | Mon Feb 16 04:30:49 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
919
+
920
+ * support absolute paths and load all applications
921
+
922
+ [fb2d4ab | Sun Feb 15 13:01:58 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
923
+
924
+ * added conference application, fixed originate when you send an extension instead of application (target_opts)
925
+
926
+ [0ec0026 | Mon Feb 16 02:36:06 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
927
+
928
+ * Some more refactoring
929
+
930
+ [fc399cb | Sun Feb 15 22:14:41 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
931
+
932
+ * Start using Pathname
933
+
934
+ [70b57a3 | Sun Feb 15 21:03:08 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
935
+
936
+ * Remove (null).rb
937
+
938
+ [34421cd | Sun Feb 15 20:57:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
939
+
940
+ * Easier load methods
941
+
942
+ [89a7ba5 | Sun Feb 15 05:38:59 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
943
+
944
+ * * Added Applications module, mimicks Commands module, for
945
+
946
+ * Refactored Originate to use an Application class
947
+
948
+ [a02c9a3 | Sat Feb 14 22:29:45 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
949
+
950
+ * renamed #command_text to #raw, shorter and sweeter (thedonvaughn suggestion)
951
+
952
+ [63762c9 | Sat Feb 14 22:27:36 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
953
+
954
+ * woops, messed up the conf and db paths, fixed
955
+
956
+ [49c8bf5 | Sat Feb 14 22:21:17 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
957
+
958
+ * added a search for the freeswitch install in FS_INTSALL_PATHS to figure out where freeswitch is installed
959
+
960
+ [d953804 | Sat Feb 14 22:12:32 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
961
+
962
+ * changed FS_ROOT to standard /usr/local/freeswitch location
963
+
964
+ [9804dfb | Sat Feb 14 21:13:04 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
965
+
966
+ * * Refactored originate to more closely model FS originate,
967
+
968
+ * Set defaults for caller_id_name, number, and timeout in Originate.new
969
+ * Made command_text its own method, so run only sends the command_text
970
+ return string to the fs event socket
971
+
972
+ [8ae592b | Sat Feb 14 17:41:39 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
973
+
974
+ * added defaults to FreeSwitcher callerid and such
975
+
976
+ [8797be8 | Sat Feb 14 17:22:31 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
977
+
978
+ * pulled duplicated code for setting table name
979
+
980
+ [d0994c7 | Sat Feb 14 17:16:27 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
981
+
982
+ * * Began mapping of Free Switch database
983
+
984
+ * Mapped Call Limit Tables to Sequel Models
985
+ * Added files for all of the dbs i have in my freeswitch/db directory,
986
+ to be mapped once we figure out what they do and which are global,
987
+ which are custom
988
+
989
+ == IRB Usage
990
+
991
+ irb(main):001:0> require "freeswitcher/database/core"
992
+ => true
993
+ irb(main):002:0> FreeSwitcher::Database::Core::Complete.first
994
+ => #<FreeSwitcher::Database::Core::Complete @values={:a9=>"", :a4=>"", :a2=>"help", :a10=>"", :a5=>"", :a6=>"", :a7=>"", :sticky=>0, :a8=>"", :a3=>"", :a1=>"sofia"}>
995
+ irb(main):003:0> FreeSwitcher::Database::Core::Complete.all.size
996
+ => 51
997
+
998
+ [9644f6f | Sat Feb 14 16:05:35 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
999
+
1000
+ * * db/init is meant to initialize the db, had to sort out permissions on
1001
+
1002
+ * Added global config variables (as frozen string constants) to the
1003
+ FreeSwitcher module.
1004
+ * Removed all of the requires from lib/freeswitcher, there are times
1005
+ when we want to use that module without any of the event sockets (like
1006
+ for FreeSwitcher::Database and FreeSwitcher::Configuration work)
1007
+ * Added FreeSwitcher.load_all_commands to require everything needed for
1008
+ commands to work (CommandSocket, Commands, and all commands in
1009
+ Commands::LOAD_PATH)
1010
+ * New FreeSwitcher constants:
1011
+ + ROOT = File.expand_path(File.dirname(__FILE__)).freeze # FreeSwitcher library base path
1012
+ + FS_ROOT = "/opt/freeswitch".freeze # Location of the freeswitch $${base_dir}
1013
+ + FS_CONFIG_PATH = "/opt/freeswitch/conf".freeze # freeswitch conf dir
1014
+ + FS_DB_PATH = "/opt/freeswitch/db".freeze # freeswitch db dir
1015
+
1016
+ == IRB usage
1017
+
1018
+ irb(main):001:0> FreeSwitcher.load_all_commands
1019
+ => [:originate]
1020
+ irb(main):002:0> m = FreeSwitcher::CommandSocket.new
1021
+ => #<FreeSwitcher::CommandSocket:0xb7c374b0 @auth="ClueCon", @server="127.0.0.1", @socket=#<TCPSocket:0xb7c373e8>, @port="8021">
1022
+ irb(main):003:0> orig = m.originate(:target => "sofia/gateway/carlos/6666", :application => "bridge", :application_arguments => "user/bougyman")
1023
+ => #<FreeSwitcher::Commands::Originate:0xb7c1d984 @timeout=15, @application="bridge", @caller_id_name=nil, @originator=nil, @caller_id_number=nil, @target="sofia/gateway/carlos/6666", @application_arguments="user/bougyman", @fs_socket=#<FreeSwitcher::CommandSocket:0xb7c374b0 @auth="ClueCon", @server="127.0.0.1", @socket=#<TCPSocket:0xb7c373e8>, @port="8021">>
1024
+ irb(main):004:0> call = orig.run
1025
+ D, [2009-02-14T10:11:38.093333 #4123] DEBUG -- : saying bgapi originate {ignore_early_media=true,origination_timeout=15}sofia/gateway/carlos/6666 &bridge(user/bougyman)
1026
+ => {"Job-UUID"=>"b2677f8a-9ba7-42f6-9422-65f09b9c3762", "body"=>"", "Content-Type"=>"command/reply", "Reply-Text"=>"+OK Job-UUID: b2677f8a-9ba7-42f6-9422-65f09b9c3762"}
1027
+
1028
+ [e120547 | Sat Feb 14 02:47:46 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1029
+
1030
+ * New Command structure
1031
+
1032
+ [b5cc476 | Sat Feb 14 02:21:07 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1033
+
1034
+ * Adding FreeSwitcher::Log
1035
+
1036
+ [e93e462 | Sat Feb 14 02:20:14 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1037
+
1038
+ * Move InboundEventSocket to CommandSocket
1039
+
1040
+ [bc83ac5 | Fri Feb 13 18:20:22 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1041
+
1042
+ * * Changed order of default requires to put commands last
1043
+
1044
+ * Completed Originate#run and variables needed to originate a call on
1045
+ Originate
1046
+ * Renamed the 'send' method to 'say' in EventSocket for clarity
1047
+
1048
+ [154e909 | Thu Feb 12 22:36:25 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1049
+
1050
+ * refactored includes so they load properly. rewrote FreeSwitcher::Commands.register and .list
1051
+
1052
+ [1c8a642 | Thu Feb 12 17:28:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
1053
+
1054
+ * Clean up lib/ a bit
1055
+
1056
+ [2416d4b | Thu Feb 12 01:15:22 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1057
+
1058
+ * renamed method to include all of its functionality
1059
+
1060
+ [290dcc6 | Thu Feb 12 01:11:56 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1061
+
1062
+ * finished parsing in EventSocket without sending to Event.from
1063
+
1064
+ [068f7f3 | Thu Feb 12 00:23:09 UTC 2009] Jayson Vaughn <vaughn.jayson@gmail.com>
1065
+
1066
+ * Return the body, not just the header in event_socket.rb
1067
+
1068
+ [66ccf4f | Wed Feb 11 22:21:05 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
1069
+
1070
+ * removed web branch
1071
+
1072
+ [3223431 | Wed Feb 11 21:44:54 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1073
+
1074
+ * removed irb history file, added full path spec to library includes
1075
+
1076
+ [b889e58 | Wed Feb 11 21:44:18 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1077
+
1078
+ * removed irb history file, added full path spec to library includes
1079
+
1080
+ [c3798a1 | Wed Feb 11 21:28:49 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1081
+
1082
+ * added fully qualified path to the require of event
1083
+
1084
+ [ef29cea | Wed Feb 11 21:16:06 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1085
+
1086
+ * removed the rest of ride
1087
+
1088
+ [6102073 | Wed Feb 11 21:15:18 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1089
+
1090
+ * removed ride from tree
1091
+
1092
+ [8cdd8f1 | Wed Feb 11 21:13:51 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1093
+
1094
+ * unneded ride files
1095
+
1096
+ [b01400e | Wed Feb 11 21:11:44 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1097
+
1098
+ * should not have been in the tree
1099
+
1100
+ [b712888 | Wed Feb 11 21:11:07 UTC 2009] bougyman <bougyman@hellspass.nationwide-recovery.com>
1101
+
1102
+ * Added ramaze tree to hold configurator and sequel models
1103
+
1104
+ [cfe4d14 | Wed Feb 11 01:10:27 UTC 2009] Jayson Vaughn <vaughn.jayson@gmail.com>
1105
+
1106
+ * s/return_result/response
1107
+
1108
+ [9304554 | Wed Feb 11 01:00:07 UTC 2009] Jayson Vaughn <vaughn.jayson@gmail.com>
1109
+
1110
+ * Moved FreeSwitcher::Event into lib
1111
+
1112
+ Created FreeSwitcher::EventSocket base class
1113
+ Created FreeSwitcher::InboundEventSocket
1114
+
1115
+ [2f31803 | Mon Feb 09 18:11:01 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
1116
+
1117
+ * More EM, no Threads
1118
+
1119
+ [8f20e9c | Mon Feb 09 00:57:08 UTC 2009] Jayson Vaughn <vaughn.jayson@gmail.com>
1120
+
1121
+ * Added a controller on port 9000. Anything you send to port 9000 will be
1122
+
1123
+
1124
+
1125
+ [303a136 | Mon Feb 09 06:42:24 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
1126
+
1127
+ * s/Response/Event/
1128
+
1129
+ [71fc503 | Mon Feb 09 06:35:33 UTC 2009] Michael Fellinger <m.fellinger@gmail.com>
1130
+
1131
+ * Initial bin/freeswitcher
1132
+
1133
+ [966b75f | Sat Feb 07 14:36:57 UTC 2009] TJ Vanderpoel <bougy.man@gmail.com>
1134
+
1135
+ * initial tree
1136
+