Skip to content

Instantly share code, notes, and snippets.

View krakatoa's full-sized avatar

Fernando Alonso krakatoa

  • Buenos Aires, Argentina
View GitHub Profile
@krakatoa
krakatoa / gist:0767faf10b34dfafd42f
Created October 1, 2013 12:40
Rake para compilar ext y ragel
task :clean do
rm_f 'router.c'
rm_f 'router.rl'
rm_f 'router.o'
rm_f 'Makefile'
rm_f 'router.bundle'
rm_f 'router.so'
end
task :default do
@krakatoa
krakatoa / rayo_config.rb
Last active December 21, 2015 11:38
Adhearsion Rayo config
config.punchblock do |punchblock|
punchblock_config = YAML::load_file(File.join(Adhearsion.config.platform.root, "config/config.yml"))[Adhearsion.config.platform.environment.to_s]
punchblock.platform = :xmpp # freeswitch
punchblock.username = "[email protected]"
punchblock.password = "1"
punchblock.host = punchblock_config["ivr_freeswitch_host"]
punchblock.root_domain = punchblock_config["ivr_freeswitch_host"]
end
end