Mục tiêu thực hành:
- Kích hoạt chức năng SIP Registrar Server trên CME.
- Cấu hình tính năng Trusted List trên CME.
- Kích hoạt chức năng SIP Server trên CME.
- Khai báo Extension và SIP Account trên CME.
- Kiểm tra danh sách các SIP Phone đã register thành công tới CME.
Các bước triển khai:
Kích hoạt chức năng SIP Registrar Server trên CME.
voice service voipallow-connections sip to sipsipregistrar server expires max 600 min 60no shutdownexit
Cấu hình tính năng Trusted List trên CME.
- Tính năng Trusted List cho phép các SIP Phone thực hiện cuộc gọi đi.
voice service voipip address trusted listipv4 172.16.1.0 255.255.255.0exitexit
Kích hoạt chức năng SIP Server trên CME.
voice register globalmode cmesource-address 172.16.1.1 port 5060max-dn 144max-pool 24authenticate registerauthenticate realm 172.16.1.1file textexit
Khai báo Extension và SIP Account trên CME.
voice register dn 1number 101exitvoice register pool 1id mac 5488.dece.addbnumber 1 dn 1username 101 password 101codec g711ulawdtmf-relay rtp-ntesession-transport udpapply-configrestartexitvoice register globalcreate profileexit
voice register dn 2number 102exitvoice register pool 2id mac 5488.dece.addcnumber 1 dn 2username 102 password 102codec g711ulawdtmf-relay rtp-ntesession-transport udpapply-configrestartexitvoice register globalcreate profileexit
Kiểm tra danh sách các SIP Phone đã register thành công tới CME.
Router#show voice register pool allPool Tag 1Config:Mac address is 5488.DECE.ADDBNumber list 1 : DN 1Proxy Ip address is 0.0.0.0Previous Phone load version is 3CXPhone for Windows 12.0.37098.0Current Phone load version is X-Lite release 1006e stamp 34025DTMF Relay is enabled, rtp-nteCall Waiting is enabledDnD is disabledVideo is disabledCamera is disabledBusy trigger per button value is 0keep-conference is enabledregistration expires timer max is 600 and min is 60username 101 password 101Lpcor Type is noneTransport type is udpservice-control mechanism is not supportedregistration Call ID is NTYyZmY1M2ViYmFiZWM4OGUwMDNmZDI2NTU4OTZiNzU.Registration method: per linePrivacy feature is not configured.Privacy button is disabledactive primary line is: 101contact IP address: 172.16.1.2 port 34686conference admin: noconference add mode: allconference drop mode: neverpaging-dn: config 0 [multicast] effective 0 [multicast]Dialpeers created:Dial-peers for Pool 1:dial-peer voice 40002 voipdestination-pattern 101$session target ipv4:172.16.1.2:34686session protocol sipv2dtmf-relay rtp-ntecodec g711ulaw bytes 160after-hours-exempt FALSEStatistics:Active registrations : 1Total SIP phones registered: 1Total Registration StatisticsRegistration requests : 9Registration success : 9Registration failed : 0unRegister requests : 8unRegister success : 8unRegister failed : 0Attempts to registerafter last unregister : 0Last register request time : *04:30:55.737 UTC Mon Mar 22 2021Last unregister request time : *11:51:55.701 UTC Sun Mar 21 2021Register success time : *04:30:55.737 UTC Mon Mar 22 2021Unregister success time : *11:51:55.701 UTC Sun Mar 21 2021Pool Tag 2Config:Mac address is 5488.DECE.ADDCNumber list 1 : DN 2Proxy Ip address is 0.0.0.0Current Phone load version is X-Lite release 1006e stamp 34025DTMF Relay is enabled, rtp-nteCall Waiting is enabledDnD is disabledVideo is disabledCamera is disabledBusy trigger per button value is 0keep-conference is enabledregistration expires timer max is 600 and min is 60username 102 password 102Lpcor Type is noneTransport type is udpservice-control mechanism is not supportedregistration Call ID is OTY2NWI4ZGZkOTI0OWE0ZDBmMmI2NzY3NWJmNjIyM2M.Registration method: per linePrivacy feature is not configured.Privacy button is disabledactive primary line is: 102contact IP address: 172.16.1.2 port 20132conference admin: noconference add mode: allconference drop mode: neverReason for unregistered state:No registration request since last reboot/unregisterpaging-dn: config 0 [multicast] effective 0 [multicast]Dialpeers created:Dial-peers for Pool 2:Statistics:Active registrations : 0Total SIP phones registered: 1Total Registration StatisticsRegistration requests : 2Registration success : 2Registration failed : 0unRegister requests : 2unRegister success : 2unRegister failed : 0Attempts to registerafter last unregister : 0Last register request time : *04:31:27.066 UTC Mon Mar 22 2021Last unregister request time : *04:31:46.904 UTC Mon Mar 22 2021Register success time : *04:31:27.066 UTC Mon Mar 22 2021Unregister success time : *04:31:46.904 UTC Mon Mar 22 2021Router#
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