InstallSafiServerWinStandalone
Contents |
SafiServer Installation Guide (Windows)
Install Guide
Download the latest SafiServer installer here:
http://www.safisystems.com/index.cfm?pageMode=downloadfile&product_id=7
After you launch the installer (example: SafiServerSetup-V1-0-20090825.exe) press Next then I Agree to accept the licensing:
During the setup process you will be prompted to fill in the following form:
You will need to specify:
- Database Port: The SafiServer utilizes a lightweight internal database to store Saflets (call flow applications), Asterisk server settings, SafiWorkshop users, and other system settings. This port is used locally on SafiServer (default: 7021)
- Management Port: This is used for control messaging form SafiWorkshop. (default: 7020)
- FastAGI Port: This is the port upon which the SafiServer will accept FastAGI requests from the Asterisk server(s). The Asterisk default for this port is 4573.
- Safi Admin Password: This is the system administrator password (or sa password) for the SafiServer database server
Note on FastAGI Port
If set to anything other than the default then the port must then be specified explicitly from the originating FastAGI call in the extensions.conf
Example extensions.conf file Saflet call (standard port):
exten = 1111,1,Agi(agi://192.168.0.10/safletEngine.agi?saflet=myproject/mysaflet.
Example extensions.conf file Saflet call (with custom port):
exten = 1111,1,Agi(agi://192.168.0.10:1234/safletEngine.agi?saflet=myproject/mysaflet.
Click Next to save the settings. The next dialog will ask for the Start Menu Folder; accept the default by pressing Install. The install may take a few minutes:
During the installation process you will see a command line window displaying the server start progress. It should close automatically once the SafiServer has started:
Starting and Stopping SafiServer
Once SafiServer is installed, you can start and stop the server from the service menu in Windows:
Or by using the start and stop batch file located in the Start Menu ( Start::Programs::Safi Systems::SafiServer )
SafiServer Properties
The SafiServer basic properties are editable in the plain text file named: environment.properties. This file is located in the SafiServer directory inside resources (i.e. C:\Program Files\Safi Systems\SafiServer\resources):
Example:
#Fri Oct 30 17:53:49 PDT 2009 blocking.server=true audio.dir=audio/ fastagi.port=4573 classLoaderSuppressCollision=true sshPort=8822 import.dir=imports/ db.port=7021 management.port=7020 bind.addr=0.0.0.0 user.password=MyPassword useSSHTunnel=true useSecurityManager=false useManagerPing=false
If you modify the properties file; those settings will take place the next time you start SafiServer.
SideBar
User Login