50%

🚀

6

! IP- Cisco CME Call Manager Express, Cisco Unified Communications Manager Express CUCME. , SCCP SIP.

Merion Academy


Asterisk

, , , . IP- Cisco :

  1. Ethernet PoE (Power over Ethernet 802.3af), ;
  2. VLANe, CDP (Cisco Discovery Protocol);
  3. DHCP VLAN, DHCP IP , DHCP Option 150, TFTP ;
  4. TFTP . CME, , . , XMLDefault.cnf.xml;
  5. IP , ( CME);

.


voice VLAN

VLAN , IP .

switch#conf t     
switch(config)#interface fa0/1      
switch(config-if)#switchport mode access      access 
switch(config-if)#switchport voice vlan 100    VLAN   id 100
switch(config-if)#switchport access vlan 200   VLAN   id 200
switch(config-if)#spanning-tree portfast    STP

DHCP

Cisco DHCP VLAN. Option 150 TFTP , .

router#ip dhcp pool VOICE   DHCP 
router(dhcp-config)#network 192.168.1.0 255.255.255.0    
router(dhcp-config)#default-router 192.168.1.1  default gateway
router(dhcp-config)#option 150 192.168.1.1   TFTP 
router(dhcp-config)#dns-server 4.2.2.2   DNS 

NTP

c NTP, .

router#conf t
router(config)#ntp server 64.209.210.20    NTP 
router(config)#clock timezone MSK 3     

TFTP

Cisco TFTP , TFTP , flash-.

TFTP , flash-.

phone/7940-7960/

router#conf t
router(config)#tftp-server flash:/phone/7940-7960/P00308000500.bin alias P00308000500.bin
router(config)#tftp-server flash:/phone/7940-7960/P00308000500.loads alias P00308000500.loads
router(config)#tftp-server flash:/phone/7940-7960/P00308000500.sb2 alias P00308000500.sb2
router(config)#tftp-server flash:/phone/7940-7960/P00308000500.sbn alias P00308000500.sbn

tftp-server alias , , , .


CME

IP Source Address, Max-DN (Directory Number) Max-Ephones SCCP.

router(config)#telephony-service    
router(config-telepony)#ip source-address 192.168.1.1  ,         
router(config-telepony)#max-ephones 24     
router(config-telepony)#max-dn 48     

max-ephones max-dn , CME. , , . , max-ephones .

. show ephone summary


Ephone Ephone-DN

, . Ephone MAC , Ephone-DN , .

Ephone-DN 101:

router#conf t
router(config)#ephone-dn 1   
router(config-ephone-dn)#number 101   
router(config-ephone-dn)#description Alexey Dobronravov    CME
router(config-ephone-dn)#name Alexey Dobronravov    

Ephone MAC-:

router#conf t
router(config)#ephone 1    
router(config-ephone)#mac-address 0014.1c48.acb1   MAC-
router(config-ephone)#button 1:1     

, . , . button [ ] : [ephone-dn] . , ephone-dn 1.

, CME. , . show ephone.


SIP

CME SIP. SIP :

router#conf t
router(config)#voice service voip
router(config-voice)#allow-connections sip to sip

( , 3600):

router#conf t
router(config)#voice service voip
router(config-voice)#registrar server expires max 3600 min 3600

, , :

router#conf t
router(config)#voice class codec 1 
router(config-voice)#codec preference 1 g711alaw  -   
router(config-voice)#codec preference 1 g711ulaw  -   
router(config-voice)#codec preference 1 g729br8 -   

DN:

router#conf t
router(config)#voice register dn 1   DN
router(config-voice-register-dn)#number 201   

:

router#conf t
router(config)#voice register pool 1
router(config-voice-register-pool)#id mac 0014.1c48.acb2   MAC 
router(config-voice-register-pool)#number 1 dn 1      
router(config-voice-register-pool)#voice-class codec 1      
router(config-voice-register-pool)#username admin password pass    

SIP - IP-, , 192.168.1.1 admin/password, .

SIP CME.


>