Suppose your phone network consists of IP phones and analogue phones, you want the phones to inter-call to one another, Cisco Voice Gateway is a simple solution to make this possible.
VG204 has two FE ports and 4 FXS ports, the FXS ports are for connecting analogue telephones, whereas the FE ports are connected to the ethernet which connects back to the Cisco Unified Communication Manager.
enable configure terminal !dial peer voice tag is an arbitrary number from 1-2147483647 dial-peer voice 10 pots service stcapp !This is the port which the analogue phone is connected. port 0/0 exit !group is an arbitrary number from 1-65535 stcapp ccm-group 1 stcapp exit stcapp feature access-code stcapp feature speed-dial !FE0/0 is the port that connects to the CUCM ccm-manager sccp local FastEthernet0/0 ccm-manager sccp !This is the server ip of CUCM ccm-manager config server 192.168.10.11 interface fa0/0 !Obtain ip address from CUCM dhcp server ip address dhcp exit !The following configuration turns on SCCP sccp local FastEthernet0/0 !Create an identifier that maps to the CUCM server, !CUCM is version 8.6 hence version 7.0+ is chosen. !The identifier is an arbitrary number from 1-65535. sccp ccm 192.168.10.11 identifier 11 version 7.0 !Codec used by the default device pool in CUCM sccp codec g711alaw mask sccp !Create Cisco call manager group, secondary and tetiary CUCM server !are included into the group as well. Associate to the respective CUCM !server identifier. sccp ccm group 1 associate ccm 11 priority 1
Cisco unified communication manager
Device > Gateway
Click on Add New.