...
The Generic Database plugin is configured by adding a crm- plugin section to the Noojee Answer xml configuration file:
...
linenumbers | true |
---|
...
.
...
Read more about configuring Noojee Answer 03. Configuration.
...
Code Block | ||
---|---|---|
| ||
<crm-plugin> <class>au.com.noojee.answerbar.server.plugin.JdbcPlugin</class> <params> <jdbcUrl>jdbc"plugins": { "JdbcPlugin": { "params.jdbcUrl": "jdbc:mysql://127.0.0.1/asterisk?user=asterisk&password=fred </jdbcUrl> <driverClass>com", "params.driverClass": "com.mysql.jdbc.Driver</driverClass> <query>callDriver", "params.query": "call getData(?,?,?,?,?,?,?,?)</query> <channelVariable>account</channelVariable> <channelVariable>country</channelVariable> </params> <filter> <didPattern>410</didPattern> <queue>test</queue> </filter> </crm-plugin>", "channelVariables": ["account","country"] } }, |
Note: Escaping special charactersGeneric Database
...