ruby on rails - Location of Config files in Adhearsion and FreeSWITCH -
i'm getting on well, hooking ruby engine adhearsion telephony engine freeswitch. however, instructions tell me give config files once over.
specifically
config.punchblock.platform
and permissions set on directory
/var/punchblock/record
could please tell me these located?
full instructions here:
config.punchblock.platform
is in config/adhearsion.rb in adhearsion app.
and
/var/punchblock/record
is asterisk running.
changing file, folder permissions
yes, that's did database connection.
adhearsion.config |config| config.adhearsion_activerecord |db| db.username = "user" db.password = "password" db.database = "database" db.adapter = "mysql" db.host = "localhost" db.port = 3306 end end #centralized way specify adhearsion platform or plugin configuration #to update plugin configuration can write either: # option 1 adhearsion.config.<plugin-name> |config| config.<key> = <value> end # option 2 adhearsion.config |config| config.<plugin-name>.<key> = <value> end
Comments
Post a Comment