030 ระบบจัดการโทรศัพท์แบบวีโอไอพี

  • Upload
    runin-

  • View
    67

  • Download
    1

Embed Size (px)

DESCRIPTION

030 ระบบจัดการโทรศัพท์แบบวีโอไอพี

Citation preview

  • Voice over Internet Protocol Management System

    Chaiwat papinyo

    2554

  • I

    5217660020 .. 2554 .

    11 (Open Source) Elastix 11 P1 Elastix AX100P 1 P

  • II

    Project Title Voice over internet protocol management system Student Chaiwat Papinyo Student ID. 5217660020 Degree Master of Science Program Network Engineering Year 2011 Project Advisor Dr. Woraphon Lilakiatsakun

    ABSTRACT

    This project presents a Voice Over Internet Protocol Management System by using an Open Source software which is called Elastix. The software can manage on graphic user interface (GUI). In addition, this project studies the records of the telephone system to improve format of telephone report efficiently. According to the experiments, Elastix is compatible with the AX100P card. In conclusion, the VOIP management system is easy and convenient for the administrator to manage the system.

  • III

    ++++. + +

    +

  • IV

    I II III IV IV IV 1 1

    1.1 1 1.2 1 1.3 2 1.4 2 1.5 2

    1.5.1 1 2 1.5.2 2 2

    1.6 3 1.7 7 3 1.7.1 3 1.7.2 7 3

    1.7.3 3 1.8 3 1.9 4 2 PABX 5

    2.1 PABX 5 2.2 VoIP 5

    2.2.1 Voice Over IP 5 2.2.2 VOIP 6 2.2.3 VoIP 7 2.2.4 VOIP 8 2.2.5 VOIP 9

    2.3 CODEC 14 2.3.1 G.711 14

    2.3.2 G.721, G.723, G.726, G.728 G.729A 15

  • V

    ()

    2.3.3 GSM 15 2.3.4 ILBC 15 2.3.5 Speex 15

    2.4 VoIP 17 2.5 Asterisk 18

    2.5.1 Asterisk 18 2.5.2 Asterisk 19

    2.5.3 Asterisk 20 2.6 Asterisk 24 2.7 25

    3 26 3.1 26 3.2 26 3.3 27

    3.3.1 28 3.3.2 29 3.3.3 30

    3.4 7 VoIP 31 3.4.1 31 3.4.2 (report) 32

    3.5 7 33 3.5.1 33 3.5.2 34

    3.6 36 3.6.1 Entity-Relationship Diagram 36 3.6.2 (cdr) 37 3.6.3 (cdrcountry) 38 3.6.4 (cdrprice) 38 3.6.5 (vwcdr) 39

    4 40 4.1 40 4.2 40

  • VI

    ()

    4.2.1 40 4.2.2 card AX100P 40

    4.3 69 4.4 44 4.5 45 4.6 46

    4.6.1 46 4.6.2 47 4.6.3 Extension 48 4.7 CSV,Excel,PDF 49 4.7.1 CSV 49

    4.7.2 Excel 50 4.7.3 PDF 50

    4.8 51 4.9 Server 51

    4.9.1 Extension 52 4.9.2 Extension 1 52 4.9.3 Extension 2 53 4.9.4 Extension 3 54 4.9.5 Extension 4 55 4.9.6 Server 56

    5 57 5.1 57 5.2 VoIP 57 5.3 58

    5.3.1 58 5.3.2 58

    59 . 7 60

    7 7 Elastix 2.0 60 . 71

    7 7 Elastix 71

  • VII

    () 1. Login Elastix 71 2. 73 3. Trunk 75 3.1 7 SIP Trunk 75 4. Outbound Routes 81 5. IVR 83 6. Inbound Routes 84 7. 7 3CXPhone 86 7.1 7 3CXPhone ( 7) 86 7.2 7 3CX Phone ( 7) 87

  • VIII

    2.1 Web 2.0 6 2.2 OSI Model VOIP 7 2.3 8 2.4 (VOIP) 8 2.5 PCM code Modulation 9 2.6 SIP Protocol 10 2.7 17 2.8 LAN 17 2.9 Asterisk 18 3.1 27 3.2 28 3.3 IP-PBX 29 3.4 30 3.5 31 3.6 32 3.7 AX100P, 1 Port RJ-11 33 3.8 Entity-Relationship Diagram 36 4.1 Login 41 4.2 asteriskcdrdb 41 4.3 cdr () 42 4.4 cdrcountry () 42 4.5 cdrprice () 43 4.6 vwcdr () 43 4.7 7 3CXPhone 44 4.8 7 3CXPhone 44 4.9 7 45 4.10 46

    4.11 3CXPhone 46 4.12 47 4.13 3CXPhone 47 4.14 48 4.15 3CXPhone Extension 48

  • IX

    () 4.16 Extension 48 4.17 CSV,Excel,PDF 49 4.18 CSV 49 4.19 Excel 50 4.20 PDF 50 4.21 Web Browser 51 4.22 PHP Sysinfo 51 4.23 Memory Extension 52 4.24 Extension 52 4.25 Memory Extension 1 52 4.26 Extension 1 53 4.27 Memory Extension 2 53 4.28 Extension 2 54 4.29 Memory Extension 3 54 4.30 Extension 3 55 4.31 Memory Extension 4 55 4.32 Extension 4 56 4.33 Server 56 .1 7 Elastix 61 .2 7 61 .3 62 .4 7 62 .5 63 .6 63 .7 Ethernet 0 64 .8 Eternet 64 .9 IP Address 65 .10 Default gateway DNS Server 65 .11 7 elastix.medline.com 66 .12 Time zone 66 .13 7 Password Root 67 .14 67

  • X

    () .15 7 Elastix 68 .16 7 Password MySQL Server 68 .17 Password MySQL Server 69 .18 7 Password Web Interface Elastix 69 .19 Password Web Interface Elastix 60 .20 root 70 .1 Login Elastix 72 .2 Elastix 72 .3 Detect New Hardware X1000P Card 73 .4 Network Parameters 73 .5 74 .6 74 .7 74 .8 75 .9 75 .10 SIP Trunk 76 .11 SIP Trunk 76 .12 SIP Trunk 77 .13 SIP Trunk 78 .14 SIP Trunk 79 .15 SIP Trunk 80 .16 SIP Trunk 80 .17 Outbound Routes 81 .18 Outbound Routes 82 .19 Outbound Routes 83 .20 IVR 83 .21 IVR 84 .22 IVR 84 .23 Inbound Routes 85 .24 Inbound Routes 85 .25 Inbound Routes 85 .26 7 3CX Phone ( 7) 86

  • XI

    () .27 7 3CX Phone ( 7) 87 .28 7 3CX Phone ( 7) 87 .29 7 3CX Phone ( 7) 88 .30 7 3CX Phone ( 7) 89

  • XII

    2.1 SIP Request Messages 11 2.2 SIP Response Messages 11 2.3 Codec 16 2.4 Asterisk 19 3.1 37 3.2 38 3.3 38 3.4 39

  • 1

    1

    1.1 Data Network 2- 2 VoIP 2 2 VoIP SME (Small/Medium Enterprise) ISP (Internet Service Provider) SME Leased Line, Frame Relay, ISDN E1/T1 VoIP 2 2 22 2 2 VoIP 22 VoIP ISP 2 VoIP 22 ISP 2 VoIP 2 Internet Value Added Services

    2 2 VOIP

    1.2 Voice Over Internet Protocol 2 2

  • 2

    Voice Over Internet Protocol Open Source Open Source Voice Over Internet Protocol 2 2 Open Source 1.3 Text File (Report) PHP Open Source 2 1.4

    1.4.1 Voice Over internet Protocol 1.4.2 Voice Over internet Protocol 1.4.3 Voice Over internet Protocol 1.4.4 Voice Over internet Protocol 1.4.5 Voice Over internet Protocol 1.4.6

    1.5

    1.5.1 1 1.5.1.1 1.5.1.2 1.5.1.3

    1.5.2 2 1.5.2.1 1.5.2.2 Web Browser 1.5.2.3

    server

  • 3

    1.6 1.6.1 Voice Over internet Protocol 1.6.2 Voice Over internet Protocol 1.6.3 Voice Over internet Protocol 1.6.4 Voice Over internet Protocol 1.6.5 Voice Over internet Protocol

    1.7 . 2 2 22 1.7.1 Voip 2 1.7.2 .

    2 OS Linux Centos5.2 Server 2 Elastix Management 2 Mysql Apache Web server PHP MyAdmin 2 3CXPhone 2 WinSCP 2 PuTTY

    1.7.3 1.8

    2 5 2 1: 2

  • 4

    2 : VoIP VoIP

    3 : 2 VoIP

    4 : Elastix 5 :

    1.9

  • 5

    2 .

    2.1 PABX

    2 PBX PABX (Private Branch Exchange) 2 Extension 222 [1] 2.2 VoIP

    2.2.1 Voice Over IP Voice over IP Voice Internet Protocol 2 VOIP (Hardware) (Software) VOIP 2 2 Advanced Research Projects Agency Network (ARPANET) .. 1973 2 VOIP 2 Packet (Internet Protocol) VOIP 2 VOIP 2 2 Web 2.0 2 Blogs Weblog, Bit torrent, AJAX, Skype

  • 6

    2 VOIP VOIP 22 VOIP VOIP

    2.1 Web 2.0 : http://www.webdesignworlds.com/web-2-0/

    2.1 Web 2.0 2 2

    (Two-way interaction) 2 VOIP

    2.2.2 VOIP 2 Router,

    Switch 2

    VOIP 2 Router Switch 2 VOIP

  • 7

    2 VOIP

    (FAX) VOIP 2 (FAX) 2

    2.2.3 VoIP VOIP 2 Internet Protocol 2 Packet UDP TCP UDP 2 2 SIP(Session Initiation Protocol) SIP UDP 5060

    2.2 OSI Model VOIP

    2.2 OSI Model VOIP 2 OSI Model 2 2 OSI Model 2 7 2 2 VOIP [2]

  • 8

    2.2.4 VoIP 2.3 2

    (Analog) 2.3

    2.3 : http://www.vcharkarn.com/vblog/38404/2

    2.4 (VOIP) : http://www.mvt.co.th/viewarticle.php?cid=3&nid=149&page=

    2.4 VOIP 2

    (Analog)

  • 9

    (Digital) 2 2 2 PCM (Pulse Code Modulation) 2.5

    2.5 PCM code Modulation : http://www.trendcomms.com/multimedia/training/broadband%20networks

    /web/main/m2/temari/seccio6/pcm.htm

    Binary 2 Logic 1 () Logic 0 () [3]

    2.2.5 VOIP VOIP 22 [4]

    SIP (Session Initiation Protocol) SIP VOIP

    SIP 2 SIP 2..1996 Henning Schulzrinne Columbia University Mark Handley University College London (UCL) .. 2000 RFC 2361 IETF (Internet Engineering Task Force)SIP Working Group

  • 10

    (Multimedia devices) SIP Protocol TCP UDP 5060 UDP 10000 20000 ( Asterisk) SIP 2 2 User Agents UA SIP Server

    User Agents 2 User Agent Client (UAC) User Agent Server (UAS) VOIP 2 Client-Server UAC SIP request messages UAS UAS SIP response messages

    SIP Server 3 Proxy Server SIP Client SIP Clients 2 SIP Messages Proxy Server SIP Client 2 SIP Client 2 RTP (Real Time Transport Protocol) Register Server 2 SIP Client SIP Client SIP Client SIP Client 2.6

    2.6 SIP Protocol

  • 11

    SIP Messages SIP Messages (Request) (Response) 2 SIP Client Server 2 SIP Client Server SIP Messages 2 Ethereal SIP Messages 2 2

    SIP Request Messages 2 SIP Client 6 RFC 3261 [7] 2.2

    2.1 SIP Request Messages

    SIP Response Messages SIP Server SIP Request messages 6 2.2

    2.2 SIP Response Messages

    SIP Response Message 2

  • 12

    1XX SIP Server SIP Client

    100 Trying SIP Client

    180 Ringing SIP Client

    182 Queue 183 Session Progress Session

    2XX SIP Server 200 OK 202 Accepted

    3XX (Forwarding) 300 Multiple Choices 301 Moved Permanently 302 Moved Temporarily 305 Use Proxy Proxy 380 Alternative Service 4XX (Client) 400 Bad Request 401 Unauthorized 402 Payment Required ( ) 403 Forbidden 404 Not Found () 405 Method Not Allowed 2 406 Not Acceptable 407 Proxy Authentication Required Proxy 408 Request Timeout 410 Gone 2

  • 13

    413 Request Entity Too Large 414 Request-URI Too URI 2 Long 415 Unsupported Media Type 416 Unsupported URI URI Scheme 420 Bad Extension (Extension) 421 Extension Required (Extension) 423 Interval Too Brief 2 479 Regretfully URI 480 Temporarily Unavailable 481 Call/Transaction Does

    Not Exist 482 Loop Detected 483 Too Many Hops 484 Address Incomplete 485 Address Ambiguous 486 Busy Here 2 487 Request Terminated 488 Not Acceptable Here 489 Bad Event 491 Request Pending 493 Undecipherable S/MIME 494 Security Agreement Required

  • 14

    5XX 500 Server Internal Error 501 Not Implemented 2 502 Bad Gateway Gateway 503 Service Unavailable 504 Server Time-Out 505 Version Not Supported 513 Message Too Large 6XX 600 Busy Everywhere 603 Decline 604 Does Not Exist Anywhere 606 Not Acceptable

    2.3 CODEC

    CODEC (Coders/Decoders) 2 ITU-T CODECS VoIP G G.711, G.723, G.726, G.729 2 G.711 LAN G.729 2 2 222 2 G CODECS GSM, iLBC, Speex 2.3.1 G.711

    G.711 Codec 64 Kbps 2 (Bandwidth) Codec G.711 2 2

  • 15

    alaw ulaw G.711 alaw 2 G.711 ulaw 2 2 64 kbps VoIP 2 22 IP Phone 2 ATA Codec 2 Dial Up 56 kbps 2

    2.3.2 G.721, G.723, G.726, G.728 G.729A 2

    Codec 2 2 Codec 2 8 32 kbps Codec 2 2 2 G.729A 2 License 10 2 Asterisk

    2.3.3 GSM GSM Global System for Mobile communications Codec

    13 kbps

    2.3.4 ILBC ILBC Internet Low bitrate code

    15 kbps 2 22

    2.3.5 Speex Speex Codec 8 32 kbps Speex

    Codec Codec

  • 16

    2 [5] 2.3

    2.3 Codec

    IP Hardware Phone Software Phone 2 2 2 2 Codec 22 Codec 2 Codec G.729A G.729A 2 8 kbps Internet overhead 31.2 kbps 39.2 kbps Codec G.711 G.711 64 kbps Internet overhead 31.2 kbps 95.2 kbps 2 LAN Signal Translation 2 2

  • 18

    Full Duplex Gigabit Ethernet 11,600

    G.711 64 () G.729a G.723 / G.729a G.723

    2.5 Asterisk Asterisk

    APIs API (Application Programming Interface) Asterisk Central PBX 2.9

    2.9 Asterisk : http://www.digium.com/images/graphics/asteriskarch.gif

    2.5.1 Asterisk

    Asterisk APIs 4 APIs 2 Asterisk 2 APIs 2

  • 19

    Channel API VoIP ISDN, IAX, SIP, H.323, MGCP, Cisco Skinny Signaling Application API Conferencing, Directory Listening, Voice Mail Codec Translator API / (Codec) GSM, Mu-law, A-law mp3 File Format API .gsm .wav .mp3 2 2.5.2 Asterisk

    PBX Switching Asterisk PBX Switching

    Application Launcher Voice Mail, File Playback

    Codec Translator Codec Codec (Bandwidth Usage)

    Scheduler and I/O Management 2 2

    Dynamic Module Loader Asterisk

    CDR (Call Detail Record) 2

    Asterisk 2 Asterisk 2 2 2.4

  • 20

    2.4 Asterisk Directory OR File

    /usr/local/etc/zaptel.conf Zaptel Channels

    /usr/local/etc/asterisk/ Asterisk 2 .conf

    /usr/local/share/asterisk Asterrisk keys, AGI, Firmware

    /usr/local/share/asterisk/sounds .gsm 2 2

    /usr/local/share/asterisk/mohmp3 .mp3 2

    /var/log/asterisk Log Asterisk Event, Queue, Messages

    /var/log/asterisk/cdr-csv Asterisk 2 Master.csv 2

    /etc/rc.conf Asterisk 2 asterisk_enable=YES

    2.5.3 Asterisk

    Asterisk 2 FreeBSD Linux Asterisk 2 FreeBSD /usr/local/etc/asterisk

  • 21

    Linux /etc/asterisk 2 Adsi.conf (Analog Display Service Interface 2 ADSI) Adtranvofr.conf Frame Relay Adtran Agents.conf (Call Center) ID Passwords Alarmreceiver.conf Alarm Receive 2 Alsa.conf (Soundcard) 2 Asterisk.adsi Scripts

    ADSI 2

    Asterisk.conf 2 asterisk.conf-dist 2 Cdr_manager.conf CDR (Call Detail Record) Cdr_odbc.conf

    ODBC

    Cdr_pgsql.conf (CDR) PostgresSQL Cdr_tds.conf (CDR) Microsoft SQL Sybase Enum.conf ENUM

  • 22

    DNS Extconfig.conf 2 Realtime doc/readme.extconfig Features.conf pickup extension call parking Festival.conf Asterisk Festival 2 Open Source Software Iax.conf IAX Account ATA IP Phone IAX2(Inter-AsteriskExchange2) Iaxprov.conf Simple provisioning Digiums S1011 IAXY Indications.conf Ringing, Tones Logger.conf Logging 2 Manager.conf (Remote Access) GUI (Graphics User Interface) Meetme.conf Teleconference Mgcp.conf

    Media Gateway Control Protocol 2 VoIP Cisco

    Modern.conf ISDN

  • 23

    Modem ISDN4Linux Driver Modules.conf (modules) 2 Musiconhold.conf Osp.conf Open Settlement Protocol Oss.conf Open Sound System Phone.conf Linux Phone Privacy.conf Privacy 2 Queues.conf (Queues) Res_config_odbc.conf asterisk ODBC Res_odbc.conf ODBC Rpt.conf (Radio - Repeater) Rtp.conf RTP (Real time protocol) UDP Sip.conf SIP ATA Ip Phone IP Phone SIP Account 2 Skinny.conf

  • 24

    Cisco Voicemail.conf Voice Mail Voice Mail account Vpb.conf VoIP Voice Tronix Zapata.conf Zaptel channels

    Asterisk 2 filename.conf-dist 2 Asterisk 2 2 2-3 2 (Extension) 30 SIP extensions.conf extensions 2 sip.conf SIP 2

    2.6 Asterisk

    (PBX) IVR, Voice Mail, Voice Recording 2 2 Asterisk 222 2

    2 Asterisk Asterisk 2 Asterisk 2

    PBX Asterisk 2 Asterisk C, Perl, PHP Asterisk

  • 25

    Asterisk Voice Mail, Interactive Voice Response (IVR), (Music on Hold), (Call Waiting), (Call forwarding)

    Asterisk Dial Plan 2

    Asterisk 2 Sip Server SIP, IAX, H323 SCCP Asterisk Protocol 2 2 [6] 2.7

    22 (Analog) (Digital) 2 2 VoIP(Voice Over IP) 222

  • 26

    3

    3.1

    VoIP 2

    - VoIP Architecture - VoIP Protocol - Audio Codec - VOIP Equipment

    3.2

    VoIP 2 VoIP 2

    - Cat2call (http://www.cattelecom.co.th) - TOT Netcall (http://www.tot.co.th) -

    (http://www.truecorp.co.th/tha/products/online_ipphone2.jsp)

  • 27

    3.3 3

    3.1

    3.1

  • 28

    3.3.1

    3.2

    3.2 Elastix CentOS Elastix 2 PBX, email, Instant Message Fax Elastix Asterisk, HylaFAX, Openfire Postfix VoIP 2 SIP IAX2

  • 29

    3.3.2

    3.3 IP-PBX

    3.3 (Extension) 3 3

    1 800 IP Soft Phone IP Phone 3CX Phone

    2 801 IP Soft Phone IP Phone 3CX Phone

    3 802 IP Soft Phone IP Phone 3CX Phone (On Mobile)

  • 30

    3.3.3

    3.4

    3.4 3 417 418 AX100P 132 Zap-Channel AX100P 1 (PABX) IP-PBX

  • 31

    3.4 . VoIP 3.4.1

    3.5

    3.5 IP-PBX 9 9 PABX

  • 32

    3.4.2 (report)

    3.6

    3.6 2

    4

    1.

    2.

  • 33

    3.

    4. 2 2

    3.5 .

    3.5.1 2 2 2

    - CPU Pentium 4 Speed 3.0 GHz - RAM DDR 512 MB - HDD 40 GB - LAN 100 Mbps

    AX100P

    3.7 AX100P, 1 Port RJ-11 (Specification)

    (Analog Interface Card - Main Card) 1

    FXO Elastix IP PBX PCI 2.2

  • 34

    - Elastix Asterisk Trixbox

    Elastix IP PBX PCI 2.2 FXO

    - Voice Mail, IVR IP-PBX Music on Hold Conference RJ11 (Extension

    3.5.2 Centos 5.2 Linux

    Elastix IP-PBX

    Elastix 2.0 IP-PBX

    Config Elastix version 1.5.2

    - Asterisk 1.4.x PBX - VTigerCRM CRM - A2Billing Asterisk - Hylafax - FreePBX Asterisk - OSLEC - Postfix/Round Cube webmail - CentOS 5.2 - Etc.

    Asterisk 1.4 Asterisk Softswitch, IP-PBX

    2 2 Elastix Centos

  • 35

    Asterisk Switch (PBX) Asterisk

    IP hybridge 2, feature ( Voicemail, IVR), 2 analog digital (ISDN)

    Gateway 2 VoIP

    Feature & Media Server Asterisk implementation IVR (pabx)

    Call Center Call-Center ACD, Queue, IVR,Skill-based routing, etc

    Asterisk

    - OS Linux OpenBSD FreeBSD MAC OS X - PC Hardware PC Server

    linux - 2 Digital Analog

    Mysql (MySQL)

    (SQL = Structured Query Language) (Web Server) (Server-Side Script) (PHP) 2 elastix Centos

    PhpMyAdmin - 2.11.5.1 MySQL

    TABLE function query SQL 2 insert delete update SQL 2

  • 36

    Apache Web Server (httpd) Apache Project web server 60 % Homepage Homepage Browser Web server HomePage 2 web server 2 Elastix CentOS

    PHP Version 5.1.6

    - HTML 22 3.6

    MySQL PhpMyAdmin 4 2

    3.6.1 Entity-Relationship Diagram

    3.8 Entity-Relationship Diagram

  • 37

    3.6.2 (cdr) 3.1 ,,,, Context ,,,,,, 2, 2, Automated Machine Accounting Flags Billing 2, Caller ID, 3.1

    calldate datetime clid varchar(80) latin1_swedish_ci src varchar(80) latin1_swedish_ci dst varchar(80) latin1_swedish_ci dcontext varchar(80) latin1_swedish_ci channel varchar(80) latin1_swedish_ci dstchannel varchar(80) latin1_swedish_ci lastapp varchar(80) latin1_swedish_ci lastdata varchar(80) latin1_swedish_ci duration int(11) 0 billsec int(11) 0 disposition varchar(45) latin1_swedish_ci amaflags int(11) accountcode varchar(20) latin1_swedish_ci uniqueid varchar(32) latin1_swedish_ci userfield varchar(255) latin1_swedish_ci

  • 38

    3.6.3 (cdrcountry) 3.2 3.2

    CID varchar(3) latin1_swedish_ci CNameThi varchar(100) utf8_general_ci CNameEng varchar(100) utf8_general_ci

    3.6.4 (cdrprice)

    3.3 2 3.3

    PID int(4) CID varchar(3) latin1_swedish_ci Pprice decimal(9,2) 0.00 PType varchar(2) latin1_swedish_ci HB Pactive varchar(1) latin1_swedish_ci Y Pstart datetime Pend datetime NULL

  • 39

    3.6.5 (vwcdr) 3.4 (//) (//) 3.4

    calldate datetime dstdate datetime NULL src varchar(80) latin1_swedish_ci dst varchar(80) latin1_swedish_ci CountryName varchar(100) utf8_general_ci NULL dstCallType varchar(6) utf8_general_ci dstchannel int(1) 0 dstStatus varchar(13) utf8_general_ci NULL dstStatusCall int(1) NULL disposition varchar(45) latin1_swedish_ci billsec int(11) 0 TotalCall varbinary(25) NULL

  • 40

    4

    4.1

    PABX 2 22

    2 VOIP 2 ( PABX)

    4.2 2 2 4.2.1

    - CPU Intel Pentium 4 3.00 GHz, RAM 512 Mb - CentOS - MySQL - PHPMyadmin

    4.2.2 cardAX100P

  • 41

    4.3 web browser connect PC 2 Elastix

    https://192.168.4.3/phpmyadmin login screen User : root , Password : xxxx

    4.1 Login

    asteriskcdrdb

    4.2 asteriskcdrdb

  • 42

    cdr ()

    4.3 cdr ()

    cdrcountry ()

    4.4 cdrcountry ()

  • 43

    cdrprice ()

    4.5 cdrprice () vwcdr ()

    4.6 vwcdr ()

  • 44

    4.4 - Report - Web Browser - Server

    3CXPhone 2 2 3CXPhone

    4.7 2 3CXPhone

    2 3CXPhone 2 3CXPhone

    4.8 2 3CXPhone

  • 45

    4.5

    2 2 2 2 (Services Provider) 2

    2 "" -> "

    " 2 2

    4.9 2

    "" -> "" 800

  • 46

    4.10

    4.6 4.6.1 4

    4.11 3CXPhone

  • 47

    4.12 4930794810

    4.12

    4.6.2 2 6

    4.13 3CXPhone

    4.14 0837978953

  • 48

    4.14

    4.6.3 Extension 3

    4.15 3CXPhone Extension

    4.16 802

    4.16 Extension

  • 49

    4.7 CSV,Excel,PDF Export To SCV, Export To Excel, Export To PDF

    4.17 CSV, Excel, PDF

    4.7.1 CSV 4.18 CSV

    4.18 CSV

  • 50

    4.7.2 Excel 4.19 Excel

    4.19 Excel

    4.7.3 PDF 4.20 PDF

    4.20 PDF

  • 51

    4.8 Web Browser

    2

    "" -> " " "" -> " "

    4.21 Web Browser

    4.9 Server 2 PHP Sysinfo Elastix

    Server "" -> ""

    4.22 PHP Sysinfo

  • 52

    4.9.1 Extension Memory Free 214.54 MB

    4.23 Memory Extension

    Extension

    4.24 Extension

    4.9.2 Extension 1 Memory Free 211.77 MB

    4.25 Memory Extension 1

  • 53

    Extension 1

    4.26 Extension 1

    4.9.3 Extension 2 Memory Free 210.56 MB

    4.27 Memory Extension 2

  • 54

    Extension 2

    4.28 Extension 2

    4.9.4 Extension 3 Memory Free 206.56 MB

    4.29 Memory Extension 3

  • 55

    Extension 3

    4.30 Extension 3

    4.9.5 Extension 4 Memory Free 204.57 MB

    4.31 Memory Extension 4

  • 56

    Extension 4

    4.32 Extension 4

    4.9.6 Server Physical Memory 2 Extension Server Elastix 2 Extension 1 Extension 4 4.33

    4.33 Server Software Elastix

    2 Hardware

    502.94

    214.54 211.77 210.56 206.56 204.57

    Server

  • 57

    5

    5.1

    2 PHP 2

    PHP 2 2 3 2 2 2 5.2 VoIP

    - 2 VoIP

    -

    - 2 2

    - 22

    - 2 VoIP Asterisk 2

  • 58

    Software Open Source

    5.3

    5.3.1 - VoIP

    - Elastix 2

    5.3.2

    2 22 PABX VoIP

  • 59

    [1] Eastern network and service co.,ltd. Telephone & PABX

    PRODUCT.[Online]http://www.ensthai.com/product_pabx.php

    [2] . ?? VoIP P

    IP-PBX Asterisk, 2551

    [3] . P

    IP-PBX Asterisk, 2551

    [4] . VoIP P

    IP-PBX Asterisk P IP-PBX

    Asterisk, 2551

    [5] . CODEC P

    IP-PBX Asterisk, 2551

    [6] . Asterisk P IP-

    PBX Asterisk, 2551

    [7] J. Rosenberg, H. Schulzrinne, G. Camarillo, A. Johnston, J. Peterson, R.Sparks, M

    Handley, E. Schooler SIP Messages, 2545

  • 60

  • 61

    Elastix 2.0

    1. BIOS CD CD

    & .1 . Elastix

    2. English Enter

    & .2 .

  • 62

    3. "us"

    & .3

    4. . "Remove all partitions on selected..." . Tab "OK" Enter

    & .4 .

  • 63

    5. Tab "Yes" Enter

    & .5

    6. Tab "No" Enter

    & .6

  • 64

    7. Ethernet IP Subnet Gateway DNS "Yes" Enter

    & .7 Ethernet 0

    8. Ethernet 0 IPv4 Tab "Ok" Enter

    & .8 Ethernet

  • 65

    9. IP Address IP Static IP Subnet Mask Enter

    & .9 IP Address

    10. Default gateway DNS Server

    & .10 Default gateway DNS Server

  • 66

    11. . elastix.medline.com

    & .11 . elastix.medline.com

    12. Time zone

    & .12 Time zone

  • 67

    13. . Password Root CentOS

    & .13 . Password Root

    14.

    & .14

  • 68

    15. .

    & .15 .Elastix

    16. . Password MySQL Server ( root)

    & .16 . Password MySQL Server

  • 69

    17. Password MySQL Server

    & .17 Password MySQL Server

    18. . Password Web Interface Elastix

    & .18 . Password Web Interface Elastix

  • 70

    19. Password Web Interface Elastix

    & .19 Password Web Interface Elastix

    20. root

    & .20 root

  • 71

  • 72

    Elastix 1. Login Elastix

    web browser connect PC Elastix https://192.168.4.3/ login screen

    ) .1 Login Elastix

    Elastix

    ) .2 Elastix

    System -> Hardware Detection Detect New Hardware scan card detect X1000P FXO ()

  • 73

    ) .3 Detect New Hardware X1000P Card

    Network Parameters

    ) .4 Network Parameters

    2. ) PBX -> PBX Configuration -> Extensions

    dropdown device SIP Device IP phone, softphone ZAP Device SIP Device Submit

  • 74

    ) .5 )

    Add ZAP Extension - User Extension = 804 - Display Name = M-804

    ) .6 )

    - secret = 804

    ) .7 ) - Submit

  • 75

    ) .8 )

    "Apply Configuration Changes Here"

    ) .9 ) 3. Trunk SIP Trunk Elastix VoIP (Voip -> PSTN, VoIP -> GSM) Elastix Elastix SIP protocol

    3.1 ) SIP Trunk PBX -> PBX Configuration -> Trunks ->Add SIP Trunk

  • 76

    ) .10 SIP Trunk TOTnetcall Add SIP Trunk

    - Trunk Description = TOTnetcall - Outbound Caller ID = 0681097902 ( tot)

    ) .11 SIP Trunk

    Outgoing Settings Register VoIP providers tot netcall

    - Trunk Name TOTnetcall - PEER Details

    - username=USERID - type=friend

  • 77

    - fromuser=0600046522 - realm=10.10.2.50 - secret=itmfu36122 - host=203.113.125.82 - outboundproxy=203.113.125.82 - fromdomain=203.113.125.82 - insecure=very - canreinvite=no - dtmfmode=rfc2833 - call-limit=1 - allow=g729&alaw&ulaw - nat=no

    - Register String = 600046522:[email protected]:5060/0600046522

    ) .12 SIP Trunk

  • 78

    TOT_Foreign Add SIP Trunk

    - Trunk Description = TOT_Foreign - Outbound Caller ID = 0681097902 ( tot) - Dial Ruless = 88+Z. ( TOTnatcall

    88)

    ) .13 SIP Trunk

    Outgoing Settings Register VoIP providers tot netcall

    - Trunk Name TOT_netcall - PEER Details

    o username=0600046522 o type=friend o fromuser=0600046522 o realm=10.10.2.20 o secret=itmfu36122 o host=203.113.125.82 o outboundproxy=203.113.125.82 o fromdomain=203.113.125.82 o insecure=very

  • 79

    o canreinvite=no o dtmfmode=rfc2833 o call-limit=1 o allow=g729&alaw&ulaw o nat=no

    - Register String = 0600046522:[email protected]:5060/0600046522

    ) .14 SIP Trunk OUT_TO_PBX (Estatix) Add ZAP Trunk

    - Trunk Description = OUT_TO_PBX

  • 80

    - Zap Identifier (trunk name) = g0

    ) .15 SIP Trunk

    "Apply Configuration Changes Here"

    ) .16 SIP Trunk

  • 81

    4. Outbound Routes Outbound Routes Name OUT_TO_PBX

    5 (PABX) PBX -> PBX Configuration -> Outbound Routes -> Add Route

    - Route Name = OUT_TO_PBX - Dial Patterns = 5 |. - Trunk Sequence = ZAP/g0 - Submit Changes

    ) .17 Outbound Routes

    Outbound Routes Name OUT_TO_TOTnetcall 6 PBX -> PBX Configuration -> Outbound Routes -> Add Route

    - Route Name = OUT_TO_TOTnetcall - Dial Patterns = 6| .

  • 82

    - Trunk Sequence = SIP/TOTnetcall - Submit Changes -

    ) .18 Outbound Routes

    Outbound Routes Name OUT_TO_Foreign 4 PBX -> PBX Configuration -> Outbound Routes -> Add Route

    - Route Name = OUT_TO_Foreign - Dial Patterns = 4 | . - Trunk Sequence = SIP/TOT_netcall

    Submit Changes

  • 83

    ) .19 Outbound Routes

    5. IVR PBX -> PBX Configuration -> IVR -> Add IVR

    ) .20 IVR

    - Change Name = TO Elastix Medline

  • 84

    - Save

    ) .21 IVR

    "Apply Configuration Changes Here"

    ) .22 IVR 6. Inbound Routes PBX -> PBX Configuration -> Inbound Routes -> Add Incoming Route

    - Description: =

  • 85

    ) .23 Inbound Routes

    - IVR = TO Elastix Medline

    ) .24 Inbound Routes

    "Apply Configuration Changes Here"

    ) .25 Inbound Routes

  • 86

    7. 3CX Phone 7.1 3CXPhone ( ))

    - Set accounts - New

    ) .26 3CXPhone ( )

    - Account name : Tum - Caller ID : chaiwat - Extension : 800 - ID = 800 - Password = 800 - I am in the office local IP = 192.168.4.3 - On Hook

  • 87

    ) .27 3CX Phone ( )

    7.2 3CX Phone ( ) - Icon - Create Profile

    ) .28 3CX Phone ( )

  • 88

    - Add New - Name = M-TumMobile - Display name = M-TumMobile - User = 806 - ID = 806 - Password 806

    ) .29 3CX Phone ( )

    - Internal Server = 192.168.4.3 - On Hook

  • 89

    ) .30 3CX Phone ( )