VoIP: (03.02) Chặn cuộc gọi từ Call Manager gửi tới VoiceGateway bằng tính năng Class of Restriction

By , 0 View

Mục tiêu thực hành:
- Cấu hình định tuyến cuộc gọi Dial-Peer trên Call Manager.
- Cấu hình tính năng Class Of Restriction trên VoiceGateway.

Các bước triển khai:
Cấu hình định tuyến cuộc gọi Dial-Peer trên Call Manager.
- Cấu hình cho phép tất cả các Internal Phone thực hiện cuộc gọi ra ngoài thông qua VoiceGateway.
voice class codec 2
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 exit

dial-peer voice 1 voip
 destination-pattern .T
 session protocol sipv2
 session target ipv4:10.10.10.254
 session transport udp
 voice-class codec 2  
 exit

Cấu hình tính năng Class Of Restriction trên VoiceGateway.
- Cấu hình tính năng COR trên VoiceGateway cấm Phone 9803 thực hiện cuộc gọi ra ngoài, các IP Phone còn lại (Phone 9801 vs 9802) vẫn thực hiện cuộc gọi ra ngoài bình thường.
dial-peer cor custom
 name Customer01
 name Customer02
 exit
dial-peer cor list CorlistCustomer01
 member Customer01
 exit
dial-peer cor list CorlistCustomer02
 member Customer02
 exit

voice class codec 2
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 exit

dial-peer voice 1 voip
 corlist outgoing CorlistCustomer01
 destination-pattern .T
 session protocol sipv2
 session target ipv4:10.20.20.1
 session transport udp
 voice-class codec 2  
 exit

dial-peer voice 9803 voip
 answer-address 9803
 session protocol sipv2
 session target ipv4:10.10.10.1
 voice-class codec 2
 cor incoming CorlistCustomer02
 exit

Tham khảo các Videos lý thuyết CCNA Voice (Collaboration) trước khi tham khảo các bài hướng dẫn thực hành VoIP. Mọi thắc mắc, các bạn vui lòng liên lạc với mình thông qua kênh Zalo (Jade Bùi) 076.877.2021.

You Might Also Like

0 comments