lib/adhearsion/generators/app/templates/adhearsion.erb in adhearsion-2.6.4 vs lib/adhearsion/generators/app/templates/adhearsion.erb in adhearsion-3.0.0.beta1

- old
+ new

@@ -1,10 +1,10 @@ # encoding: utf-8 Adhearsion.config do |config| <% unless options[:empty] %> - # Centralized way to specify any Adhearsion platform or plugin configuration + # Centralized way to specify any Adhearsion core or plugin configuration # - Execute rake config:show to view the active configuration values # # To update a plugin configuration you can write either: # # * Option 1 @@ -16,22 +16,22 @@ # Adhearsion.config do |config| # config.<plugin-name>.<key> = <value> # end <% end %> config.development do |dev| - dev.platform.logging.level = :debug + dev.core.logging.level = :debug end ## - # Use with Rayo (eg Voxeo PRISM or FreeSWITCH mod_rayo) + # Use with Rayo over XMPP (eg Voxeo PRISM or FreeSWITCH mod_rayo) # - # config.punchblock.username = "usera@freeswitch.local-dev.mojolingo.com" # Your XMPP JID for use with Rayo - # config.punchblock.password = "1" # Your XMPP password + # config.core.username = "usera@freeswitch.local-dev.mojolingo.com" # Your XMPP JID for use with Rayo + # config.core.password = "1" # Your XMPP password ## # Use with Asterisk # - # config.punchblock.platform = :asterisk # Use Asterisk - # config.punchblock.username = "manager" # Your AMI username - # config.punchblock.password = "password" # Your AMI password - # config.punchblock.host = "asterisk.local-dev.mojolingo.com" # Your AMI host + # config.core.type = :asterisk # Use Asterisk + # config.core.username = "manager" # Your AMI username + # config.core.password = "password" # Your AMI password + # config.core.host = "asterisk.local-dev.mojolingo.com" # Your AMI host end