Mục tiêu thực hành:
- Cấu hình Dial-Peer trên CME2 tiến hành Route tất cả các cuộc gọi tới ITSP (CME1).
- Cấu hình Dial-Peer trên CME1 đóng vai trò ITSP.
Các bước triển khai:
Cấu hình Dial-Peer trên CME2 tiến hành Route tất cả các cuộc gọi tới ITSP (CME1).
voice service voipip address trusted listipv4 10.0.1.0 255.255.255.0exitexitvoice translation-rule 2rule 1 /201/ /02838120120/rule 2 /202/ /02838120130/exitvoice translation-profile SipTrunk_Outgoingtranslate calling 2exitvoice class codec 2codec preference 1 g711ulawcodec preference 2 g711alawexitdial-peer voice 1 voipdestination-pattern .Tsession protocol sipv2session target ipv4:10.0.1.1voice-class codec 2translation-profile outgoing SipTrunk_Outgoingexit
Cấu hình Dial-Peer trên CME1 đóng vai trò ITSP.
- Cấu hình Voice Class Codec trên CME1 (ITSP).
voice class codec 2codec preference 1 g711ulawcodec preference 2 g711alawexit
- ITSP là nhà cung cấp dịch vụ SIP Trunk chẳng hạn như Viettel, VNPT, FTP, CMC. Cấu hình Dial-Peer cấp chính xác 2 đầu số 02838120120 và 02838120130 trên CME1 (ITSP) cho khách hàng CME2.
dial-peer voice 1 voipdestination-pattern 02838120120session protocol sipv2session target ipv4:10.0.1.2codec g711ulawexitdial-peer voice 2 voipdestination-pattern 02838120130session protocol sipv2session target ipv4:10.0.1.2codec g711ulawexit
- Định nghĩa Translation-Rule và Translation-Profile tiếp nhận các cuộc gọi tới và chuyển hết cho IP Phone 101.
voice service voipip address trusted listno ipv4 10.0.1.2 255.255.255.255exitexitvoice translation-rule 1rule 1 /^.*/ /101/exitvoice translation-profile SipTrunk_Incomingtranslate called 1exit
- Thiết lập Dial-Peer chỉ tiếp nhận cuộc gọi từ đầu số 02838120120 và 02838120130.
dial-peer voice 3 voiptranslation-profile incoming SipTrunk_Incomingsession protocol sipv2answer-address 02838120120voice-class codec 2exitdial-peer voice 4 voiptranslation-profile incoming SipTrunk_Incomingsession protocol sipv2answer-address 02838120130voice-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