TerraPBX Media Gateway Manual Installation
Prerequisites
- Windows 2003 or Windows XP Pro with latest service packs (2003 Strongly Encouraged)
- 2.0GHz CPU installed
- 2GB RAM
- At least 1 GB free hard drive space (for logs, voice mails, etc)
TerraPBX requires several prerequisites which the standalone msi installer may/may not install.
Python 2.5 and higher
MSVC8 SP1 Redistributable Runtime (this should be installed via msi installer automatically)
OracleXE Client Installed
- Optional - REMWAVE Configuration Tool - this requires .Net 2.0
- Installation into Service Controller
Install
- Install OracleXE Client
- Install Python
- Install TerraPBX
- Optional - Install Configuration Tool
- Launch Configuration Tool
- Set allowed connections (incoming DID providers and incoming Sip Proxy Connection) - these must be trusted IPs
- Configure the rest of the settings: Local IP/Port, Default (Normally Sip Proxy) IP/Port, Database Connection (see not below).
Go to command line: Start -> Run -> "cmd" -> enter
- Type (change path to where installed to): sc create "Remwave TerraPBX" binPath= "C:\Program Files\REMWAVE Inc\Remwave TerraPBX\TerraPBX.exe"
- That should have installed the service into the Service Controller.
Go to Start -> Control Panel -> Administration Tools -> Services
- Verify Remwave TerraPBX is a listed service. Alter its properties to start automatically, and restart after any failures
- Reboot machine
After the system comes back online, TerraPBX should be running. You can check this in the service manager to see if it is started.
Configuring Database Connection Configuring the database means configuring the tns names. There are two approaches:
- Simple one: Using Configuration Tool: Enter Database User Name, Enter Database Password, Enter For Name (replace IP with valid IP to DB):
- (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))(CONNECT_DATA = (SERVER = DEDICATED)(SERVICE_NAME = XE)(FAILOVER_MODE =(TYPE = SESSION)(METHOD = BASIC)(RETRIES = 1)(DELAY = 1))))
- The other way involves setting system environment variable TNS_ADMIN to C:\XEClient\tns\ (you may need to create this directory).
- Create/modify C:\XEClient\tns\tnsnames.ora to look like (of course changing IP):
XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 127.0.0.1)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
(FAILOVER_MODE =
(TYPE = SESSION)(METHOD = BASIC)(RETRIES = 1)(DELAY = 1)
)
)
)
Errors
For any errors, please check out here and/or FAQs on TerraPBX. If the issue is still not resolved, please contact REMWAVE for more support.
