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