VoIP: (02.09) Cấu hình Translation-Profile Outgoing hiệu chỉnh Called Number khi thiết lập PSTN Access Code trên VoiceGateway

By , 0 View

Mục tiêu thực hành:
- Định nghĩa Destination-Pattern sử dụng mã PSTN Access Code trên VoiceGateway.
- Thiết lập Translation-Profile Outgoing ngắt mã PSTN Access Code của Called Number trước khi đẩy cuộc gọi đi. 

Các bước triển khai:
Định nghĩa Destination-Pattern sử dụng mã PSTN Access Code trên VoiceGateway.
- Trước khi gọi ra ngoài thì End User phải nhấn mã 77 rồi sau đó nhấn số cần gọi.
voice class codec 2
 codec preference 1 g711ulaw
 codec preference 2 g711alaw
 exit

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

Thiết lập Translation-Profile Outgoing ngắt mã PSTN Access Code của Called Number trước khi đẩy cuộc gọi đi. 
- Định nghĩa Translation-Rule.
voice translation-rule 1
 rule 1 /98.*/ /02838120130/
 rule 2 /99.*/ /02838120120/
 exit

voice translation-rule 2
 rule 1 /^77/ //
 exit

- Định nghĩa Translation-Rule.
voice translation-profile SipTrunk_Outgoing
 translate calling 1
 translate called 2
 exit

- Định nghĩa Dial-Peer.
dial-peer voice 1 voip
 translation-profile outgoing SipTrunk_Outoging
 destination-pattern 77.T
 session protocol sipv2
 session target ipv4:10.20.20.1
 voice-class codec 2
 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