[1f5537d | 2009-11-18 06:43:28 UTC] TJ Vanderpoel * commented out more debugging [4eb4342 | 2009-11-18 06:42:33 UTC] TJ Vanderpoel * commented out debugging [daa5c02 | 2009-11-18 06:03:59 UTC] TJ Vanderpoel * upped version to 0.4.3, encompassing harryv bug fixes [3685cad | 2009-11-18 06:01:06 UTC] TJ Vanderpoel * removed non-UTF characters from inbound.rb [d90ae67 | 2009-11-16 21:09:04 UTC] Harry Vangberg * reconnect inbound listener when no connection has been made [1d41dcb | 2009-11-10 21:16:35 UTC] Harry Vangberg * signature should be integer to make tests pass [313b7cc | 2009-11-10 21:16:03 UTC] Harry Vangberg * don't force rubygems [45bc310 | 2009-09-24 03:42:47 UTC] Harry Vangberg * inbound socket should default to port 8021 [1a5c881 | 2009-09-22 21:31:14 UTC] Harry Vangberg * instance_eval event hooks [f5a32b5 | 2009-09-02 19:01:46 UTC] Harry Vangberg * strip newlines from event.content values [206d683 | 2009-09-02 19:48:03 UTC] Harry Vangberg * rename app -> execute_app. otherwise it royally fucked up. [0d16330 | 2009-09-02 17:31:15 UTC] Harry Vangberg * Add App::App for executing arbitrary apps. Use: app("app_name", "arg1", "arg2") [911a4db | 2009-08-27 13:50:20 UTC] Jayson Vaughn * Brain fart - changed #push to #unshift. We need the update_session [4ad32cb | 2009-08-27 13:40:04 UTC] Jayson Vaughn * When using an FSR::App object with a FSR::Listener::Outbound instance [17630f1 | 2009-08-25 23:57:07 UTC] Harry Vangberg * add App::BindMetaApp [2867c81 | 2009-08-24 19:03:57 UTC] Harry Vangberg * take multiple endpoints + :sequential => true [b3cd01a | 2009-08-21 18:48:08 UTC] TJ Vanderpoel * pushed the lib, too :) [9fc86a2 | 2009-08-21 18:17:35 UTC] TJ Vanderpoel * added hash accessible arguments to play_and_get_digits [6ed562f | 2009-08-20 18:44:28 UTC] Jayson Vaughn * Updated examples to use #to_s incase something goes wrong. I.e. wrong [2a3e3e5 | 2009-08-20 15:34:10 UTC] Jayson Vaughn * Reverted back to not use FSR::App in the inbound listener. Was a [73464df | 2009-08-20 15:25:53 UTC] Jayson Vaughn * Added load_all_applications to inbound event socket as well as include [f50b64d | 2009-08-20 15:22:26 UTC] Jayson Vaughn * Added FSR::Inbound::Listener#api as an abstraction to #say("api blah") [ec9cad3 | 2009-08-20 14:44:36 UTC] Jayson Vaughn * Added callback FSR::Listener::Inbound#before_session that is called once before Added FSR::Listener::Inbound#add_event and #del_event for instance level event hooks. As opposed to add_event_hook and del_event_hook which are class level Added specs for before_session and add_event and del_event [63021ac | 2009-07-16 12:55:00 UTC] Jayson Vaughn * Probably be good to actually send sched_hangup command to FS in the sched_hangup method [763464f | 2009-07-16 12:26:46 UTC] Jayson Vaughn * Added FSR::Listener::Outbound#sched_hangup [33ab5f7 | 2009-07-15 19:18:01 UTC] Jayson Vaughn * Added engine capabilities to FSR::App::Speak [fc083ef | 2009-07-03 14:14:17 UTC] TJ Vanderpoel * Version 0.4.2 [360c877 | 2009-06-22 01:45:56 UTC] bougyman * removed rcov dependency, added setup_spec task (for tmm1-em-spec) [684ce82 | 2009-06-20 17:00:01 UTC] TJ Vanderpoel * made sent_data an array like replies [f27b71d | 2009-06-17 18:09:17 UTC] Jayson Vaughn * Added spec/fsr_listener_helper.rb to gemspec list [52ef44b | 2009-06-16 20:26:30 UTC] TJ Vanderpoel * added some helpers for speccing listener apps [dcd2125 | 2009-06-15 14:12:12 UTC] Jayson Vaughn * Changed uuid_dump params to have default assignment for 1.8.x compat [d427e58 | 2009-06-06 23:21:20 UTC] Jayson Vaughn * In outbound listener spec, made sure to test variable is nil in update session test for a more complete test [c47ffc2 | 2009-06-06 22:17:17 UTC] Jayson Vaughn * changed spec description for update_session [d741758 | 2009-06-06 22:15:41 UTC] Jayson Vaughn * Added spec for FSR::Listener::Outbound#update_session [6936e80 | 2009-06-06 21:55:33 UTC] Jayson Vaughn * Added FSR::Cmd::UuidDump and specs [bf386f6 | 2009-06-06 21:33:16 UTC] Jayson Vaughn * added spec to FSR::Listener:Inbound for auth [a458fbf | 2009-06-06 21:09:47 UTC] Jayson Vaughn * s/@queue << block/@queue.unshift block [c2219d2 | 2009-06-06 21:05:37 UTC] Jayson Vaughn * corrected spec description typos [78053cc | 2009-06-06 21:02:13 UTC] Jayson Vaughn * Added em-specs for FSR::Listener::Inbound class * Added spec to test FSL::Inbound.add_event_hook [2d56635 | 2009-06-06 20:11:58 UTC] Jayson Vaughn * Added specs to test our proc based state machine [214be2b | 2009-06-06 18:16:29 UTC] Jayson Vaughn * Added em-epecs to test basic functionality of the Outbound Event Socket * Test we can process a response sent in multiple transmissions * Test we can receive a reply after a session is created * Test that we send connect to freeswitch upon a new connection TODO: Need to test Outbound Event socket state machine [48ffd21 | 2009-06-05 19:36:20 UTC] TJ Vanderpoel * Added em-spec capabilities [76e6798 | 2009-06-04 17:24:29 UTC] TJ Vanderpoel * re-added ability to send auth to the inbound/outbound listeners. (thanks, lewdsilver) [a724963 | 2009-06-04 00:04:24 UTC] Jayson Vaughn * Forgot to include these... woops [840dfa1 | 2009-06-03 23:46:14 UTC] Jayson Vaughn * Version 0.4.1 [26c4f0c | 2009-06-03 23:42:52 UTC] Jayson Vaughn * s/queue << block/queue.unshift block/g [6b589a3 | 2009-06-03 23:13:15 UTC] Jayson Vaughn * Version 0.4.0 [55753af | 2009-06-03 23:10:22 UTC] Jayson Vaughn * Updated outbound_event_socket.rb example [234a17e | 2009-06-03 23:01:56 UTC] Jayson Vaughn * Refactored api to be a method of FSR::Listener::Outbound [0bc8973 | 2009-06-03 21:55:02 UTC] Jayson Vaughn * Added FSR::App::Api [9d2cc41 | 2009-05-30 18:49:08 UTC] Jayson Vaughn * Made some changes so FSR is Ruby 1.9.1 compat * Monkey patched, unfortunately, String class with alias :each * :each_line compat with EventMachine [a40e1ed | 2009-05-30 18:10:35 UTC] Jayson Vaughn * Corrected typo in examples/outbound_event_socket.rb [0a3f680 | 2009-05-29 16:15:15 UTC] Jayson Vaughn * Added .to_s at end of Dir[load_path.join("*.rb").to_s] for Ruby 1.9.1 [f267c17 | 2009-05-27 20:49:27 UTC] Jayson Vaughn * Updated header_and_content specs [19ee736 | 2009-05-23 18:34:18 UTC] TJ Vanderpoel * Change example and readme to match what is demoed at sip:8084@falcon.rubyists.com [5be4271 | 2009-05-19 21:02:09 UTC] freeswitch * try to load log4r for logging (Logger buffers, bugs with runit services), fall back to Logger from stdlib if log4r not found [921251a | 2009-05-19 20:13:47 UTC] freeswitch * reverted regression to listeners, back to functional [eb72db4 | 2009-05-19 15:15:04 UTC] TJ Vanderpoel * changed spacing in content#find [c275898 | 2009-05-19 15:12:39 UTC] TJ Vanderpoel * improve the regex for matching a header: value in content of HeaderAndContentResponse [4bfaf24 | 2009-05-20 05:05:07 UTC] Michael Fellinger * headers/content come in as Array [5640b6f | 2009-05-20 04:54:42 UTC] Michael Fellinger * Fix the listener/outbound spec [29527e2 | 2009-05-19 23:20:24 UTC] Michael Fellinger * Minor cleanup [38b98fa | 2009-05-19 21:04:41 UTC] Michael Fellinger * Add some more outbound specs and refactor [817e731 | 2009-05-19 21:04:22 UTC] Michael Fellinger * Add HeaderAndContentResponse subclass that will take care of parsing the content if it should be parsed [d44c3f0 | 2009-05-19 20:45:48 UTC] Michael Fellinger * Minor refactor and some more specs for inbound listener [4f945e5 | 2009-05-19 20:28:53 UTC] Michael Fellinger * Refactor and basic specs of HeaderAndContentResponse, integration with inbound/outbound follow [e3c3142 | 2009-05-19 19:29:21 UTC] Michael Fellinger * A little bit less annoying require_relative look-alike [e80cbc1 | 2009-05-19 00:27:53 UTC] TJ Vanderpoel * updated authors and changelog [9451ba8 | 2009-05-19 00:26:26 UTC] TJ Vanderpoel * Version 0.3.1 fixes bug in FS_ROOT not being populated properly [fbaf84c | 2009-05-18 23:24:58 UTC] TJ Vanderpoel * Version 0.3.0 [bf6befa | 2009-05-18 23:22:36 UTC] TJ Vanderpoel * functionality for receiving variables passed to a block complete. README updated. Convert Rakefile file options to Pathname [7b0bf11 | 2009-05-18 20:31:48 UTC] Jayson Vaughn * Added yardoc comments [7b7efa7 | 2009-05-18 20:10:30 UTC] Jayson Vaughn * Removed FSR::Log.info debugging line from uuid_getvar and setvar [fda2ff4 | 2009-05-18 19:55:19 UTC] TJ Vanderpoel * Added FSR::App::UuidGetVar and UuidSetVar [39338cd | 2009-05-18 18:55:17 UTC] Jayson Vaughn * Corrected typo s/header_and_content/header_and_content_hash [cb4d1cc | 2009-05-18 18:54:08 UTC] Jayson Vaughn * And also it seems I need to include a parameter for hash_header in [a818d62 | 2009-05-18 18:51:25 UTC] Jayson Vaughn * Need to add a second paremeter to check_for_updated_session that [6302892 | 2009-05-18 18:49:17 UTC] Jayson Vaughn * Changed session_header_and_content to header_and_content_hash [5b8d9a4 | 2009-05-18 18:47:57 UTC] Jayson Vaughn * Corrected some typos in previous refactor of Outbound#receive_reply [12a13eb | 2009-05-18 18:41:40 UTC] Jayson Vaughn * Refactored Outbound#receive_request to decouple it a tad. Still could [6a95fa1 | 2009-05-18 18:16:43 UTC] Jayson Vaughn * Refactored FSR::App::PlayAndGetDigits to now yeild the read_var in a [5093e71 | 2009-05-18 15:08:39 UTC] TJ Vanderpoel * Read will now yield the read variable in a block Updated README [e71a1a5 | 2009-05-18 01:55:43 UTC] TJ Vanderpoel * reverted design error, putting SENDMSG_METHOD into Read attaching to Outbound, not App [273bdaf | 2009-05-18 01:34:02 UTC] TJ Vanderpoel * removed &block from read method definition after failing spec [ad1bbd1 | 2009-05-18 00:37:44 UTC] TJ Vanderpoel * left out another to_sym [19f8581 | 2009-05-18 00:32:23 UTC] TJ Vanderpoel * left out a to_sym [f445058 | 2009-05-18 00:31:43 UTC] TJ Vanderpoel * typos galore, fixed wrong constant name in Read. created the queue_pop method to handle popping procs, adding the session.headers[@read_var] if it exist to the proc called [93ecad2 | 2009-05-18 00:19:16 UTC] TJ Vanderpoel * TEST push to test changes, read/outbound test needed [30a39ad | 2009-05-16 20:41:41 UTC] TJ Vanderpoel * Added specs for originate, defaults to Cmd * Added specs for failing cases of Cmd::Originate * Move DEFAULT_OPTIONS to FSR::Cmd::Command so commands inherit this * Move default_options method to FSR::Cmd::Command as well. * Used default_options block in Originate for options population [865d177 | 2009-05-16 17:56:45 UTC] TJ Vanderpoel * filling out originate specs, testing options and argument types [19b81ff | 2009-05-13 16:03:35 UTC] TJ Vanderpoel * refactored to a new default_options [081112a | 2009-05-13 15:32:20 UTC] TJ Vanderpoel * changed handling of :ignore_early_media in target_options of originate to behave properly. Added argument checks for some originate arguments [55ec1c5 | 2009-05-11 17:14:34 UTC] Jayson Vaughn * New specs now pass [ab262c9 | 2009-05-11 17:13:48 UTC] Jayson Vaughn * Added specs for FSR::App::Answer, FSBreak, and FSSleep [1faf55f | 2009-05-11 16:44:51 UTC] Jayson Vaughn * Updated gemspec for 0.1.4 [011a3e6 | 2009-05-11 16:43:14 UTC] Jayson Vaughn * Sync changes with Master [f036509 | 2009-05-11 16:36:04 UTC] Jayson Vaughn * Version 0.1.4 [a110dc6 | 2009-05-11 16:12:17 UTC] Jayson Vaughn * Corrected typos in README [da6d963 | 2009-05-11 16:00:35 UTC] Jayson Vaughn * Removed 'puts $LOAD_PATH.inspect' [5fd154d | 2009-05-11 15:57:36 UTC] Jayson Vaughn * Updated README [981d6bb | 2009-05-11 15:42:27 UTC] Jayson Vaughn * Updating README [2d2fdb5 | 2009-05-05 12:32:35 UTC] TJ Vanderpoel * added some yard documentation [0e72f02 | 2009-05-04 22:15:48 UTC] TJ Vanderpoel * fixed broken tasks, tested all tasks [8e6f7e8 | 2009-05-04 21:38:28 UTC] TJ Vanderpoel * updated package building and added a bunch of convenience tasks [8b94e17 | 2009-05-04 20:31:56 UTC] Jayson Vaughn * Changed @state to @queue. [54e2702 | 2009-05-04 20:04:25 UTC] TJ Vanderpoel * Changed state machine [0f134f2 | 2009-05-03 20:07:27 UTC] Jayson Vaughn * No longer 100% necessary to override receive_reply method so I removed [f70a43c | 2009-05-03 19:53:06 UTC] Jayson Vaughn * Added a different way to keep state. playback 'blah' cmd do bridge 'blah' end end [a4b9832 | 2009-05-02 22:00:37 UTC] TJ Vanderpoel * upped version and built new gemspec [202d05b | 2009-05-02 22:00:05 UTC] TJ Vanderpoel * moved limit to FSR::App where it belonged [17fa4e6 | 2009-05-02 21:46:50 UTC] TJ Vanderpoel * upped version and built new gem [93220f3 | 2009-05-02 21:46:16 UTC] TJ Vanderpoel * added limit command [4b918cd | 2009-05-02 21:12:18 UTC] TJ Vanderpoel * upped version and built new gemspec [159f978 | 2009-05-02 21:11:40 UTC] TJ Vanderpoel * added #next_step to manually increment state machine [738e6da | 2009-05-02 21:02:46 UTC] TJ Vanderpoel * upped version and made new gemspec [faf4c5a | 2009-05-02 21:00:53 UTC] TJ Vanderpoel * added Cmd::Calls and a Model::Call to describe call data [8ef6196 | 2009-04-30 20:48:12 UTC] TJ Vanderpoel * Added FSR::App::PlayAndGetDigits 1.9.1 Updated specs for FSR::App::PlayAndGetDigits [426ea94 | 2009-04-16 15:12:54 UTC] Jayson Vaughn * Version bump 0.0.13 [1b81841 | 2009-04-16 15:11:37 UTC] Jayson Vaughn * Updated README to reflect refactor in FSR::Listener::Outbound Version bump 0.0.13 [8bc8cdc | 2009-04-16 15:08:31 UTC] foo * Added Hash#strip_new_newlines helper [5da2747 | 2009-04-16 14:48:26 UTC] Jayson Vaughn * Updated examples/dtmf_test.rb and oes_demo.rb * This reflects the new changes to FSR::Listener::Outbound [8465069 | 2009-04-16 14:43:50 UTC] foo * Refactored FSR::Listener::Outbound session object #update_session now fully updates @session [0fa32ea | 2009-04-16 13:14:08 UTC] Jayson Vaughn * Updated README Updated examples/dtm_read.rb Bumped version to 0.0.12 [24ff9bd | 2009-04-16 13:00:54 UTC] Jayson Vaughn * Moved bin to examples Updated README to show how to use 'step' [5394612 | 2009-04-16 12:51:32 UTC] foo * Added the ability for receive_reply to keep state. Please look at bin/dtmf_test.rb for example [4cb5002 | 2009-04-15 14:51:13 UTC] Jayson Vaughn * Removed #wait_for_reply [c63fce9 | 2009-04-15 14:37:21 UTC] Jayson Vaughn * Added Fsr::Listener::Outbound#wait_for_reply [b09939b | 2009-04-15 14:15:29 UTC] Jayson Vaughn * Made sure to use #to_s on session.headers[:event_calling_function] incase it is nil [8b75ddc | 2009-04-15 14:12:51 UTC] Jayson Vaughn * Added FSR::Listener::Outbound#update_session to update session variables [ea36a2f | 2009-04-15 13:45:02 UTC] Jayson Vaughn * Corrected typo in FSR::App::UuidDump#initialize [85086b6 | 2009-04-15 13:41:46 UTC] Jayson Vaughn * Added FSR::App::UuidSetVar [7ab8727 | 2009-04-15 13:29:34 UTC] Jayson Vaughn * Corrected typo in FSR::App::UuidGetVar [e732be4 | 2009-04-15 13:09:10 UTC] Jayson Vaughn * Added FSR::App::UuidGetVar * use uuid_getvar("uuid", "varaible") to retreive a channel variable [8b3b3a4 | 2009-04-14 21:47:05 UTC] Jayson Vaughn * FSR::App::Read#sendmsg now joins arguments using " " not "|" :) [01d9867 | 2009-04-14 20:47:35 UTC] Jayson Vaughn * Added event-lock to FSR::App::Read by default to #sendmsg [654f036 | 2009-04-14 20:39:49 UTC] Jayson Vaughn * Added FSR::App::Read to read DTMF input [fd827b6 | 2009-04-14 19:23:43 UTC] Mikael Bjerkeland * We should inherit the dialplan and context we had before [c093ad3 | 2009-04-14 15:08:11 UTC] Mikael Bjerkeland * Small clean-ups [ad46f8a | 2009-04-11 21:39:04 UTC] TJ Vanderpoel * added spec for FSA::Set [123bdaf | 2009-04-11 21:25:37 UTC] Jayson Vaughn * Version Bump to 0.0.10 [4e6abe7 | 2009-04-11 21:22:12 UTC] Jayson Vaughn * Updated README to reflect new api of #set [de358d9 | 2009-04-09 15:45:54 UTC] Jayson Vaughn * Changed gem name to all lowercase. Camel case can be annoying [f0c6fa4 | 2009-04-08 20:50:08 UTC] TJ Vanderpoel * upped the version to generate a new gem [e413b96 | 2009-04-08 20:46:15 UTC] TJ Vanderpoel * added EM dependency to gemspec, updated news [0abbdd6 | 2009-04-08 20:37:23 UTC] Jayson Vaughn * Changed VERSION [b6a8137 | 2009-04-08 20:36:59 UTC] Jayson Vaughn * Up'd version [736a88d | 2009-04-07 13:22:11 UTC] jayson vaughn * 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. Updated spec/fsr/loading.rb to include FSR::App::Log [e253698 | 2009-04-07 18:26:35 UTC] Mikael Bjerkeland * Set now takes two arguments (like #set in Adhearsion) [38181ce | 2009-04-07 18:18:43 UTC] Mikael Bjerkeland * Added Log functionality to (OES) Small documentation change in Set (OES) oes_demo.rb now also demonstrates Log [ab2ca12 | 2009-04-07 14:39:02 UTC] Mikael Bjerkeland * A few more examples [c3b2df3 | 2009-04-06 20:25:22 UTC] Jayson Vaughn * Updated specs [9e761f9 | 2009-04-06 20:47:11 UTC] Mikael Bjerkeland * Added a few more commands. If anything looks stupid please correct it :- [7ec04a5 | 2009-04-03 19:31:35 UTC] Jayson Vaughn * Refactored FSR::Listener::Outbound to be a subclass of No need for SocketResponse, Session, and CommandResponse objects anymore Updated bin/oes_demo.rb Updated README *** NOTE session.headers's keys are now symbols! *** [00f0919 | 2009-04-03 18:27:42 UTC] Jayson Vaughn * Updated bin/ies_demo.rb and README to show [c1108d7 | 2009-04-03 18:14:10 UTC] Jayson Vaughn * Playing catchup - Made sure FSR::Listener::Inbound is now a subclass of Made sure inspired's hook system still works [4ac5698 | 2009-04-03 17:57:00 UTC] Jayson Vaughn * Fixing conflict inspired added hooks in lib/fsr/listener/inbound.rb bougyman added NEWS inspiried added bin/ies_demo_with_hook.rb [86db618 | 2009-04-03 13:37:38 UTC] Jayson Vaughn * Changed FSR::Listner::Inbound to be a subclass of Added HeaderAndContentResponse class to represent a response Updated bin/ies_demo.rb to reflecth how to use Updated README [803bfbc | 2009-03-31 15:49:30 UTC] Jayson Vaughn * Added some comments to the code [d36c2e0 | 2009-03-31 15:21:44 UTC] Jayson Vaughn * Made sure Reply checks for "Control" vs :control [08e49f7 | 2009-03-31 15:12:38 UTC] Jayson Vaughn * Reverted back to using strings as hash keys. This ensures that custom [a698d18 | 2009-03-31 14:51:24 UTC] Jayson Vaughn * Corrected issue, now headers and body hash work with symbols [b8cbcb0 | 2009-03-31 14:45:42 UTC] Jayson Vaughn * Trying .to_sym once more in Inbound::Event [1a48504 | 2009-03-31 14:44:12 UTC] Jayson Vaughn * Changed back to original [7c1d26c | 2009-03-31 14:42:36 UTC] Jayson Vaughn * typo [792311e | 2009-03-31 14:36:57 UTC] Jayson Vaughn * s/.to.s_gsub/.to_s.gsub/ [90a757c | 2009-03-31 14:31:28 UTC] Jayson Vaughn * Changed FSR::Listener::Inbound::Event to use symbols for hash keys [239dba6 | 2009-03-31 14:28:29 UTC] Jayson Vaughn * Updated README and sample bin/oes_demo.rb to reflect changes in headers [7b75019 | 2009-03-31 14:24:49 UTC] Jayson Vaughn * Needed to check against @headers[:control] instead of [bdb5444 | 2009-03-31 14:22:06 UTC] Jayson Vaughn * Added #to_s to correct bug with value [845623a | 2009-03-31 14:17:45 UTC] Jayson Vaughn * Changed SocketResponse#headers to now use a symbol as the hash key [431cd2c | 2009-03-30 22:05:03 UTC] TJ Vanderpoel * Added FSBreak to send a 'break' command during an Outbound Event [cf77986 | 2009-03-25 21:58:02 UTC] Jayson Vaughn * Updated bin/oes_demo.rb and README to correctly describe how to use [ab373dd | 2009-03-24 00:52:38 UTC] Michael Fellinger * Remove cruft from form helper [0464d4e | 2009-03-19 19:17:41 UTC] Jayson Vaughn * Updated specs to include new apps [045ffe8 | 2009-03-12 01:38:02 UTC] Michael Fellinger * Update style for auth forms [41e87ef | 2009-03-12 01:33:28 UTC] Michael Fellinger * Put the label/input from join/start into a table for nicer listing [8815d88 | 2009-03-12 01:32:49 UTC] Michael Fellinger * Add auth related links to layout [abd4506 | 2009-03-12 01:32:21 UTC] Michael Fellinger * Fix two minor issues [c15f39d | 2009-03-12 01:31:59 UTC] Michael Fellinger * Refactor MainController a bit and suggest alternate random conference id generation [d2d42f6 | 2009-03-12 01:31:22 UTC] Michael Fellinger * Finish up auth, still needs some testing for openid and a profile page [04bff23 | 2009-03-07 15:07:35 UTC] TJ Vanderpoel * removed contrib from the gemspec, unneeded. JV added a bunch of applications [1cf0e5a | 2009-03-04 22:29:20 UTC] Jayson Vaughn * Abstracted how to start listeners. * FSR.start_ies! for Inbound event socket listener * FSR.start_oes! for Outbound event socket listener * check out bin/ies_demo.rb and bin/oes_demo.rb for examples * changed default log level to Logger::INFO * Updated README [c525445 | 2009-03-04 21:30:24 UTC] Jayson Vaughn * added some String#strip magic [b8d70b7 | 2009-02-25 22:49:51 UTC] Michael Fellinger * Fix some stuff around auth, needs more [e9ef028 | 2009-02-25 22:41:53 UTC] Michael Fellinger * Remove the model/account [88f58f8 | 2009-02-25 22:39:36 UTC] Michael Fellinger * Default engine is Haml [f41c42b | 2009-02-25 04:27:45 UTC] bougyman * fixed FreeSWITCHeR link [bfd7482 | 2009-02-25 04:16:12 UTC] bougyman * changed spec to match new 30 second default timeout [033cb6b | 2009-02-25 04:12:44 UTC] bougyman * wrapped user-supplied vars in h(), moved conference logic into model/conference.rb [f55194b | 2009-02-25 18:31:33 UTC] Michael Fellinger * A little cleanup [d1c5fc0 | 2009-02-25 18:30:01 UTC] Michael Fellinger * Rough cut of auth system [fe4e9e8 | 2009-02-25 03:27:42 UTC] bougyman * Use 8k (default) conferences instead of 32kHz. Make link show up in joined_conference view (style.css change) [74bb49a | 2009-02-25 02:49:31 UTC] TJ Vanderpoel * make sure ignore_early_media has a default (true) [d18c622 | 2009-02-25 02:42:49 UTC] bougyman * corrected the legend [b243a82 | 2009-02-25 02:31:51 UTC] bougyman * added call control legend to conference_joined view [55dfdae | 2009-02-24 21:11:46 UTC] bougyman * removed unneeded index file [1127bbb | 2009-02-24 21:11:27 UTC] bougyman * added a gitignore for ride in the sample app [c053826 | 2009-02-24 21:09:12 UTC] bougyman * got sample app deployed and fixed a couple bugs [e2a64eb | 2009-02-24 18:49:34 UTC] bougyman * added a little sample app, will be confme.com [f971037 | 2009-02-24 18:11:05 UTC] Jayson Vaughn * Moved FSR::Event to FSR::Listener::Inbound::Event namespace * Added temp on_event hook for testing/development * Added specs for FSR::Listener::Inbound * Updated bin/ies_demo.rb with on_event hook [05a7acc | 2009-02-24 17:59:39 UTC] Jayson Vaughn * change ies_demo.rb to default to localhost [f1987ab | 2009-02-24 17:57:16 UTC] Jayson Vaughn * Started work on FSR::Listener::Inbound * Refaced FSR::Listener::Inbound to a module ala * FSR::Listener::Outbound * Moved lib/fsr/event.rb to lib/fsr/listener/inbound and created the * namesspace FSR::Listener::Inbound::Event * Created bin/ies_demo.rb to demo how to use the refactor [bd15285 | 2009-02-24 14:52:17 UTC] U-Paul-PC\Paul * Make specs work in Win32. No pretty green colors, though. :( [d9ee68e | 2009-02-23 02:21:56 UTC] Kevin Berry * Version 0.0.4: * functionality can still be used. [52a9570 | 2009-02-23 01:12:51 UTC] bougyman * updated version to get a new GH gem [21e0ea5 | 2009-02-22 19:03:09 UTC] Jayson Vaughn * Modified bin/oes_demo.rb to use session_initiated method instead of Removed on_call alias from FSR::Listener::Outbound [0257bcc | 2009-02-23 00:51:20 UTC] bougyman * fixed spec [8df4a28 | 2009-02-22 18:45:01 UTC] Jayson Vaughn * Added a test to ensure on_call is always called after a session is [1300fbe | 2009-02-23 00:39:00 UTC] bougyman * Made all FSR::App classes have an #arguments array * Moved a generic #sendmsg and #raw up into FSA::Application, Fifo and Conference use the defaults, bridge uses its own #raw because of the extra opts * Removed the #caller test in Application#to_s, now defaults to #sendmsg [5f152a3 | 2009-02-22 19:12:05 UTC] bougyman * fixed the else side of data handling to be the same as the if side [0827e9f | 2009-02-22 19:05:36 UTC] bougyman * Fixed receive_data to be able to handle incomlete responses/lines * Session will now check to make sure the data ends with \n before parsing any data received * Added specs for testing this case [fb5ec1e | 2009-02-22 18:39:06 UTC] Jayson Vaughn * Added spec to make sure "on_call" hook is called after a session is [0fc1d6d | 2009-02-22 17:42:11 UTC] bougyman * added a check of the @data array on a Command Reply to the outbound spec [f5c5931 | 2009-02-22 17:37:58 UTC] bougyman * Made Session more specific, changed @data to an array. * Fixed bug where new session headers were not being added to @headers * Modified specs to use more of the bacon dsl and fewer == test [7461cbc | 2009-02-22 16:32:30 UTC] bougyman * Made CommandReply instances an array instance variable on Session * Outbound#receive_data only cares about a Session * All replies to a Session are stored in Session#replies ([]) * on_call/receieved_response or session_initiated/reply_received only fire on #initiated? Sessions or a Session getting a #complete? reply * TODO #complete? needs logic to decide whether or not it's complete [c516f24 | 2009-02-22 16:04:22 UTC] bougyman * Modified outbound to know less about Session, made Session more * Removed instance variables from Outbound which managed Session state * Added instance variables and the #initiated? method to Session for state management, as well as a << method to add to a session, in the case it's split across receive_data calls * Rewrote Outbond spec to check for a valid Session [2fd2d22 | 2009-02-22 01:06:23 UTC] Jayson Vaughn * Added more comments explaining outbound.rb [7bf1a6f | 2009-02-22 00:53:24 UTC] Jayson Vaughn * Heavy Refactor of FSR::Listener::Outbound * Changed method that users/developers must use in their Outbound * subclass to "on_call" * Ensure that "on_call" is called only ONCE per session. This enables * us to chain commands freely * No longer rely on EM collecting all session data in one stream TODO: Now that we can chain multipule commands, need to work in responses to commands so we can peform condition logic [b6c51f5 | 2009-02-21 17:53:13 UTC] bougyman * a little magic to get the proper string, based on sendmsg being in the caller stack [767cfb2 | 2009-02-20 23:27:59 UTC] bougyman * ignore the .gemspec.erb file in spec_files for gem building [412e65a | 2009-02-20 23:14:54 UTC] bougyman * Removed the gemspec.erb from the spec.files list [6c8d46a | 2009-02-20 23:11:23 UTC] bougyman * Added rake tasks for package building * Old .gemspec didn't meet GH's SAFE level requirement * Added freeswitcher.gemspec.erb and a rake task pkg:build_gemspec to built a compliant gemspec * Added FSR::VERSION constant to keep track of current version [0fcc86f | 2009-02-20 22:21:07 UTC] bougyman * bumped version number to try and force a GH gem build [9b7dc90 | 2009-02-20 22:14:58 UTC] bougyman * renamed gemspec so GH builds the gem [444ed09 | 2009-02-20 22:14:26 UTC] bougyman * did not need gem in tree, GH builds on-the-fly from .gemspec [b2565a7 | 2009-02-20 22:10:32 UTC] bougyman * Renamed demo listener [1ef570b | 2009-02-20 22:08:37 UTC] bougyman * First gem release, added minor docs to README * Official Project Name Change -> FreeSWITCHeR * Added .gemspec for building a gem * Added docs to README * Include current version gem in pkg/ for GH [38c8615 | 2009-02-20 21:12:10 UTC] bougyman * Added specs for FSR::Listener::Outbound, removed unused methods from FSR::Listener * Removed #call, #hangup, and #dispatch from FSR::Listener * Added specs for testing of FSR::Listener::Outbound::Session and FSR::Listener::Outbound::CommandReply * Added new Top-Level constant FSL which references FSR::Listener. [575455a | 2009-02-20 17:27:32 UTC] bougyman * Refactored FSR::Listener::Outbound, now a module instead of a class * Removed '.' from LOAD_PATH in FSR::App * Added specs for FSR::App:Bridge * Added FSR::Listener::Outbound::Session and ::CommandReply to differentiate the data that is received on a socket * Modules which include FSR::Listener::Outbound now need to handle session_initiated(FSR::Listener::Outbound::Session.new) and command_reply(FSR::Listener::Outbound::CommandReply.new) [a1a7a5a | 2009-02-20 15:58:24 UTC] bougyman * fixed error when no freeswitch install is available [99f328d | 2009-02-19 23:09:22 UTC] bougyman * this commit breaks everything done thus far. have fun [22023cc | 2009-02-18 23:28:32 UTC] Jayson Vaughn * Changed Listener base class to a subclass of EventMachine::Connection * Added post_init to FSR::Listener::Outbound to send connect\n\n on every new connection * Created simple bin/oes_listener.rb to test new class [1cb04d1 | 2009-02-18 19:50:34 UTC] bougyman * added FSC and FSA top-level constants, pointing to FSR::App and FSR::Cmd [7c68537 | 2009-02-19 08:09:44 UTC] Michael Fellinger * Add FSR::Listener [45984f9 | 2009-02-18 01:38:34 UTC] TJ Vanderpoel * added homepage ref in README [5796a3a | 2009-02-18 01:37:13 UTC] TJ Vanderpoel * 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 [af4cda9 | 2009-02-17 19:45:53 UTC] Kevin Berry * Add MIT License. [36a1227 | 2009-02-17 19:19:54 UTC] TJ Vanderpoel * removed necessity of local freeswitch install, now gives warning when not running on a machine with a local freeswitch running [f5b17ca | 2009-02-17 18:01:27 UTC] bougyman * Moved FSR::Cmd::Sofia::Profile specs to it's own file Updated specs to reflect new options hash [d87d69d | 2009-02-17 17:44:26 UTC] bougyman * Added class level commands to profile and more argument type handling * Profile.start(profile_name) will start a profile. stop, rescan, and stop also act in this manner * Sofia.new.profile(arguments) still works with a string, but now also accepts an options hash {:action => :start, :name => "foo"} [ace59a6 | 2009-02-17 16:46:47 UTC] Jayson Vaughn * Refactored profile so that start, stop, etc just create [b057b46 | 2009-02-17 00:40:36 UTC] Jayson Vaughn * Refactored FSR::Cmd::Sofia::Profile and updated specs * sofia = FSR::Cmd::Sofia.new sofia.profile("internal stop").raw => "sofia profile internal stop" sofia.profile.stop("internal").raw => "sofia profile internal stop" [4308560 | 2009-02-16 23:16:00 UTC] Jayson Vaughn * Added FSR::Cmd::Sofia::Profile sofia = FSR::Cmd::Sofia.new sofia.profile.run sofia.profile(:profile => 'internal', :exec => 'stop').run sofia.profile('internal stop').run Updated spec/cmd/sofia.rb to test Sofia::Profile [1e03eba | 2009-02-16 22:14:30 UTC] bougyman * Added App::Fifo and specs for it * Fifo.new(fifo_name [String], direction ["in"|"out"], options [Hash]) yields a fifo application object (run #raw for FS output) * Fifo << "myqueue" shortcut for Fifo.new("myqueue", "in") * Fifo >> "myqueue" shortcut for Fifo.new("myqueue", "out", :wait => false) [a8fe3d7 | 2009-02-16 19:01:22 UTC] Jayson Vaughn * Added specs for FSR::Cmd::Sofia [0c2a106 | 2009-02-16 18:52:24 UTC] Jayson Vaughn * Added spec for cmd/orignate.rb Changed Originate#raw to sort the keys on target options before adding them to command. This ensures we can test on raw [55bf869 | 2009-02-16 18:29:16 UTC] Kevin Berry * Get better error messages for FS root path issues. [b368c5b | 2009-02-16 18:08:34 UTC] Jayson Vaughn * Refactored sofia command to use composition for it's features One can now: sock.sofia.run sock.sofia.status.run sock.sofia.status(:status => 'profile', :name => 'internal') TODO: Need to add cmd/sofia/profile.rb [33e3bc7 | 2009-02-16 16:54:31 UTC] bougyman * better handling of caller_id [b0e4442 | 2009-02-17 07:41:56 UTC] Michael Fellinger * FSR::FakeSocket - to be adapted as we need it [0405b64 | 2009-02-16 14:59:22 UTC] bougyman * Removed fs_socket requirement from commands, refactored Cmd::Originate * FSR::Cmd::Command classes should not require the first argument (fs_socket). Allowing it to be nil enables testing without a fs server * Merged @originator and @application into @endpoint in Cmd::Originate, a typecheck determines whether endpoint is an App and runs #raw, or a string and just sends the string [32ba63e | 2009-02-16 17:06:47 UTC] Michael Fellinger * A little bit nicer specs [3373217 | 2009-02-15 22:04:14 UTC] Jayson Vaughn * Added a check for args[:status] parameter to ensure it is either [d72c6c0 | 2009-02-15 21:50:57 UTC] Jayson Vaughn * Created FSR::Cmd::Sofia currently get run sofia status on profile and gateway: * status = sock.sofia(:status => 'profile', :name =>'internal') Updated spec/fsr/loading.rb to include :sofia command TODO: Need to add "sofia profile" command Need to add "sofia status" stand alone [43fccce | 2009-02-15 15:51:35 UTC] bougyman * * Added specs for a simple application - FSR::App::Conference * Added convenience method FSR::App::Conference[conf_spec] [f703128 | 2009-02-15 15:14:27 UTC] bougyman * a decent view of the tree from ride-console, use with [818d52b | 2009-02-15 15:14:27 UTC] bougyman * a decent view of the tree from ride-console [00cfbd6 | 2009-02-15 15:08:56 UTC] bougyman * fixed some straggling old-namespace files that were missed in the namespace refactor [4ccf214 | 2009-02-15 14:58:06 UTC] bougyman * * Added rakefile (from rasta) which includes everything in tasks/ ramaze/rake_tasks/spec.rake) and modified a bit for bacon * Added some info output to spec/helper when they don't have bacon (TODO: add link for bacon source) [0a6dc32 | 2009-02-15 14:33:07 UTC] bougyman * * Refactored to shorten/clean namespaces * FreeSwitcher::Applications -> FSR::App * FreeSwitcher::Commands -> FSR::Cmd * Note the spec/fsr/loading.rb, it must be maintained as new apps or commands are added [907d642 | 2009-02-16 04:54:27 UTC] Michael Fellinger * Require spec/helper and use subdir [1efbd6d | 2009-02-15 13:53:27 UTC] bougyman * un-did the lazy rubygems require [2c4e101 | 2009-02-15 13:49:57 UTC] bougyman * added rubygems requirement [1f5fd24 | 2009-02-15 13:46:16 UTC] bougyman * added spec for a couple fsR module methods [6351bab | 2009-02-16 04:33:09 UTC] Michael Fellinger * Require freeswitcher in spec/helper [66510ae | 2009-02-16 04:31:55 UTC] Michael Fellinger * Add spec/helper.rb [a3f373d | 2009-02-16 04:30:49 UTC] Michael Fellinger * support absolute paths and load all applications [fb2d4ab | 2009-02-15 13:01:58 UTC] bougyman * added conference application, fixed originate when you send an extension instead of application (target_opts) [0ec0026 | 2009-02-16 02:36:06 UTC] Michael Fellinger * Some more refactoring [fc399cb | 2009-02-15 22:14:41 UTC] Michael Fellinger * Start using Pathname [70b57a3 | 2009-02-15 21:03:08 UTC] Michael Fellinger * Remove (null).rb [34421cd | 2009-02-15 20:57:01 UTC] Michael Fellinger * Easier load methods [89a7ba5 | 2009-02-15 05:38:59 UTC] bougyman * * Added Applications module, mimicks Commands module, for * Refactored Originate to use an Application class [a02c9a3 | 2009-02-14 22:29:45 UTC] bougyman * renamed #command_text to #raw, shorter and sweeter (thedonvaughn suggestion) [63762c9 | 2009-02-14 22:27:36 UTC] bougyman * woops, messed up the conf and db paths, fixed [49c8bf5 | 2009-02-14 22:21:17 UTC] bougyman * added a search for the freeswitch install in FS_INTSALL_PATHS to figure out where freeswitch is installed [d953804 | 2009-02-14 22:12:32 UTC] bougyman * changed FS_ROOT to standard /usr/local/freeswitch location [9804dfb | 2009-02-14 21:13:04 UTC] bougyman * * Refactored originate to more closely model FS originate, * Set defaults for caller_id_name, number, and timeout in Originate.new * Made command_text its own method, so run only sends the command_text return string to the fs event socket [8ae592b | 2009-02-14 17:41:39 UTC] bougyman * added defaults to FreeSwitcher callerid and such [8797be8 | 2009-02-14 17:22:31 UTC] bougyman * pulled duplicated code for setting table name [d0994c7 | 2009-02-14 17:16:27 UTC] bougyman * * Began mapping of Free Switch database * Mapped Call Limit Tables to Sequel Models * Added files for all of the dbs i have in my freeswitch/db directory, to be mapped once we figure out what they do and which are global, which are custom == IRB Usage irb(main):001:0> require "freeswitcher/database/core" => true irb(main):002:0> FreeSwitcher::Database::Core::Complete.first => #"", :a4=>"", :a2=>"help", :a10=>"", :a5=>"", :a6=>"", :a7=>"", :sticky=>0, :a8=>"", :a3=>"", :a1=>"sofia"}> irb(main):003:0> FreeSwitcher::Database::Core::Complete.all.size => 51 [9644f6f | 2009-02-14 16:05:35 UTC] bougyman * * db/init is meant to initialize the db, had to sort out permissions on * Added global config variables (as frozen string constants) to the FreeSwitcher module. * Removed all of the requires from lib/freeswitcher, there are times when we want to use that module without any of the event sockets (like for FreeSwitcher::Database and FreeSwitcher::Configuration work) * Added FreeSwitcher.load_all_commands to require everything needed for commands to work (CommandSocket, Commands, and all commands in Commands::LOAD_PATH) * New FreeSwitcher constants: + ROOT = File.expand_path(File.dirname(__FILE__)).freeze # FreeSwitcher library base path + FS_ROOT = "/opt/freeswitch".freeze # Location of the freeswitch $${base_dir} + FS_CONFIG_PATH = "/opt/freeswitch/conf".freeze # freeswitch conf dir + FS_DB_PATH = "/opt/freeswitch/db".freeze # freeswitch db dir == IRB usage irb(main):001:0> FreeSwitcher.load_all_commands => [:originate] irb(main):002:0> m = FreeSwitcher::CommandSocket.new => #, @port="8021"> irb(main):003:0> orig = m.originate(:target => "sofia/gateway/carlos/6666", :application => "bridge", :application_arguments => "user/bougyman") => #, @port="8021">> irb(main):004:0> call = orig.run 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) => {"Job-UUID"=>"b2677f8a-9ba7-42f6-9422-65f09b9c3762", "body"=>"", "Content-Type"=>"command/reply", "Reply-Text"=>"+OK Job-UUID: b2677f8a-9ba7-42f6-9422-65f09b9c3762"} [e120547 | 2009-02-14 02:47:46 UTC] bougyman * New Command structure [b5cc476 | 2009-02-14 02:21:07 UTC] bougyman * Adding FreeSwitcher::Log [e93e462 | 2009-02-14 02:20:14 UTC] bougyman * Move InboundEventSocket to CommandSocket [bc83ac5 | 2009-02-13 18:20:22 UTC] bougyman * * Changed order of default requires to put commands last * Completed Originate#run and variables needed to originate a call on Originate * Renamed the 'send' method to 'say' in EventSocket for clarity [154e909 | 2009-02-12 22:36:25 UTC] bougyman * refactored includes so they load properly. rewrote FreeSwitcher::Commands.register and .list [1c8a642 | 2009-02-12 17:28:01 UTC] Michael Fellinger * Clean up lib/ a bit [2416d4b | 2009-02-12 01:15:22 UTC] bougyman * renamed method to include all of its functionality [290dcc6 | 2009-02-12 01:11:56 UTC] bougyman * finished parsing in EventSocket without sending to Event.from [068f7f3 | 2009-02-12 00:23:09 UTC] Jayson Vaughn * Return the body, not just the header in event_socket.rb [66ccf4f | 2009-02-11 22:21:05 UTC] TJ Vanderpoel * removed web branch [3223431 | 2009-02-11 21:44:54 UTC] bougyman * removed irb history file, added full path spec to library includes [b889e58 | 2009-02-11 21:44:18 UTC] bougyman * removed irb history file, added full path spec to library includes [c3798a1 | 2009-02-11 21:28:49 UTC] bougyman * added fully qualified path to the require of event [ef29cea | 2009-02-11 21:16:06 UTC] bougyman * removed the rest of ride [6102073 | 2009-02-11 21:15:18 UTC] bougyman * removed ride from tree [8cdd8f1 | 2009-02-11 21:13:51 UTC] bougyman * unneded ride files [b01400e | 2009-02-11 21:11:44 UTC] bougyman * should not have been in the tree [b712888 | 2009-02-11 21:11:07 UTC] bougyman * Added ramaze tree to hold configurator and sequel models [cfe4d14 | 2009-02-11 01:10:27 UTC] Jayson Vaughn * s/return_result/response [9304554 | 2009-02-11 01:00:07 UTC] Jayson Vaughn * Moved FreeSwitcher::Event into lib Created FreeSwitcher::EventSocket base class Created FreeSwitcher::InboundEventSocket [2f31803 | 2009-02-09 18:11:01 UTC] Michael Fellinger * More EM, no Threads [8f20e9c | 2009-02-09 00:57:08 UTC] Jayson Vaughn * Added a controller on port 9000. Anything you send to port 9000 will be [303a136 | 2009-02-09 06:42:24 UTC] Michael Fellinger * s/Response/Event/ [71fc503 | 2009-02-09 06:35:33 UTC] Michael Fellinger * Initial bin/freeswitcher [966b75f | 2009-02-07 14:36:57 UTC] TJ Vanderpoel * initial tree