Sha256: 9edc0a57ceeba957ba09ae11d75ef7e1ea86ec2c629173ce5dae735c36cdede7
Contents?: true
Size: 1.63 KB
Versions: 13
Compression:
Stored size: 1.63 KB
Contents
# encoding: utf-8 Adhearsion.config do |config| # Centralized way to specify any Adhearsion platform or plugin configuration # - Execute rake config:show to view the active configuration values # # To update a plugin configuration you can write either: # # * Option 1 # Adhearsion.config.<plugin-name> do |config| # config.<key> = <value> # end # # * Option 2 # Adhearsion.config do |config| # config.<plugin-name>.<key> = <value> # end config.development do |dev| dev.platform.logging.level = :debug end ## # Use with Rayo (eg Voxeo PRISM) # # config.punchblock.username = "" # Your XMPP JID for use with Rayo # config.punchblock.password = "" # Your XMPP password ## # Use with Asterisk # # config.punchblock.platform = :asterisk # Use Asterisk # config.punchblock.username = "" # Your AMI username # config.punchblock.password = "" # Your AMI password # config.punchblock.host = "127.0.0.1" # Your AMI host ## # Use with FreeSWITCH # # config.punchblock.platform = :freeswitch # Use FreeSWITCH # config.punchblock.password = "" # Your Inbound EventSocket password # config.punchblock.host = "127.0.0.1" # Your IES host end Adhearsion::Events.draw do # Register global handlers for events # # eg. Handling Punchblock events # punchblock do |event| # ... # end # # eg Handling PeerStatus AMI events # ami :name => 'PeerStatus' do |event| # ... # end # end Adhearsion.router do # # Specify your call routes, directing calls with particular attributes to a controller # route 'default', SimonGame end
Version data entries
13 entries across 13 versions & 1 rubygems