SlideShare uma empresa Scribd logo
1 de 3
Thực hiện VoIP với chức năng PLAR
Hình 1: Sơ đồ đấu nối
Mô tả
Chức năng Plar cho phép người dùng không cần quay số, khi vừa nhấc máy thì một số
điện thoại được gán trước sẽ tự động được quay.
Thực hiện
R1#sh run
Building configuration...
Current configuration:
!
version 12.0
no service password-encryption
!
hostname R1
memory-size iomem 10
ip subnet-zero
!
voice-port 1/1/0
connection plar 201 //Số điện thoại đích cần quay
!
voice-port 1/1/1
!
dial-peer voice 1 pots
destination-pattern 101
port 1/1/0
!
dial-peer voice 2 voip
destination-pattern 201
session target ipv4:192.168.1.2
!
interface Serial0/0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast
!
ip classless
line con 0
transport input none
line aux 0
line vty 0 4
privilege level 15
no login
end
!
R1#
R3#sh run
Building configuration...
Current configuration : 932 byte
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname R2
!
logging queue-limit 100
!
ip subnet-zero
!
mpls ldp logging neighbor-changes
!
no voice hpi capture buffer
no voice hpi capture destination
!
mta receive maximum-recipients 0
!
interface Serial0/0
ip address 192.168.1.2 255.255.255.0
clockrate 2000000
!
ip classless
voice-port 1/0/0
!
voice-port 1/0/1
mgcp profile default
dial-peer cor custom
!
dial-peer voice 1 pots
destination-pattern 201
port 1/0/0
!
dial-peer voice 2 voip
destination-pattern 101
session target ipv4:192.168.1.1
!
line con 0
line aux 0
line vty 0 4
privilege level 15
no login
!
end
R2#

Mais conteúdo relacionado

Destaque (16)

کیسه هوایی
کیسه هواییکیسه هوایی
کیسه هوایی
 
Especial dia dos pais 23.07
Especial dia dos pais 23.07Especial dia dos pais 23.07
Especial dia dos pais 23.07
 
Gateway local
Gateway localGateway local
Gateway local
 
Cấu trúc mở rộng của internet
Cấu trúc mở rộng của internetCấu trúc mở rộng của internet
Cấu trúc mở rộng của internet
 
Rtp
RtpRtp
Rtp
 
Kohtaamisia sotemaailman kyläraiteilla
Kohtaamisia sotemaailman kyläraiteillaKohtaamisia sotemaailman kyläraiteilla
Kohtaamisia sotemaailman kyläraiteilla
 
VPN
VPNVPN
VPN
 
Copacobana en brazil
Copacobana en brazilCopacobana en brazil
Copacobana en brazil
 
Suhu dan Pengukuran
Suhu dan PengukuranSuhu dan Pengukuran
Suhu dan Pengukuran
 
Quotes Tempo-Team Business Consultancy
Quotes Tempo-Team Business ConsultancyQuotes Tempo-Team Business Consultancy
Quotes Tempo-Team Business Consultancy
 
ΜΙΚΡΟΛΙΜΑΝΟ
ΜΙΚΡΟΛΙΜΑΝΟΜΙΚΡΟΛΙΜΑΝΟ
ΜΙΚΡΟΛΙΜΑΝΟ
 
LATTC Diploma
LATTC DiplomaLATTC Diploma
LATTC Diploma
 
Markus anbefaling (1)
Markus anbefaling (1)Markus anbefaling (1)
Markus anbefaling (1)
 
cong song day 0988709729
cong song day 0988709729cong song day 0988709729
cong song day 0988709729
 
Infográficos
InfográficosInfográficos
Infográficos
 
Partiu rio de janeiro 14.05
Partiu rio de janeiro 14.05Partiu rio de janeiro 14.05
Partiu rio de janeiro 14.05
 

Mais de VNG (20)

Adsl lab
Adsl labAdsl lab
Adsl lab
 
Configuring i pv6
Configuring i pv6Configuring i pv6
Configuring i pv6
 
Ipv6 trien khai
Ipv6 trien khaiIpv6 trien khai
Ipv6 trien khai
 
Ipv6
Ipv6Ipv6
Ipv6
 
Cong nghe frame relay - chuong 4
Cong nghe frame relay - chuong 4Cong nghe frame relay - chuong 4
Cong nghe frame relay - chuong 4
 
Cong nghe frame relay - chuong 3
Cong nghe frame relay - chuong 3Cong nghe frame relay - chuong 3
Cong nghe frame relay - chuong 3
 
Cong nghe frame relay - chuong 2
Cong nghe frame relay - chuong 2Cong nghe frame relay - chuong 2
Cong nghe frame relay - chuong 2
 
Tổng quan về vpn
Tổng quan về vpnTổng quan về vpn
Tổng quan về vpn
 
Thiết lập i pv6 trên pc
Thiết lập i pv6 trên pcThiết lập i pv6 trên pc
Thiết lập i pv6 trên pc
 
Hoạt động chuyển giao i pv6 trên toàn cầu
Hoạt động chuyển giao i pv6 trên toàn cầuHoạt động chuyển giao i pv6 trên toàn cầu
Hoạt động chuyển giao i pv6 trên toàn cầu
 
Chuyen mach trong wan2
Chuyen mach trong wan2Chuyen mach trong wan2
Chuyen mach trong wan2
 
Cấu hình osp fv3 cơ bản
Cấu hình osp fv3 cơ bảnCấu hình osp fv3 cơ bản
Cấu hình osp fv3 cơ bản
 
QOs
QOsQOs
QOs
 
Chapter4
Chapter4Chapter4
Chapter4
 
Chapter3(CAC BIEN PHAP BAO DAM CHAT LUONG DICH VU
Chapter3(CAC BIEN PHAP BAO DAM CHAT LUONG DICH VUChapter3(CAC BIEN PHAP BAO DAM CHAT LUONG DICH VU
Chapter3(CAC BIEN PHAP BAO DAM CHAT LUONG DICH VU
 
Chapter2
Chapter2Chapter2
Chapter2
 
Chapter1(TONG QUAN VE VOIP)
Chapter1(TONG QUAN VE VOIP)Chapter1(TONG QUAN VE VOIP)
Chapter1(TONG QUAN VE VOIP)
 
Mega wan
Mega wanMega wan
Mega wan
 
Ccip tổng quan mpls
Ccip tổng quan mplsCcip tổng quan mpls
Ccip tổng quan mpls
 
Chinh registry de vao win nhanh hon
Chinh registry de vao win nhanh honChinh registry de vao win nhanh hon
Chinh registry de vao win nhanh hon
 

Thực hiện vo ip với chức năng plar

  • 1. Thực hiện VoIP với chức năng PLAR Hình 1: Sơ đồ đấu nối Mô tả Chức năng Plar cho phép người dùng không cần quay số, khi vừa nhấc máy thì một số điện thoại được gán trước sẽ tự động được quay. Thực hiện R1#sh run Building configuration... Current configuration: ! version 12.0 no service password-encryption ! hostname R1 memory-size iomem 10 ip subnet-zero ! voice-port 1/1/0 connection plar 201 //Số điện thoại đích cần quay ! voice-port 1/1/1 ! dial-peer voice 1 pots destination-pattern 101 port 1/1/0 ! dial-peer voice 2 voip destination-pattern 201 session target ipv4:192.168.1.2
  • 2. ! interface Serial0/0 ip address 192.168.1.1 255.255.255.0 no ip directed-broadcast ! ip classless line con 0 transport input none line aux 0 line vty 0 4 privilege level 15 no login end ! R1#
  • 3. R3#sh run Building configuration... Current configuration : 932 byte ! version 12.2 service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname R2 ! logging queue-limit 100 ! ip subnet-zero ! mpls ldp logging neighbor-changes ! no voice hpi capture buffer no voice hpi capture destination ! mta receive maximum-recipients 0 ! interface Serial0/0 ip address 192.168.1.2 255.255.255.0 clockrate 2000000 ! ip classless voice-port 1/0/0 ! voice-port 1/0/1 mgcp profile default dial-peer cor custom ! dial-peer voice 1 pots destination-pattern 201 port 1/0/0 ! dial-peer voice 2 voip destination-pattern 101 session target ipv4:192.168.1.1 ! line con 0 line aux 0 line vty 0 4 privilege level 15 no login ! end R2#