Jay McGavren's Journal

2009-03-14

Notes from Jay Philips on Adhearsion...

One of the more exciting talks at MountainWest RubyConf… Looks like I could have something simple running in a weekend.

Asterisk front end. Native integration with Rails. Project:

	dialplan.rb:
		adhearsion {
			simon_game
		}
		sandbox {
			play "hello-world" #Sound file stored on server.
			menu "hello-world" do |link|
				link.adhearsion 1 #Dialpad number to press.
				link.foobar 2
			end
		}
	events.rb
	components/
		sandbox/
			sandbox.rb
			sandbox.yml
				username: dfsklh
				password: dafsjkh
		my_component/
	config/
	startup.rb
comments powered by Disqus