Brekeke SIP Server Version 3 Using a Third-Party Database Tutorial Brekeke Software, Inc.



Similar documents
Brekeke PBX Version 2 User Guide Brekeke Software, Inc.

DOCUMENTATION MICROSOFT SQL BACKUP & RESTORE OPERATIONS

JAMF Software Server Installation Guide for Linux. Version 8.6

Configuring an Alternative Database for SAS Web Infrastructure Platform Services

Using Microsoft Windows Authentication for Microsoft SQL Server Connections in Data Archive

Witango Application Server 6. Installation Guide for OS X

Red Hat JBoss Core Services Apache HTTP Server 2.4 Apache HTTP Server Installation Guide

JAMF Software Server Installation Guide for Windows. Version 8.6

HP Device Manager 4.7

Enterprise Manager. Version 6.2. Installation Guide

DOCUMENTATION MySQL BACKUP & RESTORE OPERATIONS

Secure Agent Quick Start for Windows

Configuring IBM Cognos Controller 8 to use Single Sign- On

SolarWinds Technical Reference

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

Brekeke SIP Server Version 2 Administrator s Guide Brekeke Software, Inc.

HP Device Manager 4.7

Installing and Configuring Adobe LiveCycle 9.5 Connector for Microsoft SharePoint

Creating IBM Cognos Controller Databases using Microsoft SQL Server

DOCUMENTATION FILE BACKUP

DOCUMENTATION SYSTEM STATE BACKUP & RESTORE OPERATIONS

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

1z0-102 Q&A. DEMO Version

DOCUMENTATION FILE RESTORE

Integration Guide. SafeNet Authentication Service. Oracle Secure Desktop Using SAS RADIUS OTP Authentication

JAMF Software Server Installation and Configuration Guide for Linux. Version 9.2

Migration Guide Software, Database and Version Migration

How To Set Up Chime For A Coworker On Windows (Windows) With A Windows 7 (Windows 7) On A Windows 8.1 (Windows 8) With An Ipad (Windows).Net (Windows Xp

CA Workload Automation Agent for Databases

LDAP User Guide PowerSchool Premier 5.1 Student Information System

Install BA Server with Your Own BA Repository

By Wick Gankanda Updated: August 8, 2012

Pre-Installation Instructions

JAMF Software Server Installation and Configuration Guide for Windows. Version 9.3

SOA Software: Troubleshooting Guide for Agents

SMART Vantage. Installation guide

Rebasoft Auditor Quick Start Guide

Oracle Enterprise Manager

Interstage Application Server V7.0 Single Sign-on Operator's Guide

Reconfiguring VMware vsphere Update Manager

This means that any user from the testing domain can now logon to Cognos 8 (and therefore Controller 8 etc.).

Ahsay BackupBox v1.0. Deployment Guide. Ahsay TM Online Backup - Development Department

Witango Application Server 6. Installation Guide for Windows

OnCommand Performance Manager 1.1

QuickStart Guide for Managing Mobile Devices. Version 9.2

Connect to an SSL-Enabled Microsoft SQL Server Database from PowerCenter on UNIX/Linux

Brekeke SIP Server Version 3 Administrator s Guide Brekeke Software, Inc.

Phone Manager Application Support OCTOBER 2014 DOCUMENT RELEASE 4.1 SAGE CRM

HP OpenView Patch Manager Using Radia

Brekeke PBX Version 3 Administrator's Guide (Basic) Brekeke Software, Inc.

QuickStart Guide for Mobile Device Management. Version 8.6

ARIS Server Installation and Administration Guide ARIS. Version Service Release 1

DOCUMENTATION SHADOWPROTECT - MICROSOFT WINDOWS SYSTEM BACKUP AND RESTORE OPERATIONS

Kony MobileFabric. Sync Windows Installation Manual - WebSphere. On-Premises. Release 6.5. Document Relevance and Accuracy

Sophos SafeGuard Native Device Encryption for Mac quick startup guide. Product version: 7

Sun ONE Identity Server Web Policy Agents Release Notes

MS SQL Server Database Management

Monitor Print Popup for Mac. Product Manual.

Instant Chime for IBM Sametime High Availability Server Guide

CA Technologies SiteMinder

Implementing Failover Capabilities in Red Hat Network Satellite

TIBCO Spotfire Server Migration. Migration Manual

Configuration Manager Error Messages

Red Hat Enterprise Linux OpenStack Platform 7 OpenStack Data Processing

Parallels Plesk Panel

Installation Guide Supplement

Disaster Recovery. Websense Web Security Web Security Gateway. v7.6

IBM Lotus Enterprise Integrator (LEI) for Domino. Version August 17, 2010

Remote Filtering Software

Click-To-Talk. ZyXEL IP PBX License IP PBX LOGIN DETAILS. Edition 1, 07/2009. LAN IP: WAN IP:

JD Edwards EnterpriseOne Tools. 1 Understanding JD Edwards EnterpriseOne Business Intelligence Integration. 1.1 Oracle Business Intelligence

Integrated Citrix Servers

Novell ZENworks 10 Configuration Management SP3

Connection Broker Managing User Connections to Workstations, Blades, VDI, and More. Quick Start with Microsoft Hyper-V

Migrating LAMP stack from x86 to Power using the Server Consolidation Tool

Supplement IV.C: Tutorial for Oracle. For Introduction to Java Programming By Y. Daniel Liang

Deploying Dell OpenManage Server Administrator on VMware ESXi Using Dell Online Depot and VMware Update Manager

Copyright

What's New in BlackBerry Enterprise Server 5.0 SP4 for Novell GroupWise

Ahsay Replication Server v5.5. Administrator s Guide. Ahsay TM Online Backup - Development Department

This document summarizes the steps of deploying ActiveVOS on oracle Weblogic Platform.

JAMF Software Server Installation and Configuration Guide for OS X. Version 9.2

DOCUMENTATION MICROSOFT WINDOWS SYSTEM BACKUP AND RESTORE OPERATIONS

QuickStart Guide for Mobile Device Management

Connection Broker Managing User Connections to Workstations, Blades, VDI, and more. Security Review

Heroix Longitude Quick Start Guide V7.1

Lenovo ThinkServer Solution For Apache Hadoop: Cloudera Installation Guide

How To Use The Listerv Maestro With A Different Database On A Different System (Oracle) On A New Computer (Orora)

SC-T35/SC-T45/SC-T46/SC-T47 ViewSonic Device Manager User Guide

Querying Databases Using the DB Query and JDBC Query Nodes

NovaBACKUP Remote Workforce Version 12.5 Cloud Restore

Matisse Installation Guide for MS Windows. 10th Edition

Acronis Storage Gateway

SQL Express to SQL Server Database Migration MonitorIT v10.5

Brekeke PBX Version 2 IVR Script Developer s Guide Brekeke Software, Inc.

NetBackup Backup, Archive, and Restore Getting Started Guide

Oracle Virtual Desktop Client. Release Notes for Release 3.2

Novell Identity Manager

LAE 5.1. Windows Server Installation Guide. Version 1.0

Transcription:

Brekeke SIP Server Version 3 Using a Third-Party Database Tutorial Brekeke Software, Inc.

Version Brekeke SIP Server v3 Using a third-party Database Tutorial Revised October, 2015 Copyright This document is copyrighted by Brekeke Software, Inc. Copyright 2002-2015 Brekeke Software, Inc. This document may not be copied, reproduced, reprinted, translated, rewritten or readdressed in whole or part without expressed, written consent from Brekeke Software, Inc. Disclaimer Brekeke Software, Inc. reserves the right to change any information found in this document without any written notice to the user. Trademark Acknowledgement Linux is a registered trademark of Linus Torvalds in the U.S and other countries. Red Hat is a registered trademark of Red Hat Software, Inc. Windows is a trademark or registered trademark of Microsoft Corporation in the U.S and other countries. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. MySQL is registered trademark of the MySQL AB. Other logos and product and service names contained in this document are the property of their respective owners. 2 Brekeke SIP Server Using a third-party Database Tutorial

1. INTRODUCTION... 3 2. USING MYSQL FOR BREKEKE SIP SERVER... 3 2.1. Create the Database... 3 2.2. Create the Registered Table... 4 2.3. Create the Users Table... 5 2.4. Create the Alias Table... 6 2.5. Brekeke SIP Server Configuration... 6 3. TROUBLESHOOTING... 9 3 Brekeke SIP Server Using a third-party Database Tutorial

1. Introduction This document describes steps needed to use a third party database instead of using the embedded database in Brekeke SIP Server. You can add or modify the database from your own database management tool. Brekeke SIP Server uses the following database tables. Table Name t_registered t_userdir t_alias Purpose Registered Table This table stores the data of registered user agents. The data will be updated by REGISTER requests and used for the session routing. Users Table This table stores authentication data of users. Alias Table This table stores alias data. Note: Alias Database is available in Advanced Edition only. Note: The following sections are using MySQL as an example but other databases can be used in a similar way. 2. Using MySQL for Brekeke SIP Server The following section describes the steps to use MySQL with Brekeke SIP Server. MySQL: http://www.mysql.com/ 2.1. Create the Database Open a MySQL command line and create a database. For example, if "serverdb" is the database name: mysql> CREATE DATABASE serverdb; mysql> USE serverdb; 4 Brekeke SIP Server Using a third-party Database Tutorial

2.2. Create the Registered Table This table stores the data of registered user agents. 1. Create a table "t_registered" using the command below: mysql> CREATE TABLE t_registered ( skey BIGINT, namealias VARCHAR(255), nameoriginal VARCHAR(255), urlalias VARCHAR(255), urloriginal VARCHAR(255), acceptpattern VARCHAR(1000), requester VARCHAR(100), expires BIGINT, priority INT, timeupdate BIGINT, expirestime BIGINT, mappedport VARCHAR(100), awake INT, useragent VARCHAR(255), param VARCHAR(1000) ); Note: If you are upgrading from OnDO SIP Server (version 1.x) to Brekeke SIP Server (version 2.x), you will need to add the last two lines for useragent and param as shown in the table above. 2. Create indexes using the commands below: mysql> CREATE INDEX idx_registered_skey ON t_registered(skey); mysql> CREATE INDEX idx_registered_urlalias ON t_registered(urlalias); mysql> CREATE INDEX idx_registered_urloriginal ON t_registered(urloriginal); mysql> CREATE INDEX idx_registered_expirestime ON t_registered(expirestime); 5 Brekeke SIP Server Using a third-party Database Tutorial

2.3. Create the Users Table This table stores user authentication data. 1. Create a table "t_userdir" using the command below: mysql> CREATE TABLE t_userdir ( uid BIGINT, username VARCHAR(100), longname VARCHAR(200), password VARCHAR(100), email VARCHAR(100), description VARCHAR(200), gid BIGINT, timeexpire BIGINT, timemake BIGINT ); 2. Create indexes using the commands below: mysql> CREATE UNIQUE INDEX idx_userdir_uid ON t_userdir(uid); mysql> CREATE INDEX idx_userdir_username ON t_userdir(username); mysql> CREATE INDEX idx_userdir_timeexpire ON t_userdir(timeexpire); 6 Brekeke SIP Server Using a third-party Database Tutorial

2.4. Create the Alias Table This table stores alias data. Note: Alias Database is available in Advanced Edition only. 1) Create a table "t_alias" using the command below: mysql> CREATE TABLE t_alias ( alias_name VARCHAR(100) NOT NULL, group_id VARCHAR(100), entity_name VARCHAR(100) NOT NULL ); 2) Create indexes using the commands below: mysql> CREATE UNIQUE INDEX idx_aliasdb_alias ON t_alias(alias_name, group_id); mysql> CREATE INDEX idx_aliasdb_entity ON t_alias(entity_name); 2.5. Brekeke SIP Server Configuration 1. Install the JDBC driver Please download the latest JDBC driver for MySQL "MySQL Connector/J" from the link below. http://www.mysql.com/products/connector/j/ Copy the file named "mysql-connector-java-3.0.xx-ga-bin.jar" into the following directory. YOUR_INSTALL_DIRECTORY\webapps\sip\WEB-INF\lib Note: If you are using the bundled SIP Server for Brekeke PBX, please use the following directory instead. YOUR_INSTALL_DIRECTORY\webapps\pbx\WEB-INF\lib 7 Brekeke SIP Server Using a third-party Database Tutorial

2. Settings at Brekeke SIP Server Login to the Admintool and go to [Configuration] > [Database] page. At the [Database] page, you can set third party databases. (fig.1) After you change settings, press [Save] button and restart the server machine. fig.1 [Database] page 8 Brekeke SIP Server Using a third-party Database Tutorial

Thirdparty Registered Database Field Name On/Off Registered Database URL Registered Database Driver User Name Password Explanation Select on to enable Registered Database URL for the Registered Database (e.g. jdbc:mysql://localhost/serverdb) JDBC Driver for the Registered Database (e.g. com.mysql.jdbc.driver) User name for the Registered Database Password for the Registered Database Thirdparty Users Database Field Name On/Off Explanation Select on to enable Users Database Encrypt Users Passwords Users Database URL Users Database Driver User Name Password Select false to record users' passwords in plain text URL for the Users Database (e.g. jdbc:mysql://localhost/serverdb) JDBC Driver for the Users Database (e.g. com.mysql.jdbc.driver) User name for the Users Database Password for the Users Database 9 Brekeke SIP Server Using a third-party Database Tutorial

Thirdparty Alias Database Field Name On/Off Alias Database URL Alias Database Driver User Name Password Explanation Select on to enable Alias Database URL for the Alias Database (e.g. jdbc:mysql://localhost/serverdb) JDBC Driver for the Alias Database (e.g. com.mysql.jdbc.driver) User name for the Alias Database Password for the Alias Database 3. Troubleshooting If you receive the error message "Can not open a database" at the Brekeke SIP Server's Admintool, the following issues may be causing the error: - Database s port number may conflict with another program To resolve this issue, you need to either change the database s port number, or close the program that is using the same port number. - Database is not allowing Brekeke SIP Server s requests Change the database setting to accept Brekeke SIP Server s requests. - The configuration in the Brekeke SIP Server may be incorrect. Please follow this document and check your settings. If the problem still persists, you can usually see some detailed error message which is related to the database connection in the following log file. YOUR_INSTALL_DIRECTORY\webapps\sip\WEB-INF\work\logs\log.log 10 Brekeke SIP Server Using a third-party Database Tutorial