Noojee Answer's operation is controlled via a configuration file toolbar.xml which is located within the webapp directory created when you deployed the WAR file.
If you are using Tomcat 6 on Ubuntu the path is normally:
Code Block | ||
---|---|---|
| ||
/var/lib/tomcat6/webapps/noojee-answerbar/WEB-INF/conf/toolbar.xml |
configuration in UserSpace with the key AnswerBarConfig
The toolbar.xml configuration file is an XML file which contains a number of tags that you will need to modify depending on how you want Noojee Answer to operate and the specifics of your environment.
The follow explains each top level tag.
Tag | Description | Notes |
---|
manager-host
05. Tools | Specifies a 'tool' that is to be loaded into the Answer Bar. Any number of tools may be loaded. |
plugins |
Specifies a |
plugin, multiple |
plugins may be specified |
toolbar.xml
The application is configured through WEB-INF/conf/toolbar.xml.The following is a simple configuration file configuration that Screen Pops a static URL (this web page in fact).
To make this toolbar work you need to update each of the following tags:
<manager-user> - change this to reflect a valid Asterisk Manager username
<manager-password> - change this to be the password for the above account.
Code Block | ||||
---|---|---|---|---|
| ||||
<toolbar>{ "AnswerBarAPIKey":"xxxxxxxxxxxx", <manager-host>127.0.0.1</manager-host> "tools": [ <manager-port>5038</manager-port> "PopTool", <manager-user>noojeefax</manager-user> "CallerIdTool", <manager-password>noojeefax</manager-password> "CallerDetailsTool", <crm-plugin>"CallHistoryTool" ], "plugins": { <class>au.com.noojee.answerbar.server.plugin.CallerIdPlugin</class> "CallerIdPlugin": { <params> "params.url": <!--"https://wiki.noojee.com.au/Noojee_Answer/03._Configuration" // the url will have the following automatically appended to it "?&callerId=" // + callerIdNum + "&exten=" + exten + "didNum=" + didNumber --> } }, <url>https://wiki.noojee.com.au/Noojee_Answer/03._Configuration</url> </params> </crm-plugin> <tool class="AnswerTool"></tool> <tool class="PopTool"></tool> <tool class="CallerIdTool"></tool> <tool class="CallerNameTool"></tool> <tool class="CallerDetailsTool"></tool> <options> <!-- valid defaultPopBehaviour values are: Manual Pop, Pop on Queue Ring, Pop on Answer --> <defaultPopBehaviour>Pop on Queue Ring</defaultPopBehaviour> <!-- valid showPopOptions are true, false --> <showPopOptions>false</showPopOptions> </options> </toolbar>"options.defaultPopBehaviour":"Pop on Queue Ring", "options.showPopOptions":"false", "options.extensionsUsingOutboundJavaScriptPop": "100,101" } |