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:
/var/lib/tomcat6/webapps/noojee-answerbar/WEB-INF/conf/toolbar.xml
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 | Asterisk manager interface host name | |
manager-port | Asterisk manager interface port | normally 5038 |
manager-user | Asterisk manager interface username | |
manager-password | Asterisk manager interface password | |
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 application is configured through WEB-INF/conf/toolbar.xml.
The following is a simple configuration file 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.
<toolbar> <manager-host>127.0.0.1</manager-host> <manager-port>5038</manager-port> <manager-user>noojeefax</manager-user> <manager-password>noojeefax</manager-password> <crm-plugin> <class>au.com.noojee.answerbar.server.plugin.CallerIdPlugin</class> <params> <!-- 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>