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. |
crm-plugin | Specifies a crm plugin, multiple crm plugins may be specified |
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>{ "tools": [ <manager-host>127.0.0.1</manager-host> "PopTool", <manager-port>5038</manager-port> "CallerIdTool" <manager-user>noojeefax</manager-user> ], <manager-password>noojeefax</manager-password>"extensionsUsingOutboundJavaScriptPop": [ <crm-plugin>"100", "101", <class>au.com.noojee.answerbar.server.plugin.CallerIdPlugin</class>"102", "103" ], <params> <!-- the url will have the following automatically appended to it "?&callerId=" "plugins": { "CallerIdPlugin": { + callerIdNum + "&exten=" + exten + "didNum=" + didNumber --> <url>https"params.url": "https://wiki.noojee.com.au/Noojee_Answer/03._Configuration</url> </params> </crm-plugin> <tool class="AnswerTool"></tool> <tool class="PopTool"></tool>Configuration" // the url will have the following automatically appended to it "?&callerId=" <tool class="CallerIdTool"></tool> // + callerIdNum <tool+ class"&exten="CallerNameTool"></tool> + exten <tool class+ "didNum="CallerDetailsTool"></tool> + didNumber } <options> }, <!-- valid defaultPopBehaviour values are: Manual Pop, "defaultPopBehaviour": "Pop on Queue Ring", Pop on Answer --> <defaultPopBehaviour>Pop on Queue Ring</defaultPopBehaviour> <!-- valid showPopOptions are true, false --> <showPopOptions>false</showPopOptions> </options> </toolbar>"showPopOptions": "false" } |