Document ID: 115021
Updated: Nov 29, 2012
Contributed by Hussain Ali, Cisco TAC Engineer.
This document provides a configuration example for Cisco VG224 Skinny Client Control Protocol (SCCP) registration with CallManager Express (CME) (requires version 4.0 or later).
The analog phone or fax machine is connected to the VG224’s Foreign Exchange Station (FXS) port. The VG224 is registered to CME via SCCP and communicates to the public switched telephone network (PSTN) provider via a Foreign Exchange Office (FXO) port.
There are no specific requirements for this document.
The information in this document is based on the Cisco VG224 SCCP with CME, version 4.0 or later.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
hostname VG224-1 ! voice-card 0 ! interface FastEthernet0/0 ip address 10.8.1.10 255.255.255.0 duplex auto speed auto ! !--- For modem/faxing support using NSE based switchover. voice service voip modem passthrough nse codec g711ulaw ! voice-port 2/0 caller-id enable ! voice-port 2/23 caller-id enable ! !--- Set source interface of SCCP packets. Also determines which !--- MAC address is used to register to CME. sccp local FastEthernet0/0 !--- Set address of SCCP agent, should match the IP source address of CME. sccp ccm 10.8.1.2 identifier 1 sccp ! sccp ccm group 1 !--- Associate SCCP agent with CCM group. associate ccm 1 priority 1 ! !--- Associate STCAPP to CCM Group stcapp ccm-group 1 stcapp ! !--- Enable STCAPP on voice port. dial-peer voice 1000 pots service stcapp port 2/0 ! dial-peer voice 1023 pots service stcapp port 2/23 !
The Cisco VG224 uses the MAC address of the SCCP local interface to define the unique MAC address for each voice port. If the SCCP process is bound to a loopback interface, the MAC address of the lowest numbered physical interface on the router is used.
The last 9 digits of the SCCP local interface of the VG224 (drop the leading 000) become the first 9 digits of the voice port MAC address.
Example 1: If the source interface MAC address is 000C.8639.5833, the MAC addresses of the voice port MAC addresses will be C863.9583.3XXX.
Example 2: If the source interface MAC address is 000C.8639.0180 , the MAC addresses of the voice port MAC addresses will be C863.9018.0XXX.
The last 3 digits of the voice port MAC address are the slot number (3-bit) + subunit number (2-bit) + port number (7-bit) in hexadecimal format. Combine the digits to obtain the last three MAC address digits.
Example 1: Voice-port 2/0 is slot number 2 (010), subunit 0 (00), and port number 0 (0000000). Combine these digits to obtain the last 3 digits of the voice port MAC address: 010 + 00 + 0000000 = 4 0 0. 400 are the last 3 digits of the voice port MAC address.
Example 2: Voice-port 2/23 is slot number 2 (010), subunit 0 (00), and port number 23 (0010111). Combine these digits to obtain the last 3 digits of the voice port MAC address: 010 + 00 + 0010111 = 4 1 7. 417 are the last 3 digits of the voice port MAC address.
|Port#||Last 3 digits of MAC|
Example 1: If the source interface MAC address is 000C.8639.5833, the MAC address of voice port 2/0 will be C863.9583.3400.
Example 2: If the source interface MAC address is 000C.8639.0180, the MAC address of voice port 2/23 will be C.8639.0180417.
hostname CME-1 ! voice-card 2 no dspfarm ! interface FastEthernet0/0 ip address 10.8.1.2 255.255.255.0 duplex auto speed auto ! interface Service-Engine0/0 ip unnumbered FastEthernet0/0 service-module ip address 10.8.1.50 255.255.255.0 service-module ip default-gateway 10.8.1.2 ! dial-peer voice 6000 voip description To CUE destination-pattern 5... session protocol sipv2 session target ipv4:10.8.1.50 dtmf-relay sip-notify codec g711ulaw no vad ! telephony-service load 7960-7940 P00305000301 max-ephones 60 max-dn 60 ip source-address 10.8.1.2 port 2000 create cnf-files version-stamp Jan 01 2002 00:00:00 voicemail 5200 mwi relay mwi expires 99999 max-conferences 8 transfer-system full-consult ! ephone-dn 8 dual-line number 4441 secondary 9191114441 description vg224-2/0 name Joe ! ephone-dn 9 dual-line number 4442 description vg224-2/23 name Jane call-forward busy 5200 call-forward noan 5200 timeout 10 ! ephone-dn 20 number 8000.... mwi on ! ephone-dn 21 number 8001.... mwi off ! !--- The last 3 digits of the MAC are 417 as this is the !--- phone for VG224 port 2/23. ephone 5 mac-address C863.9018.0417 type anl button 1:9 ! !--- The last 3 digits of the MAC are 400 as this is the !--- phone for VG224 port 2/0. ephone 8 mac-address C863.9018.0400 type anl button 1:8
The CME must be configured for voice mail. The Message Waiting Indication (MWI) on/off ephone-dn and call-forward must be configured. For example, if a new VM is present, the CME dials 80001000 in order to send the SCCP a message to activate MWI on ephone 8. The VG224 converts the SCCP MWI on the message in order to activate stutter tone on the Foreign Exchange Station (FXS) port. Once the VM has been accessed, the CME will dial 80011000 in order to send the SCCP a message to deactivate MWI on ephone 8. The VG224 converts the SCCP MWI on the message to deactivate stutter tone on the FXS port.
The Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers.
Refer to Cisco Technical Tips Conventions for information on conventions used in this document.