Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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
linenumberstrue
/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.

 


TagDescriptionNotes

manager-host

Asterisk manager interface host name manager-portAsterisk manager interface portnormally 5038manager-userAsterisk manager interface username manager-passwordAsterisk manager interface password 
05. ToolsSpecifies a 'tool' that is to be loaded into the Answer Bar. Any number of tools may be loaded.
 

plugins
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 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
languagexml
linenumberstrue
<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"
}