Table Of Contents
Configuring ISDN BRI Voice over IP for Cisco 2600 and 3600 Series Voice Interface Cards
Verifying BRI Interface Configuration
Verifying VoIP Dial-Peer Configuration
Configuring ISDN BRI Voice over IP for Cisco 2600 and 3600 Series Voice Interface Cards
Feature Overview
The Voice over IP feature enables the Cisco 2600 and Cisco 3600 series of modular routers to carry voice traffic simultaneously with data traffic over an IP network. Voice over IP (VoIP) is primarily a software feature, supporting both voice and fax calls. Support for the ISDN BRI signaling type allows a Cisco 2600 or Cisco 3600 series router to provide voice access connectivity to either an ISDN telephone network or a digital interface on a PBX/key communications system. The voice or data also crosses an IP network to which the router connects. This allows branch offices and enterprises to route incoming public switched telephone network (PSTN) ISDN BRI calls over an IP network or send outgoing digital fax and voice calls via an IP network.
shows a home-office user dialing directly into a local router via the PSTN, and reaching headquarters through an IP network, saving the cost of a long-distance call. In another example, shows how an extension at headquarters makes a fax or voice call to a branch office in a different area code using a corporate IP network only.
Figure 1
Applications for ISDN BRI Voice over IP
To use this feature on a Cisco 2600 or Cisco 3600 series router, you must install a voice network module (VNM). A VNM can hold either one or two voice interface cards (VICs), each of which is specific to a particular signaling type. In the case of BRI VICs (VIC-2BRI-S/T-TE), which have two ports, a two-slot VNM holds a single BRI VIC to provide a total of four digital B channels for voice calls. This document describes how to configure ISDN Basic Rate Interface (BRI) VICs for VoIP.
For complete VoIP configuration instructions, see Cisco IOS Release 12.0 Voice, Video, and Home Applications Configuration Guide. For a description of the commands used to configure VoIP, see the "Voice-Related Commands" chapter in the Voice, Video, and Home Applications Command Reference.
Benefits
ISDN BRI VoIP offers direct ISDN network connectivity as well as connectivity to the digital interfaces of PBX and Key communications systems. Prior to the introduction of this feature, VoIP was available only for foreign exchange station (FXS) connection to a POTS telephone or other TE, FXO for connection to a POTS PBX or Key system, or ear and mouth (E&M) for two-wire and four-wire telephone and trunk interfaces—typically used to connect remote calls from an IP network to a PBX.
ISDN BRI VoIP provides the following toll-saving benefits for enterprises and branch offices:
•
ISDN BRI network connectivity, particularly critical in areas where this is the standard provider offering
•
Use of digital terminal equipment such as digital telephones and fax machines
•
Off-premise ISDN BRI dialing into an IP network
Restrictions
The ISDN BRI VICs are only supported for connectivity to another switching system (that is, to a PBX or to the PSTN). Connectivity to ISDN BRI phones is not supported.
Related Documents
•
Cisco IOS Release 12.0 Voice, Video, and Home Applications Configuration Guide
•
Cisco IOS Release 12.0 Voice, Video, and Home Applications Command Reference
•
Voice Network Module and Voice Interface Card Configuration Note
•
Cisco IOS Release 12.0 Network Protocols Configuration Guide, Part 1
•
Voice over IP for the Cisco 3600 and Cisco 2600 Series Software Configuration Guide
Supported Platforms
This feature is supported on the following platforms:
•
Cisco 2600 series routers
•
Cisco 3600 series routers
Prerequisites
This feature requires Cisco IOS Release 12.0(2)XD, 12.0(2)XD1, or 12.0(3)T.
Before you can configure your Cisco 2600 or Cisco 3600 series router for VoIP on a BRI interface, you must:
•
Obtain BRI service from your telecommunications provider. The BRI line must be provisioned at the switch to support voice calls.
•
Establish a working IP network. At least one network module or WAN interface card must be installed in the router to provide the connection to the IP LAN or WAN. For more information about configuring IP, refer to the "IP Overview," "Configuring IP Addressing," and "Configuring IP Services" chapters in the Cisco IOS Release 12.0 Network Protocols Configuration Guide, Part 1.
•
Install a 2-slot voice network module (NM-2V) into the appropriate slot of your Cisco router. A 1-slot voice network module (NM-1V) does not provide use of all four BRI VIC slots. At least one other network module or WAN interface card must be installed in the router to provide the connection to the IP LAN or WAN.
•
Refer to the installation documentation, Voice Network Module and Voice Interface Card Configuration Note, that came with your voice network module. It provides more information about the physical characteristics of the voice network module and how to install it.
•
Install a 2-port BRI VIC (VIC-2BRI-S/T-TE) into Slot 0, the first slot of the voice network module. Slot 1 of the voice network module should remain empty. Each of the two ports of a BRI VIC can carry two voice calls, one over each ISDN B channel, for a total of four calls per BRI VIC.
•
Configure your network for real-time voice traffic. This document describes only a portion of the process. For more information about configuring VoIP, refer to the Voice over IP for the Cisco 2600 and Cisco 3600 Series Software Configuration Guide.
•
The ISDN BRI VICs are only supported for connectivity to another switching system (that is, to a PBX or to the PSTN). Connectivity to ISDN BRI phones is not supported.
Supported MIBs and RFCs
None.
List of Terms
BRI—Basic Rate Interface. ISDN interface composed of two B channels and one D channel for circuit-switched communication of voice, video, and data.
dial peer—An addressable call endpoint. In Voice over IP (VoIP), there are two types of dial peers: POTS and VoIP.
DNS—Domain name system used in address translation to convert H.323 IDs, URLs, or e-mail IDs to IP addresses. DNS is also used to assist in the location of remote gatekeepers and to reverse-map raw IP addresses to host names of administrative domains.
DNIS—Dialed number identification service (the called number). Feature of trunk lines where the called number is identified; this called number information is used to route the call to the appropriate service.
E.164—International Telecommunication Union (ITU-T) recommendation for international telecommunication numbering. This recommendation provides the number structure and functionality for the 3 categories of numbers used for international public telecommunication: geographic areas, global services, and networks.
E&M—E&M (recEive and transMit or Ear and Mouth). E&M is a trunking arrangement generally used for two-way switch-to-switch or switch-to-network connections. Cisco's E&M interface is an RJ-48 connector that allows connections to PBX trunk lines (tie lines).
FXO—Foreign Exchange Office. An FXO interface connects to the PSTN's central office and is the interface offered on a standard telephone. Cisco's FXO interface is an RJ-11 connector that allows an analog connection to be directed at the PSTN's central office. This interface is of value for off-premise extension applications.
FXS—Foreign Exchange Station. An FXS interface connects directly to a standard telephone and supplies ring, voltage, and dial tone. Cisco's FXS interface is an RJ-11 connector that allows connections to basic telephone service equipment, keysets, and PBXs.
gateway—An H.323 endpoint on the LAN that provides real-time, two-way communications between H.323 terminals on the LAN and other ITU-T terminals in the WAN, or to another H.323 gateway. A gateway allows H.323 terminals to communicate with non-H.323 terminals by converting protocols. A gateway is the point at which a circuit-switched call is encoded and repackaged into IP packets.
H.323—An ITU-T standard that describes packet-based video, audio, and data conferencing. H.323 is an umbrella standard that describes the architecture of the conferencing system, and refers to a set of other standards (H.245, H.225.0, and Q.931) to describe its actual protocol.
ISDN—Integrated Services Digital Network. Communication protocol, offered by telephone companies, that permits telephone networks to carry data, voice, and other source traffic.
NM—Network module.
POTS—Plain Old Telephone Service. Basic telephone service supplying standard single-line telephones, telephone lines, and access to the public switched telephone network.
PSTN—Public switched telephone network, also refers to the local telephone company.
QoS—Quality of service, which refers to the measure of service quality provided to the user.
Technology prefix—Discriminators used to distinguish between gateways having specific capabilities within a given zone. In the exchange between the gateway and the gatekeeper, the technology prefix is used to select a gateway after the zone has been selected. Technology prefixes can be used to tell the gatekeeper that a certain technology is associated with a particular call (for example, 15# could mean a fax transmission), or it can be used like an area code for more generic routing. No standard defines what the numbers in a technology prefix mean; by convention, technology prefixes are designated by a pound (#) symbol as the last character.
SPID—Service profile identifier. Number that some service providers use to define the services to which an ISDN device subscribes. The ISDN device uses the SPID when accessing the switch that initializes the connection to a service provider.
VIC—Voice interface card.
VNM—Voice network module.
VoIP—Voice over IP. The ability to carry normal telephone-style voice over an IP-based internet with POTS-like functionality, reliability, and voice quality. VoIP is a blanket term that generally refers to Cisco's standards based (for example, H.323) approach to IP voice traffic.
WIC—Wide-area network (WAN) interface card.
Configuration Tasks
To set up the BRI interface characteristics, set the global parameters and then configure each interface separately. Next, configure dial peers for VoIP.
Configuring BRI Interfaces
To configure BRI interfaces, perform the following configuration tasks:
When you have finished configuring one interface, you can repeat Steps 3 through 10 above.
Verifying BRI Interface Configuration
To verify the ISDN BRI interface configuration, follow the steps below.
Step 1
The show running-config command in EXEC mode shows the current configuration running on the terminal. The example below shows some of the command output that is relevant to BRI configuration tasks.
Note
The show startup-config shows the configuration stored in NVRAM or in a location specified by the CONFIG_FILE environment variable.
Router#show running-configBuilding configuration...Current configuration:!version 12.0no service udp-small-serversservice tcp-small-servers!hostname Router!enable secret 5 $1$c8xi$tObplXsIS.jDeo43yZgq50enable password xxx!username xxxx password x 11x5xx07no ip domain-lookupip host Labhost 172.17.12.1ip host Labhost2 172.17.12.2ip name-server 171.70.169.21!...interface BRI1/0no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 140855542790101 5554279isdn spid2 140855542800101 5554280isdn incoming-voice modem!interface BRI1/1no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 140855542290101 5554229isdn spid2 140855542330101 5554233isdn incoming-voice modem!interface BRI2/0no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 140855542110101 5554211isdn spid2 140855542120101 5554212isdn incoming-voice modem!interface BRI2/1no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 140855546880101 5554688isdn spid2 140855546890101 5554689isdn incoming-voice modem...Step 2
The show interfaces bri command displays information about the physical attributes of the ISDN BRI B and D channels. The term "spoofing" means that the interface is presenting itself to the IOS software as operational.
Router#show interfaces briBRI1/0 is up, line protocol is up (spoofing)Hardware is Voice TE BRIMTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,reliablility 255/255, txload 1/255, rxload 1/255Encapsulation VOICE, loopback not setLast input 00:00:08, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0 (size/max/drops); Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops)Conversations 0/0/256 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec109063 packets input, 508010 bytes, 0 no bufferReceived 425 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort11115 packets output, 1503160 bytes, 0 underruns0 output errors, 0 collisions, 1 interface resets0 output buffer failures, 0 output buffers swapped out1 carrier transitionsBRI1/0:1 is down, line protocol is downHardware is Voice TE BRIMTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,reliablility 255/255, txload 1/255, rxload 1/255Encapsulation VOICE, loopback not set, keepalive set (10 sec)Last input never, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0 (size/max/drops); Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops)Conversations 0/0/256 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec0 packets input, 0 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort11115 packets output, 1503160 bytes, 0 underruns0 output errors, 0 collisions, 0 interface resets0 output buffer failures, 0 output buffers swapped out0 carrier transitionsBRI1/0:2 is down, line protocol is downHardware is Voice TE BRIMTU 1500 bytes, BW 64 Kbit, DLY 20000 usec,reliablility 255/255, txload 1/255, rxload 1/255Encapsulation VOICE, loopback not set, keepalive set (10 sec)Last input never, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0 (size/max/drops); Total output drops: 0Queueing strategy: weighted fairOutput queue: 0/1000/64/0 (size/max total/threshold/drops)Conversations 0/0/256 (active/max active/max total)Reserved Conversations 0/0 (allocated/max allocated)5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec0 packets input, 0 bytes, 0 no bufferReceived 0 broadcasts, 0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort11115 packets output, 1503160 bytes, 0 underruns0 output errors, 0 collisions, 0 interface resets0 output buffer failures, 0 output buffers swapped out0 carrier transitions buffer failures, 0 output buffers swapped outConfiguring VoIP Peers
To configure VoIP dial peers, repeat the following steps for each dial peer:
Verifying VoIP Dial-Peer Configuration
The show dial-peer voice command displays information about the dial-peer configuration.
The following example shows output from the show dial-peer voice command for a VoIP dial peer using a BRI VIC:
Router#show dial-peer voiceVoiceOverIpPeer13tag = 13, destination-pattern = `9.......',answer-address = `', preference=0,group = 13, Admin state is up, Operation state is up,incoming called-number = `', connections/maximum = 0/unlimited,application associated:type = voip, session-target = `ipv4:12.0.0.2',technology prefix:ip precedence = 0, UDP checksum = disabled,session-protocol = cisco, req-qos = best-effort,acc-qos = best-effort,fax-rate = voice, codec = g729r8,Expect factor = 10, Icpif = 30,VAD = enabled, Poor QOV Trap = disabled,Connect Time = 0, Charged Units = 0,Successful Calls = 0, Failed Calls = 0,Accepted Calls = 0, Refused Calls = 0,Last Disconnect Cause is "",Last Disconnect Text is "",Last Setup Time = 0.VoiceOverIpPeer12tag = 12, destination-pattern = `7....',answer-address = `', preference=0,group = 12, Admin state is up, Operation state is up,incoming called-number = `', connections/maximum = 0/unlimited,application associated:type = voip, session-target = `ipv4:12.0.0.2',technology prefix:ip precedence = 0, UDP checksum = disabled,session-protocol = cisco, req-qos = best-effort,acc-qos = best-effort,fax-rate = voice, codec = g729r8,Expect factor = 10, Icpif = 30,VAD = enabled, Poor QOV Trap = disabled,Connect Time = 4123, Charged Units = 0,Successful Calls = 2, Failed Calls = 0,Accepted Calls = 2, Refused Calls = 0,Last Disconnect Cause is "10 ",Last Disconnect Text is "normal call clearing.",Last Setup Time = 989287.Configuration Examples
The configuration examples included in this section correspond to the topology shown in . The routers each include a BRI VIC and a two-slot voice network module, along with other voice interface cards and modules that are included for the sake of completeness. Router A is connected to a PBX through the BRI VIC and connected to Router B by a serial Ethernet interface. Router B includes a BRI VIC for connection to the PSTN, in order to process voice calls from off-premises terminal equipment.
For more information about IP configuration, see the Cisco IOS Release 12.0 Network Protocols Configuration Guide, Part 1. For more information about VoIP configuration, see Cisco IOS Release 12.0 Voice, Video, and Home Applications Configuration Guide.
Figure 2 Configuration Topology
Router A: Connection to a PBX
The following example illustrates the configuration of a Cisco 3640 router for connection to a BRI VIC accessing a PBX:
vicbri_3640_s1#sh runBuilding configuration...Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname vicbri_3640_s1!logging buffered 200000 debugging!ip subnet-zeroip host keyer 223.255.254.254!isdn switch-type basic-ni!!The following commands configure the ports on VICs. The last four specified ports are for FXO and E&M VICs:
voice-port 1/0/0!voice-port 1/0/1!voice-port 2/0/0!voice-port 2/0/1!voice-port 3/0/0operation 4-wiretype 2!voice-port 3/0/1operation 4-wiretype 2!voice-port 3/1/0input gain 10connection plar 39019!voice-port 3/1/1input gain 10connection plar 39020The following commands configure dial peers to specify where incoming VoIP calls should be directed. In the first example, call received with a starting digit of 5 are sent to the PBX via the BRI VIC:
dial-peer voice 10 potsdestination-pattern 5.....port 1/1/0!This command sets up a local BRI connection:
dial-peer voice 11 potsdestination-pattern 66002port 1/0/0!In this example, calls with a starting digit of 9 are PSTN calls that are routed over IP:
dial-peer voice 13 voipdestination-pattern 9.......session target ipv4:12.0.0.2!This command sets up an FXS connection over IP to the other router:
dial-peer voice 12 voip (calls to other router with FXS - go over IP)destination-pattern 7....session target ipv4:12.0.0.2!The following global configuration commands define how to expand an extension number into a particular destination pattern.
num-exp 8 9529399num-exp 1 550950num-exp 2 76002The following commands configure the Ethernet and serial interfaces:
interface Ethernet0/0ip address 1.14.122.10 255.255.0.0ip helper-address 223.255.254.254no ip directed-broadcast!interface Serial0/0ip address 3.0.0.2 255.0.0.0no ip directed-broadcastno ip mroute-cacheno keepaliveno fair-queue!interface Ethernet0/1ip address 11.0.0.1 255.0.0.0no ip directed-broadcast!interface Serial0/1ip address 14.0.0.1 255.0.0.0no ip directed-broadcastno keepaliveshutdownno fair-queueclockrate 2000000The following commands configure the BRI interfaces:
interface BRI1/0no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 14085552121010 5552121isdn spid2 14085552122010 5552122isdn incoming-voice modem!interface BRI1/1no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 14085556362010 5556362isdn spid2 14085556364010 5556364isdn incoming-voice modem!interface BRI2/0no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 14085555711010 5555711isdn spid2 14085555712010 5555712isdn incoming-voice modem!interface BRI2/1no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 14085555162010 5555162isdn spid2 14085555163010 5555163isdn incoming-voice modem!ip default-gateway 1.14.0.1ip classlessip route 2.0.0.0 255.0.0.0 Ethernet0/1ip route 2.0.0.0 255.0.0.0 Serial0/1ip route 223.255.254.254 255.255.255.255 Ethernet0/0!!!line con 0exec-timeout 0 0transport input noneline aux 0line vty 0 4login!endvicbri_3640_s1#Router B: Connection to PSTN
The following example illustrates the configuration of a Cisco 2600 series router for connection to a BRI VIC accessing an ISDN telephone network:
vicbri_2600_s2#sh runBuilding configuration...Current configuration:!version 12.0service timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname vicbri_2600_s2!logging buffered 200000 debugging!ip subnet-zero!isdn switch-type basic-ni!!The following commands configure the ports on VICs:
voice-port 1/0/0!voice-port 1/0/1!The following commands configure dial peers to specify where incoming VoIP calls should be directed. In the first example, a local FXS connection is made to Router A:
dial-peer voice 22 voipdestination-pattern 6....session target ipv4:12.0.0.1!This command sets up a connection to the PSTN via a BRI VIC:
dial-peer voice 23 potsdestination-pattern 9....port 1/1/0!This command sets up a local BRI connection:
dial-peer voice 24 potsdestination-pattern 76003port 1/0/0!This command sets up a connection to a PBX via Router A:
!dial-peer voice 26 voipdestination-pattern 5....session target ipv4:12.0.0.1!The following commands configure the Ethernet and serial interfaces:
interface Ethernet0/0ip address 1.14.122.11 255.255.0.0no ip directed-broadcast!interface Serial0/0ip address 2.0.0.1 255.0.0.0no ip directed-broadcastno keepalive!interface Ethernet0/1ip address 11.0.0.2 255.0.0.0no ip directed-broadcast!interface Serial0/1ip address 14.0.0.2 255.0.0.0no ip directed-broadcastno keepaliveno fair-queueThe following commands configure the BRI interfaces. Note that only one BRI VIC is installed in a voice network module:
!interface BRI1/0no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 14085551111 5551111isdn spid2 14085551112 5551112isdn incoming-voice modeminterface BRI1/1no ip addressno ip directed-broadcastisdn switch-type basic-ni1isdn twait-disableisdn spid1 14085552111 5552111isdn spid2 14085552112 5552112isdn incoming-voice modem!ip classlessip route 3.0.0.0 255.0.0.0 Ethernet0/1ip route 3.0.0.0 255.0.0.0 Serial0/1ip route 223.255.254.0 255.255.255.0 Ethernet0/0!!!line con 0exec-timeout 0 0transport input noneline aux 0line vty 0 4login!endvicbri_2600_s2#Command Reference
All commands used with this feature are documented in the Cisco IOS Release 12.0 command references. The "Configuration Tasks" section illustrates how the commands are used when configuring a BRI VIC for VoIP.


