我进展得很好,把ruby引擎Adhearsion和电话引擎FreeSwitch连接起来。但是,说明告诉我要给一些配置文件一遍。
具体来说
config.punchblock.platform以及在目录上设置的权限
/var/punchblock/record有人能告诉我这些东西在哪里吗?
这里有完整的说明:
http://adhearsion.com/docs/getting-started/freeswitch
发布于 2013-05-03 18:22:50
config.punchblock.platform位于Adhearsion应用程序的config/adearsion.rb中。
和
/var/punchblock/record是asterisk运行的地方。
Changing file, folder permissions
是的,这就是我为数据库连接所做的。
Adhearsion.config do |config|
config.adhearsion_activerecord do |db|
db.username = "user"
db.password = "password"
db.database = "database"
db.adapter = "mysql"
db.host = "localhost"
db.port = 3306
end
end
#Centralized way to specify any Adhearsion platform or plugin configuration
#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>
endhttps://stackoverflow.com/questions/16348887
复制相似问题