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 2codec preference 1 g711ulawcodec preference 2 g711alawexitdial-peer voice 1 voipdestination-pattern 77.Tsession protocol sipv2session target ipv4:10.20.20.1voice-class codec 2exit
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 1rule 1 /98.*/ /02838120130/rule 2 /99.*/ /02838120120/exitvoice translation-rule 2rule 1 /^77/ //exit
- Định nghĩa Translation-Rule.
voice translation-profile SipTrunk_Outgoingtranslate calling 1translate called 2exit
- Định nghĩa Dial-Peer.
dial-peer voice 1 voiptranslation-profile outgoing SipTrunk_Outogingdestination-pattern 77.Tsession protocol sipv2session target ipv4:10.20.20.1voice-class codec 2exit
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.
0 comments