Mục tiêu thực hành:
- Định nghĩa Corlist và nhúng vào các SIP Phone Group.
- Hiệu chỉnh Caller ID đối với cuộc gọi ra tương ứng với các SIP Phone Group.
- Cấu hình tiếp nhận cuộc gọi đối với các SIP Phone Group.
Các bước triển khai:
Định nghĩa Corlist và nhúng vào các SIP Phone Group.
dial-peer cor customname Customer01name Customer02exitdial-peer cor list CorlistCustomer01member Customer01exitdial-peer cor list CorlistCustomer02member Customer02exitvoice class codec 2codec preference 1 g711ulawcodec preference 2 g711alawexitvoice register dn 1number 9901exitvoice register pool 1id mac 0800.aaaa.9901number 1 dn 1username 9901 password 9901dtmf-relay rtp-ntesession-transport udpvoice-class codec 2cor incoming CorlistCustomer01 defaultcor outgoing CorlistCustomer01 defaultexitvoice register dn 2number 9902exitvoice register pool 2id mac 0800.aaaa.9902number 1 dn 2username 9902 password 9902dtmf-relay rtp-ntesession-transport udpvoice-class codec 2cor incoming CorlistCustomer01 defaultcor outgoing CorlistCustomer01 defaultexitvoice register dn 11number 9801exitvoice register pool 11id mac 0800.aaaa.9801number 1 dn 11username 9801 password 9801dtmf-relay rtp-ntesession-transport udpvoice-class codec 2cor incoming CorlistCustomer02 defaultcor outgoing CorlistCustomer02 defaultexitvoice register dn 12number 9802exitvoice register pool 12id mac 0800.aaaa.9802number 1 dn 12username 9802 password 9802dtmf-relay rtp-ntesession-transport udpvoice-class codec 2cor incoming CorlistCustomer02 defaultcor outgoing CorlistCustomer02 defaultexitvoice service voipip address trusted listipv4 192.168.0.0 255.255.0.0ipv4 172.16.0.0 255.240.0.0ipv4 10.0.0.0 255.0.0.0exitexit
Hiệu chỉnh Caller ID đối với cuộc gọi ra tương ứng với các SIP Phone Group.
voice translation-rule 2rule 1 /9901/ /02838120120/rule 2 /9902/ /02838120120/exitvoice translation-rule 3rule 1 /9801/ /02838120130/rule 2 /9802/ /02838120130/exitvoice translation-profile SipTrunk_OutgoingCustomer01translate calling 2exitvoice translation-profile SipTrunk_OutgoingCustomer02translate calling 3exitdial-peer voice 1 voipdestination-pattern .Tsession protocol sipv2session target ipv4:10.10.10.187voice-class codec 2translation-profile outgoing SipTrunk_OutgoingCustomer01corlist outgoing CorlistCustomer01exitdial-peer voice 2 voipdestination-pattern .Tsession protocol sipv2session target ipv4:10.10.10.187voice-class codec 2translation-profile outgoing SipTrunk_OutgoingCustomer01corlist outgoing CorlistCustomer02exit
Cấu hình tiếp nhận cuộc gọi đối với các SIP Phone Group.
voice hunt-group 2 sequentialpilot 9900list 9901, 9902timeout 10exitvoice hunt-group 3 sequentialpilot 9800list 9801, 9802timeout 10exitvoice translation-rule 12rule 1 /02838120120/ /9900/exitvoice translation-rule 13rule 1 /02838120130/ /9800/exitvoice translation-profile SipTrunk_IncomingCustomer01translate called 12exitvoice translation-profile SipTrunk_IncomingCustomer02translate called 13exitdial-peer voice 11 voipdestination-pattern .Tsession protocol sipv2incoming called-number 02838120120voice-class codec 2translation-profile incoming SipTrunk_IncomingCustomer01corlist incoming CorlistCustomer01exitdial-peer voice 12 voipdestination-pattern .Tsession protocol sipv2incoming called-number 02838120130voice-class codec 2translation-profile outgoing SipTrunk_IncomingCustomer02corlist incoming CorlistCustomer02exit
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