The 32nd AIC Conference
VIP- PBX – an IP-PBX system for enterprises
New Services Group Research Institute of Post & Telecom (RIPT) Thanh T. Nguyen, Dzung V. Dinh, Ngoc Tran, Quang V. Bien, Truc B. Dinh, Anh V. Nguyen, Linh H. Nguyen, Hang T.Nguyen.
HaLong, May, 2005
CONTENTS
1. Objectives…………………………………………………………. page 3 2. Approaches…………………….…………………………………. page 8 3. Results……………………………….……………………………. page 20
The system……………………..……………………………………... page 20 System capacity….…………………………………………………… page 21 Services ………………………………………………………………. page 22 Components…………………..………………………………………. page 24 The programs………..………………………………………………… page 29 Papers and technical reports…….…………………………………….. page 31 Recommendations …………….……………………………………… page 32 Strong points…………..………….…………………………………… page 33 Experimental results …………………………...……………………… page 34
(c) 2005, New Services Group, RIPT
2 / 46
I. Objectives
THE VIP-PBX SYSTEM – AN OVERVIEW
The above figure has been created with a modification from [11] (c) 2005, New Services Group, RIPT
3 / 46
I. Objectives
OBJECTIVES
To meet the communication requirements in enterprises LAN.
To overcome challenges in rural communications.
(c) 2005, New Services Group, RIPT
4 / 46
I. Objectives
TARGET AREA: ENTERPRISES NETWORK
Source: Vertical Networks[13] (c) 2005, New Services Group, RIPT
5 / 46
I. Objectives
TARGET AREA: RURAL COMMUNICATIONS
VSAT/ Wireless IP
ADSL, Leased Line IP/VoIP network Village Communication Point
VIP-PBX
TDM
Village School
VoIP Gateway Committee Office
PSTN network
Village Clinic
(c) 2005, New Services Group, RIPT
6 / 46
I. Objectives
TARGET AREA: BROADBAND TRUNKING RADIO TRUNK RADIO
The 113 system for the Ministry of Public Security VIP-PBX
FXO LINE
100 BASE LAN
ROUTER
BROADBAND SM
ROUTER
BROADBAND SM
LAN
CO LINE
PSTN VIP-PBX
VOIP DISPATCH CONSOLE
(c) 2005, New Services Group, RIPT
7 / 46
2. Approaches
ANALYSIS OF POSSIBLE SOLUTIONS - SURVEYS
Survey 99 features of 18 IP-PBX systems from 16 largest vendors
System architectures
Hardwares/softwares and other utilities
Features and value added services
System capacity
Propose the most suitable model for the to be developed system
Processor: Intel/AMD
OS: Windows, Linux/UNIX
VoIP protocols: H.323, SIP
System architecture: Stand-alone system with decomposed Call Control Server
A new approach in providing services: User Oriented with 15 basic services
(c) 2005, New Services Group, RIPT
8 / 46
2. Approaches
ANALYSIS OF POSSIBLE SOLUTIONS - EVALUATIONS
Software-based solutions
Totally Hardware-based
Based on open source libraries: Asterisk, Open H.323, Vovida, DynamicSoft vv Rapid development Low quality Uncommercializable Hi-tech Quality? Not suitable for a one year project
Combined solution – the chosen solution
Develop controlling software Re-use general purpose hardware from Intel Dialogic, Septel, etc Provide high quality products Rapid development
(c) 2005, New Services Group, RIPT
9 / 46
2. Approaches
STANDARDIZE THE SOFTWARE DEVELOPMENT PROCESS
1. Process:
Iteration Control (RUP) [4]
Extreme Programming [1]
2. Standardization in all steps
Coding Standard & Programming guidelines
9 vital principles
43 item - Coding Standard
10 guidelines
Development plan
Testing (Unit test, functional test, integral test, system test, load test) Source: Rational[4], XP organization [14] (c) 2005, New Services Group, RIPT
10 / 46
2. Approaches
STANDARDIZE THE SOFTWARE DEVELOPMENT PROCESS
Using modern tools
Analysis and Design: Rational Rose Process Managment: Rational Unified Process Software Development: Microsoft Visual C++ Version Control: Visual Source Safe Test
Other checking tools:
Rational TestManager Rational Robot Rational TeamTest Memory checking tool: Rational Purify Code Coverage tool: Rational Pure Coverage Rational Quantify
Defect tracking: IssueManager
(c) 2005, New Services Group, RIPT
11 / 46
2. Approaches
CONFORM TO ITU’S NGN PBX MODEL (ITU WG6-FGNGN-ID-00252) Conventional Phone
NGN PBX To another CS
CS TA
Signalling flow
Media flow IF
GW
NGN Phone Source: ITU-T [6] (c) 2005, New Services Group, RIPT
12 / 46
2. Approaches
IDENTIFY COMPONENTS Function
VIP-PBX Component
ITU specification
Database
MySQL
N/A
Call Monitoring
Call Monitor
NGN Call Server
Call blocking, bandwidth management, endpoint management
MonitorStation
NGN Call Server
User management, services configuration
Web-based Extension&Users Management
N/A
Gateway and media processing
VIP-PBX Core
NGN Gateway
Analog/PSTN station management
MSI/PSTN modul
NGN Terminal Adaptor
(c) 2005, New Services Group, RIPT
13 / 46
2. Approaches
A NEW APPROACH TO PROVIDING SERVICES
The traditional approach: “Services Oriented”
Provide services as much as possible
The provided services are fixed and can not be changed by users
Vendors are the only one can make change and upgrade services
Only suitable for large vendors
Our new approach: “Users Oriented”
Provide only the most basic and necessary services
BUT, make room for user to DEFINE SERVICES for themselves
As a result, user can create an unlimited number of services on demand
User can change services in two levels:
Low level: Alternate the call processing state machine
High level: Re-configure existing services to create new services
(c) 2005, New Services Group, RIPT
14 / 46
2. Approaches
NEW ARCHITECTURE- THE 5 LAYER MODEL
(c) 2005, New Services Group, RIPT
15 / 46
2. Approaches
NEW ARCHITECTURE- THE 5 LAYER MODEL
Five layers
Network Interface
Signalling/ Media Processing
Session Processing
Call States Control
Services Layer
Advantages
Easy to Divide and Conquer
Components/modules in separate layers can function independently
OPEN: freely add/remove components/modules/protocols Logical and Visual to both developers and users Comply with NGN infrastructure
(c) 2005, New Services Group, RIPT
16 / 46
2. Approaches
NEW APPROACH TO CONTROL CALL STATES
RIPT StateMachineFramework: A modification and improvement from StateMachine Semantics of UMLv2.0
RIPT StateMachineFramework: A framework-based APIs which can be easily adopted by any application
(c) 2005, New Services Group, RIPT
17 / 46
2. Approaches
NEW APPROACH TO CONTROL CALL STATES (Cont.)
The statechart diagram:
(c) 2005, New Services Group, RIPT
18 / 46
2. Approaches
NEW APPROACH TO CONTROL CALL STATES (Cont.)
New solution: State table method (example below) UNBLOCK ED
OFFERED
CALL_PROC
ANSWERED
CONNECTED
DISCONNECTED
DROPCALL
NULL
NULL
OFFERED
X
X
X
X
X
OFFERED
X
X
CALLROUTING
CONNECTED
X
DISCONNECTED
WAIT_FOR_IDLE
GETMOREINFO
X
X
CALLROUTING
CONNECTED
X
DISCONNECTED
WAIT_FOR_IDLE
CALLROUTING
X
X
X
CONNECTED
X
DISCONNECTED
X
ACCEPTED
X
X
X
CONNECTED
CONNECTED
DISCONNECTED
WAIT_FOR_IDLE
CONNECTED
X
X
X
X
X
X
WAIT_FOR_IDLE
DISCONNECTED
X
X
X
X
X
X
WAIT_FOR_IDLE
WAIT_FOR_IDLE
NULL
X
X
X
X
X
X
BLOCKED
NULL
X
X
X
X
X
X
Event State
(c) 2005, New Services Group, RIPT
19 / 46
3. Results
VIP-PBX SYSTEM
The above figure has been created with a modification from [11] (c) 2005, New Services Group, RIPT
20 / 46
3. Results
VIP-PBX SYSTEM - CAPACITY
IP subscribers
No limitation
Simultaneous IP calls
30 (can be upgraded to 2016)
Analog subscribers
16 (can be upgraded to 224)
Simultaneous PSTN calls
34 (can be upgraded to 840)
External CO trunks
4 (can be upgraded to 64)
External E1 trunks
1 (can be upgraded to 28 or more)
External interface
IP Ethernet, E1 (R2/SS7), CO line
Codecs
G.711, G.729, G.7231, GSM vv
(c) 2005, New Services Group, RIPT
21 / 46
3. Results
VIP-PBX SYSTEM – SERVICES
No.
Services
Basic services conforming to Vietnam national standard 1
Local call and international call, record call information for billing
2
Call to receptionist and agent
3
Access to recorded messages
4
Call to public services
5
Call blocking
6
Absent subscribers
(c) 2005, New Services Group, RIPT
22 / 46
3. Results
VIP-PBX SYSTEM – SERVICES (Cont.)
No.
Services
Some enhanced services 1
Conferencing (in progress)
2
Voicemail
3
Automated attendant
4
Leave word calling
5
Caller ID
6
Virtual Extensions
7
Data Directed Routing
8
Bandwidth Restrictions
(c) 2005, New Services Group, RIPT
23 / 46
3. Results
VIP-PBX SYSTEM – COMPONENTS: THE CORE
State Management (Mgmt) Module (Mdl)
Signalling Mgmt and Call Interface Mdl
Media Processing Mdl
Event Management Mdl
Session Management Mdl
Services Management Mdl
Process/Resources/Memory Mdl
(c) 2005, New Services Group, RIPT
24 / 46
3. Results
VIP-PBX SYSTEM – COMPONENTS: DATABASE
DBMS: MySQL 36 tables with a various records Web-based configuration with high security
(c) 2005, New Services Group, RIPT
25 / 46
3. Results
VIP-PBX SYSTEM – COMPONENTS: VOIP GATEKEEPER
VoIP gatekeeper: VIPkeeper
Enhanced from our old products
Monitor, manage and re-route H.323 signalling messages
Provide advanced features as dial-by-name,bandwidth restriction,etc
Integrated with the GUI Component: MonitorStation
MonitorStation
Monitor IP calls
Monitor IP endpoints
Monitor VoIP Gatekeeper
Monitor VoIP Gateway
System Configuration
(c) 2005, New Services Group, RIPT
26 / 46
3. Results
VIP-PBX SYSTEM – COMPONENTS: GUI COMPONENTS
GUI components: MonitorStation and Call Monitor Remote control using TCP/IP
Monitor calls and transactions of VIP-PBX Facilitate user by allowing them acees VIP-PBX features through GUI
(c) 2005, New Services Group, RIPT
27 / 46
3. Results
VIP-PBX SYSTEM – COMPONENTS: WEB INTERFACE
Access through Web Subscriber Configuration
Extension Voice-mail box Device etc
Manage and configure user services
Voice mail Personal greeting Personal ring type Automated attendant etc
(c) 2005, New Services Group, RIPT
28 / 46
3. Results
THE PROGRAMS – SOME STATISTICS - SLOCs Component
Number of Class
Lines of Source Code
Telephony Framework
38
7712
StateMachine Framework
64
10497
VIP-PBX core
52
17703
Utilities
8
2536
MonitorStation
39
7217
Gatekeeper
29
22315
DatabaseConnection
21
3206
CallMonitor
15
1860
Web Interface SUM (c) 2005, New Services Group, RIPT
3090 266
76136 29 / 46
3. Results
THE PROGRAMS – SOME STATISTICS – Unit test cases Component
Number of unit test cases
Telephony Framework
30
StateMachine
159
VIP-PBX core
40
Utilities
20
MonitorStation
15
Gatekeeper
35
DatabaseConnection
5
CallMonitor
5
Web Interface
N/A
SUM
309
(c) 2005, New Services Group, RIPT
30 / 46
3. Results
PAPERS AND TECHNICAL REPORTS
Technical reports
Published Papers
Develop the IP-PBX system (technical report, submitted to VNPT) [8] VIP-PBX: tests and experiments (technical report, submitted to VNPT) [9] Other internal technical reports Nguyen T. Thanh - “A novel implementation for UML StateMachine and some issues to improve State Machine Semantics”, 3rd Intl Conf in CS, RIVF, 2005.[10] Bien Van Quang et al - “Design Method Of Gatekeeper Based On The Set Of Open Source Code Library Pwlib And Openh323 ”, the National Conf, 2004.[2]
Submitting Papers
Nguyen T. Thanh -“VIP-PBX – An IP-PBX System for Enterprises” this conference Nguyen Trung Thanh, “A New Method to Implement Multi-Dimension Array”, C/C++ Users Journal Nguyen Trung Thanh, “Petri Net and its approach to detecting deadlock in realtime applications”, C/C++ Users Journal, spec issues on RT & Embedded Systems (c) 2005, New Services Group, RIPT
31 / 46
3. Results
RECOMMENDATIONS
Recommendations on Deployment Models – 10 models [8]
Stand-alone models
Centrex models
NGN models
Recommendations on selecting optimized configuration for VoIP systems in VietNam – 9 recommendations [8]
Bandwidths
Coders
Frames rates
Echo cancelations
Network connections
(c) 2005, New Services Group, RIPT
32 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
VoIP to Corporate
VoIP Remote IP Offices
The above figures has been created with a modification from [5] (c) 2005, New Services Group, RIPT
33 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
VoIP Remote Offices
The above figure has been created with a modification from [7] (c) 2005, New Services Group, RIPT
34 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
Corporate Virtual Conference
The above figure has been created with a modification from [7] (c) 2005, New Services Group, RIPT
35 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
VoIP 171 to Corporate
The above figure has been created with a modification from [7] (c) 2005, New Services Group, RIPT
36 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
Rural Communications VSAT/ Wireless IP
ADSL, Leased Line IP/VoIP network Village Communication Point Village School
VIP-PBX
VoIP Gateway Committee Office
PSTN network
Village Clinic
(c) 2005, New Services Group, RIPT
37 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
VoIP Centrex
The above figure has been created with a modification from [3] (c) 2005, New Services Group, RIPT
38 / 46
3. Results
RECS – PROPOSED DEPLOYMENT MODELS (EXAMPLES)
Access to VNPT’s NGN
The above figure has been created with a modification from [12] (c) 2005, New Services Group, RIPT
39 / 46
3. Results
VIP-PBX – COMPARISONS TO OTHER PRODUCTS Vendor
Siemens
Alcatel
Cisco
RIPT
System name
HiPath 3500
OmniPCX
Cisco CallManager
VIP-PBX
Processor
Motorola
Intel / AMD
Intel
Intel
Operating System
Proprietary
Linux
Win2000 Server
Windows2000, Linux
Media Gateway
Multli-slot chassis HiPath Gateway 1500
Multislot Chassis IP Media Gateway
Multislot Chassis AS 5300
Multislot Chassis
Call Routing and Call Control
Optional
Communications Server
CallManager
VIPKeeper
H.323 GK
Not integrated
Integrated
Integrated
Integrated
H.323-to-SIP
Not supported
Supported
Supported (version 4.0)
In progress
Administration software
HiPath 3000/5000 Manager
OmniVista 4760
CallManager Administration
Monitor Station
VoIP protocols
H.323
H.323 and SIP; BC/Q.Sig
SCCP; H.323, v2;
H.323, v2 SIP (in progress)
Interface
IP, digital, analog
Analog, digital, IP, wireless
Analog, IP, wireless
Analog, IP, wireless, Digital
Maximum Stations
500
5.000
30.000
98 (PSTN)
Maximum IP Station
500
4.000
30.000
840
Maximum E1/T1
5
66 T1/E1
3.200
28
(c) 2005, New Services Group, RIPT
40 / 46
3. Results
VIP-PBX – SOME EXPERIMENTAL RESULTS Parameters
Test results
National standard
ETSI TS-101329
100%
≥ 90
N/A
Sucessful call establishment rate (%) Fixed prms: 3s, 10s, 1m, 1.5m, 3m
Dynamic parameters under high loads with Poisson distribution 1
1500 calls/hours/25 channels
99.3%
≥ 90
N/A
2
1600 calls/hours/25 channels
98.2%
≥ 90
N/A
3
2000 calls/hours/25 channels
98.2%
≥ 90
N/A
4
2500 calls/hours/25 channels
97.7%
≥ 90
N/A
IP interface
0.22
≤ 15
≤5
PSTN Interface (E1 trunk– R2/SS7)
4.86 (SS7) – 8.35 (R2)
≤ 15
≤5
Call drop rate (%)
0
≤2
N/A
Call delay (s)
Source: VIP-PBX – Experiments Report [9] (c) 2005, New Services Group, RIPT
41 / 46
3. Results
VIP-PBX – SOME EXPERIMENTAL RESULTS (Cont.)
Parameters
Test results
National
ETSI TS-101329
standard 8,1(G.711) -> 128 (G.723.1)
≤ 350
Best( 4,32(G.711)
≥3
Medium (3.6:4.0) -Best (4.3:4.4)
PC – PC/ PC – Phone/ Phone – PC
3,09(G.7231) -> 4,32(G.711)
≥3
Medium (3.6:4.0) -Best (4.3:4.4)
Phone – Phone (R Factor: 0->94.15)
79(G.7231) - 94 (G.711)
N/A
Medium (70:80) - Best (90:100)
PC – PC/ PC – Phone/ Phone – PC
73(G.7231) - 94 (G.711)
N/A
Medium (70:80) - Best (90:100)
Packets Drop rate (%)
~ 0%
N/A