Tổng quan Voice over IP 20091 Tổng quan Voice over IP - Dial peers: Cơ chế quay số - Voice ports: Là cổng để kết nối tới mạng PSTN o FXO Foreign Exchange Office: kết nối tới các tổng đài
Trang 1Tổng quan Voice over IP 2009
1
Tổng quan Voice over IP
- Dial peers: Cơ chế quay số
- Voice ports: Là cổng để kết nối tới mạng PSTN
o FXO (Foreign Exchange Office): kết nối tới các tổng đài nội bộ
o FXS(Foreign Exchange Station): chỉ sử dụng cho điện thoại bàn analog
o E&M (Ear & Mouth): đường E1 hoặc T1
o RouterVoiceGateway(config)#Show voice port để ->xem cấu hình port
- H323, Media Gateway Control Protocol, Session Initiation Protocol (chuẩn mở-phần
mềm mã nguồn mở sẽ nhận chuẩn giao tiếp này): Định dạng chuẩn giao tiếp
- Thiết bị để xây dựng VoIP:
Trang 2Tổng quan Voice over IP 2009
2
o Server : đóng vai trò Call managerment (Tổng đài IP) nghĩa máy máy nhánh sẽ nhận thông tin từ server đó
o Voice Gateway: để chuyển đổi các cuộc gọi IP thành cuộc gọi trên PSTN
o Khác nhau giữa Gateway & Gatekeeper:
Gateway: thiết bị định tuyến để giao tiếp giữa các mạng có kiểu chuyển
mạch khác nhau
Gatekeeper: thiết bị định tuyến để giao tiếp giữa các mạng cùng kiểu
chuyển mạnh
- Cách cấu hình:
o Khai báo trên thi ết bị Cisco IP Phone 7490 series: Chọn biểu tượng menu
trên thiết bị
Contrast
Ring Type
Network Configuration
DHCP server BOOTP server Mac Address: 48 bit Hostname
Domain name
IP address: 172.25.2.201 Subnet mask : 24 bit TFTP server 1: 172.25.2.3 (CCM) Default Router 1: 172.25.2.1 Default Router 2, 3, 4,5 DNS server 1,2,3,4,5 Operation VLAN ID Call Manager 1: CCM Callmanager 2: 172.25.2.3 – TFTP: Active Callmanager 3, 4, 5
Information URL Directories URL Message URL Service URL DHCP Enable: NO DHCP Address Release: NO Erase Configuration
Forwarding Delay Idle URL
Authentication URL: http://CCM/CCMIP/authenticate.asp
Proxy server URL
Trang 3Tổng quan Voice over IP 2009
3
PC port Disable
SW port configuration: AUTO
PC Port Configuration Voice VLAN Enable: Yes
…………
…………
Model Information
Status
o Call manager: cài software lên một máy tính server,khai báo cho các máy nhánh,
khai báo cho voice gateway
Thường thì cấu hình trong Route Plan option và Device option, nếu dùng Softphone (free software) thì cấu hình thêm User option
Trang 4Tổng quan Voice over IP 2009
4
Trang 5Tổng quan Voice over IP 2009
5
Nếu muốn thêm máy nhánh Cisco IP phone 7940 series: Khai báo tất cả những thông tin bắt buộc (*)
Trang 6Tổng quan Voice over IP 2009
6
Trang 7Tổng quan Voice over IP 2009
7
Trang 8Tổng quan Voice over IP 2009
8
Xem l ại một số thông tin đã được cấu hình
Trang 9Tổng quan Voice over IP 2009
9
Trang 10Tổng quan Voice over IP 2009
10
Trang 11Tổng quan Voice over IP 2009
11
Trang 12Tổng quan Voice over IP 2009
12
Trang 13Tổng quan Voice over IP 2009
13
Trang 14Tổng quan Voice over IP 2009
14
Trang 15Tổng quan Voice over IP 2009
15
Trang 16Tổng quan Voice over IP 2009
16
o Router Voice gateway: khai báo voice port.(172.25.2.4 – ĐHQG)
VG#sh running-config Building configuration
Current configuration : 1850 bytes
! version 12.3 service timestamps debug datetime msec service timestamps log datetime msec service password-encryption
! hostname VG
! boot-start-marker boot-end-marker
!
! username administrator privilege 15 password 7 0828585C061608011C1E040727
Trang 17Tổng quan Voice over IP 2009
17
memory-size iomem 15
no network-clock-participate slot 1
no network-clock-participate wic 0
no aaa new-model
ip subnet-zero
ip cef
!
no ip domain lookup
no ftp-server write-enable
! voice class dualtone-detect-params 1 cadence-variation 25
! voice class custom-cptone test dualtone busy
frequency 480 620 cadence 500 500 dualtone disconnect frequency 435 cadence 600 400
!
ccm-manager redundant-host 172.25.2.3 ccm-manager mgcp
!
interface FastEthernet0/0
ip address 172.25.2.4 255.255.255.0
duplex auto speed auto
!
ip classless
ip route 0.0.0.0 0.0.0.0 FastEthernet0/0
!
ip http server
! control-plane
!
voice-port 1/0/0 ##### FXO supervisory custom-cptone test supervisory dualtone-detect-params 1 timeouts call-disconnect 1
timeouts ringing 5
Trang 18Tổng quan Voice over IP 2009
18
timeouts wait-release 1
timing guard-out 300
!
voice-port 1/0/1 ##### FXO supervisory custom-cptone test supervisory dualtone-detect-params 1 timeouts call-disconnect 1
timeouts ringing 5 timeouts wait-release 1 timing guard-out 300
! voice-port 1/1/0 ##### FXS
! voice-port 1/1/1 ##### FXS
! mgcp mgcp call-agent 172.25.2.3 2427 service-type mgcp version 0.1 mgcp dtmf-relay voip codec all mode out-of-band
mgcp package-capability rtp-package
! mgcp profile default
! dial-peer voice 1 pots application mgcpapp port 1/0/0
! dial-peer voice 2 pots application mgcpapp port 1/1/0
! dial-peer voice 3 pots application mgcpapp port 1/0/1
! dial-peer voice 4 pots application mgcpapp port 1/1/1
!
gateway timer receive-rtp 1200
!
Trang 19Tổng quan Voice over IP 2009
19
! gatekeeper shutdown
!
! line con 0 line aux 0 line vty 0 4 login local
!
! end
o