implement an online management system for pbx presented by: bui phuong nhung advisor: dr. wei,...

21
Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao- Huang

Upload: gregory-mosley

Post on 02-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Implement An Online Management System for PBX

Presented by: Bui Phuong Nhung

Advisor: Dr. Wei, Chao-Huang

Page 2: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Contents

Introduction1

System Configuration2

Communication protocol3

Application4

5 Conclusion

Page 3: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Introduction

Develop a server : flexibly applied Manage data Monitor status Control many kind of devices

Page 4: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Introduction

In this research:

Apply to PBX

PBX server

Manage information concerning incoming

call & outgoing callSend control massage

to PBX

Page 5: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Introduction

•Use RS232 interface for collecting data from the PBX•Built a software to manage data got•Use RS232 interface for collecting data from the PBX•Built a software to manage data got

Conventional methodConventional method

•Get information of incoming call and outgoing call •Record to MySQL database•Provide web pages written in PHP and HTML•On duty all the time •Use an authentication method

•Get information of incoming call and outgoing call •Record to MySQL database•Provide web pages written in PHP and HTML•On duty all the time •Use an authentication method

Proposed methodProposed method

Page 6: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Introduction

Application: Billing system

Practical for utilizing in hotels, office or dormitories

Page 7: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

System Configuration

Three tiers Bottom tier: PBX and

an Ethernet converter. Middle tier: MySQL

database,

Server-side, PHP scripts

based on Apache Web server

Top tier: Web Browser

Internet

Server-side

MySQL Database

Web Server

PHP Scrips

RS232

Ethernet Converter

PBX

Web Browser

Top tier

Middle tier

Bottom tier

Page 8: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

System Configuration

Bottom tier: PBX and Ethernet Converter Ethernet Converter: a medium to transfer data

from RS232 to Ethernet network. Communication interface

• PBX & the Ethernet Converter: RS-232 • Ethernet Converter & middle tier: TCP/IP protocol

Page 9: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

System Configuration

Middle tier: Apache Web Server PHP is used to program scripts C language is used to build up server-side MySQL is used as a database server

Page 10: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

System Configuration

Top tier: Web Browser

Page 11: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Communication Protocol

Kernel of the communication: TCP/IP socket

Create a listening socket on a specific port

Client request ?

Listen connection

Create connection

Receive control message

Close conection

N

Y

Listening socket

Waiting for package

Connected socket

Package go in?

Send/receive package

N

Y

Page 12: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Application: Billing System

Depend on the information recorded in database

Implement in a PC installed Fedora Core Takes the dormitory 6 of the Southern

Taiwan University of Technology, Tainan, Taiwan as an example

Page 13: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Application: Billing System

To build up the billing system, MySQL database must include many tables: Telecom companies of Taiwan table Cell phone price table Long distance price table International dial code table International price of cell-phone table International price of telephone table

Page 14: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Application: Billing System

authentication with PHP session control & MySQL.

Page 15: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Application: Billing System

Page 16: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Application: Billing System

Page 17: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Conclusion

The proposed PBX server and its application could be used instead of management software for dormitories, hotels or offices

This application eases to use at any platform which is installed Web Brower

In the future, more function can be added to PBX server such as monitoring and control devices.

Page 18: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang
Page 19: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

Introduction

PBX (Private Branch Exchange): make connections among the internal telephones of a private organization — usually a business — and also connect them to the public switched telephone network (PSTN) via trunk lines.

Page 20: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

System Configuration

Apache Web Server: A computer program that is responsible for accepting HTTP requests from web clients, and serving them HTTP responses (web pages such as HTML documents and linked objects).

Page 21: Implement An Online Management System for PBX Presented by: Bui Phuong Nhung Advisor: Dr. Wei, Chao-Huang

System Configuration

PHP is scripting language which is usually used for web development and can be embedded into HTML. It generally runs on a web server, taking PHP code as its input and creating web pages as output.