Step 5 If you have not configured the voice gateway before, or you want to change the configuration, use Cisco IOS commands to configure global parameters, passwords, network management, and routing protocols. In this example, IP routing is enabled:

VG(config)# ip routing

For complete information about global configuration commands, see the Cisco IOS configuration guides and command references.

Step 6 To configure another interface, enter the exit command to return to the VG(config)# prompt.

Step 8 To exit configuration mode and return to the enable prompt, when you finish configuring interfaces, press Ctrl-Z. To see the current operating configuration, including any changes you just made, enter the show running-config command:

VG# show running-config

To see the configuration currently stored in NVRAM, enter the show startup-config commandat the enable prompt:

VG# show startup-config

Step 9 The results of the show running-config and show startup-config commands differ if you have made changes to the configuration but have not yet written them to NVRAM. To write your changes to NVRAM and make them permanent, enter the copy running-config startup-config command at the enable prompt:

VG# copy running-config startup-config

Building configuration. . .

[OK]

VG#

The Cisco voice gateway is now configured to boot in the new configuration.

Restriction for Configuring Auto-Configuration

Before you can connect the voice gateway to the network, you must provision the Cisco Unified Communications Manager (CUCM) with the voice gateway information.

Auto-Configuration With a DHCP Server

When the Dynamic Host Configuration Protocol (DHCP) server is available, the voice gateway sends a DHCP server request to provide the IP address for the Fast Ethernet 0/0 interface, and the TFTP server's IP address using the DHCP option 150. When the DHCP server provides the information, the voice gateway provisions itself with the CUCM configuration using Skinny Call Control Protocol (SCCP). Analog ports which have been pre-configured on CUCM automatically register on CUCM as SCCP-controlled ports.

To provision the voice gateway with auto-configuration when a DHCP server is available, use the following commands.

SUMMARY STEPS

1. enable

2. configure terminal

3. interface type slot/port

4. ip address dhcp

5. sccp local interface-type interface-number port port-number

6. ccm-manager sccp local interface-type interface-number

7. ccm-manager sccp

8. voice service voip

9. fax protocol t38 [nse[force]]

10. exit

DETAILED STEPS

Command or Action

Purpose

Step 1

enable

Example:

VG# enable

Enters privileged EXEC mode.

Step 2

configure terminal

Example:

VG# configure terminal

Enters global configuration mode. You have entered global configuration mode when the prompt changes to VG(config)#.

Step 3

interface type slot/port

Example:

VG(config)# interface fastethernet 0/0

Enters interface configuration mode and specifies the type of interface you plan to configure. You have entered interface configuration mode when the prompt changes to VG(config-if)#.

Step 4

ip address dhcp

Example:

VG(config-if)# ip address dhcp

Acquires an IP address on an interface from the DHCP.

Step 5

sccp local interface-type interface-number port port-type

Example:

VG(config)# sccp local fastethernet 0/0

Enables SCCP and its related applications (transcoding and conferencing).

Step 6

ccm-manager sccp local interface-type interface-number

Example:

VG(config)# ccm-manager sccp local fastethernet 0/0

Selects the local interface that the SCCP application uses to register with CUCM.

Step 7

ccm-manager sccp

Example:

VG(config)# ccm-manager sccp

Enables CUCM autoconfiguration of the Cisco IOS gateway.

Note The ccm sccp command will remove itself if there is no IP address configured. The command checks every 20 seconds, up to a maximum of 8 times, then the Cisco IOS gateway will be automatically unconfigured.

Specifies the TFTP server from which the voice gateway downloads CUCM XML configuration files and enables the download of the configuration.

Step 14

ccm-manager sccp localinterface-type interface-number

Example:

VG(config)# ccm-manager sccp local fastethernet 0/0

Selects the local interface that the SCCP application uses to register with CUCM.

Step 15

ccm-manager sccp

Example:

VG(config)# ccm-manager sccp

Enables CUCM auto-configuration of the Cisco IOS gateway.

Step 16

sccp local interface-type interface-number port port-type

Example:

VG(config)# sccp local fastethernet 0/0

Selects the local interface that SCCP applications (transcoding and conferencing) use to register with CUCM.

Step 17

sccp

Example:

VG(config)# sccp

Enables SCCP protocol and its related applications (transcoding and conferencing).

Step 18

sccp ccm group group-number

Example:

VG(config)# sccp ccm group 1

Creates a CUCM group and enters SCCP CUCM configuration mode.

Step 19

associate ccm identifier-number priority priority-number

Example:

VG(config)# associate ccm 1 priority 1

Associates a CUCM with a CUCM group and establishes its priority within the group.

Step 20

dial-peer voice tag pots

Example:

VG(config)# dial-peer voice 999000 pots

Defines a particular dial peer, to specify the method of voice encapsulation, and to enter dial-peer configuration mode. Tag defines a particular dial peer. The tag range is from 1 to 2147483647. The POTS peer uses VoIP encapsulation on the IP backbone.

Step 21

service stcapp

Example:

VG(config)# service stcapp

Enables STC application feature service.

Step 22

port port-number

Example:

VG(config)# port 0/0

VG(config)# port 0/1

VG(config)# port 0/2

Configures the port number.

Step 23

exit

Example:

VG(config)# exit

Exits to global configuration mode.

Configuring the MAC Address Convention

The voice gateways use the MAC address of the SCC local interface to define unique MAC addresses for each voice port by using the last 9 digits of the SCCP local interface of the voice gateway.

For example, if the source interface MAC address is 000C.8639.5833, the MAC address of the voice port MAC address will be C863.9583.3XXX. In the preceding example, the last 9 digits of the SCCP of the local voice gateway become the first 9 digits of the voice port MAC address after dropping the leading 000.

The last 3 digits of the voice port MAC address is the slot number (3-bit) + subunit number (2-bit) + port number (7-bit) in hexadecimal format. You combine the digits to get the last three MAC address digits.

For example, the voice-port 0/0 is slot number 0 (000): subunit 0 (00) and port number 0 (0000000). By stringing the digits together, you get the following: 00000000 0000 = 0 0 0. This means that if the source interface MAC address is 001f.cac3.b3f8, the MAC address of voice port 0/0 will be 1FCAC3b3f8000.

Configuring Calls

Call Transfer

The voice gateways blind-call transfer functionality allows the transfer of a call from the party you call to a destination caller without and call commit from the original person called. For example, party A (transferee) calls party B (transferor). The transferor wants to transfer the call to party C (transfer-target) and uses hookflash (softkey transfer) to get a dial tone, and then dials party C's number. When CUCM/CUCME gets party C's number, it transfers the party A call to party C without the need of committment from party B.

The voice gateways consultation call transfer functionality allows happens after a call is established between a transferor and transferee. The transferor wants to transfer the call to a transfer target by using a softkey transfer by getting a dialtone then dialing the transfer-target's phone number. When the call between the transferor and transfer-target is established, the transferor hangs up the phone to commit the transfer. The CUCM/CUCME connects the call between the transferee and the transfer-target.

SUMMARY STEPS

1. enable

2. configure terminal

3. dial-peer voice tags pots

4. service stcapp

5. port port-number

6. exit

DETAILED STEPS

Command or Action

Purpose

Step 1

enable

Example:

VG# enable

Enters privileged EXEC mode.

Step 2

configure terminal

Example:

VG# configure terminal

Enters global configuration mode. You have entered global configuration mode when the prompt changes to VG(config)#.

Step 3

dial-peer voice tag pots

Example:

VG(config)# dial-peer voice 1000 pots

VG(config)# dial-peer voice 1001 pots

VG(config)# dial-peer voice 1002 pots

Defines a particular dial peer, to specify the method of voice encapsulation, and to enter dial-peer configuration mode. Tag defines a particular dial peer. The tag range is from 1 to 2147483647. The POTS peer uses VoIP encapsulation on the IP backbone.

Step 4

service stcapp

Example:

VG(config)# service stcapp

Enables STC application feature service.

Step 5

port port-number

Example:

VG(config)# port 0/0

VG(config)# port 0/1

VG(config)# port 0/2

Configures the port number.

Step 6

exit

Example:

VG(config)# exit

Exits to global configuration mode.

Call Waiting

If a calling party places a call to another party and the other party is engaged in a call, and the called party has call waiting, the party receiving the call can suspend the current telephone call and switch to the incoming call. For example, when caller A is engaged in a call with Caller B, a second call coming in to caller A from caller C will cause caller A to hear the call-waiting tone (one tone with 300ms duration), which indicates a second call. Caller A should be able to use the softkey transfer button to answer the waiting call and then use softkey transfer to switch between the two calls.

To configure call waiting on the voice gateways, use the same commands and configuration shown in "Call Transfer" section.

Three-Party Conferencing

Three-party conferencing provides a three-way conversation between three call parties. The voice gateways along with CUCM support three-party conferencing using Cisco IOS software to perform G.711 (ITU-T standard for audio companding) software mixing for up to three Real-time Transport Protocol (RTP) streams

To configure three-party conferencing on the voice gateways, use the same commands and configuration shown in the "Call Transfer" section.

Caller ID

Caller ID transmits a caller's number to the called party's telephone during the ringing signal.

SUMMARY STEPS

1. enable

2. configure terminal

3. voice-port slot-number/port

4. caller-id enable [type [1|2]]

5. voice-port slot-number/port

6. caller-id enable [type [1|2]]

7. exit

DETAILED STEPS

Command or Action

Purpose

Step 1

enable

Example:

VG# enable

Enters privileged EXEC mode.

Step 2

configure terminal

Example:

VG# configure terminal

Enters global configuration mode. You have entered global configuration mode when the prompt changes to VG(config)#.