Configuring Voice over IP for the Cisco 3600 Series
This chapter shows you how to configure Voice over IP (VoIP) on the Cisco 3600 series. For a description of the commands used to configure Voice over IP, refer to the
VoIP enables a Cisco 3600 series router to carry voice traffic (for example, telephone calls and faxes) over an IP network. Voice over IP is primarily a software feature; however, to use this feature on a Cisco 3600 series router, you must install a voice network module (VNM). The VNM can hold either two or four voice interface cards (VICs), each of which is specific to a particular signaling type associated with a voice port. For more information about the physical characteristics, installing or configuring a VNM in your Cisco 3600 series router, refer to the Voice Network Module and Voice Interface Card Configuration Note that came with your VNM.
Voice over IP offers the following benefits:
???
???
???
???
Toll bypass
Remote PBX presence over WANs
Unified voice/data trunking
How Voice over IP Processes a Telephone Call
Before configuring Voice over IP on your Cisco 3600 series router, it helps to understand what happens at an application level when you place a call using Voice over IP. The general flow of a
1The user picks up the handset; this signals an
2The session application part of Voice over IP issues a dial tone and waits for the user to dial a telephone number.
3The user dials the telephone number; those numbers are accumulated and stored by the session application.
4After enough digits are accumulated to match a configured destination pattern, the telephone number is mapped to an IP host via the dial plan mapper. The IP host has a direct connection to either the destination telephone number or a PBX that is responsible for completing the call to the configured destination pattern.
Configuring Voice over IP for the Cisco 3600 Series
List of Terms
5The session application then runs the H.323 session protocol to establish a transmission and a reception channel for each direction over the IP network. If the call is being handled by a PBX, the PBX forwards the call to the destination telephone. If RSVP has been configured, the RSVP reservations are put into effect to achieve the desired quality of service over the IP network.
6The CODECs are enabled for both ends of the connection and the conversation proceeds using RTP/UDP/IP as the protocol stack.
7Any
8When either end of the call hangs up, the RSVP reservations are torn down (if RSVP is used) and the session ends. Each end becomes idle, waiting for the next
List of Terms
Call
Dial
Multilink
Prerequisite Tasks
POTS dial
VoIP dial
IP network. VoIP peers point to specific VoIP devices.
Prerequisite Tasks
Before you can configure your Cisco 3600 series router to use Voice over IP, you must first:
???Establish a working IP network. For more information about configuring IP, refer to the ???IP Overview,??? ???Configuring IP Addressing,??? and ???Configuring IP Services??? chapters in the
Network Protocols Configuration Guide, Part 1.
???Install the
???Complete your company???s dial plan.
???Establish a working telephony network based on your company???s dial plan.
???Integrate your dial plan and telephony network into your existing IP network topology. Merging your IP and telephony networks depends on your particular IP and telephony network topology. In general, we recommend the following suggestions:
???Use canonical numbers wherever possible. It is important to avoid situations where numbering systems are significantly different on different routers or access servers in your network.
???Make routing and/or dialing transparent to the
???Contact your PBX vendor for instructions about how to reconfigure the appropriate PBX interfaces.
After you have analyzed your dial plan and decided how to integrate it into your existing IP network, you are ready to configure your network devices to support Voice over IP.
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Task List
Voice over IP Configuration Task List
To configure Voice over IP on the Cisco 3600 series, you need to complete the following tasks:
1Configure IP Networks for
Configure your IP network to support
(a)Multilink PPP with Interleaving
(b)RTP Header Compression
(c)Custom Queuing
(d)Weighted Fair Queuing
Refer to ???Configure IP Networks for
2Configure Frame Relay for Voice over IP
(Optional) If you plan to run Voice over IP over Frame Relay, you need to take certain factors into consideration when configuring Voice over IP for it to run smoothly over Frame Relay. For example, a public Frame Relay cloud provides no guarantees for QoS. Refer to the ???Configure Frame Relay for Voice over IP??? section for information about deploying Voice over IP over Frame Relay.
Use the
Use the
(a)
Configure IP Networks for
(b)
Refer to the ???Configure Dial Peers??? section additional information about configuring dial peers and
5Optimize Dial Peer and Network Interface Configurations
You can use VoIP peers to define characteristics such as IP precedence, additional QoS parameters (when RSVP is configured), CODEC, and VAD. Use the ip precedence command to define IP precedence. If you have configured RSVP, use either the
6Configure Voice Ports
You need to configure your Cisco 3600 series router to support voice ports. In general,
(a)
(b)
(c)
Under most circumstances, the default
7Configure Voice over IP for Microsoft NetMeeting
(Optional) Voice over IP can be used with Microsoft NetMeeting (Version 2.x) when the Cisco 3600 series router is used as the voice gateway. Refer to the 'Configure Voice over IP for Microsoft NetMeeting??? section for more information about configuring Voice over IP to support Microsoft NetMeeting.
Configure IP Networks for
You need to have a
Configuring Voice over IP for the Cisco 3600 Series
Configure IP Networks for
The important thing to remember is that QoS must be configured throughout your
In general, edge routers perform the following QoS functions:
???
???
???
???
Packet classification
Admission control
Bandwidth management
Queuing
In general, backbone routers perform the following QoS functions:
???
???
???
Congestion management
Queue management
Scalable QoS solutions require cooperative edge and backbone functions.
Note In a subsequent Cisco IOS release, we have implemented enhancements to improve QoS on low speed,
Although not mandatory, some QoS tools have been identified as being valuable in
???
???
???
???
Each of these components is discussed in the following sections.
Configure Multilink PPP with Interleaving
Configure Multilink PPP with Interleaving
Note Interleaving applies only to interfaces that can configure a multilink bundle interface. These include virtual templates, dialer interfaces, and Integrated Services Digital Network (ISDN) Basic Rate Interface (BRI) or Primary Rate Interface (PRI) interfaces.
In general, Multilink PPP with interleaving is used in conjunction with weighted fair queuing and RSVP or IP Precedence to ensure voice packet delivery. Use Multilink PPP with interleaving and weighted fair queuing to define how data will be managed; use RSVP or IP Precedence to give priority to voice packets.
You should configure Multilink PPP if the following conditions exist in your network:
???
???
Slow links
Note Multilink PPP should not be used on links greater than 2 Mbps.
Multilink PPP support for interleaving can be configured on virtual templates, dialer interfaces, and ISDN BRI or PRI interfaces. To configure interleaving, you need to complete the following tasks:
???Configure the dialer interface or virtual template, as defined in the relevant chapters of the
Dial Solutions Configuration Guide.
???Configure Multilink PPP and interleaving on the interface or template.
To configure Multilink PPP and interleaving on a configured and operational interface or virtual interface template, use the following commands in interface mode:
higher priority than other flows. This is only applicable if you have not configured RSVP.
Note The ip rtp reserve command can be used instead of configuring RSVP. If you configure RSVP, this command is not required.
Configuring Voice over IP for the Cisco 3600 Series
Configure IP Networks for
For more information about Multilink PPP, refer to the ???Configuring
Multilink PPP Configuration Example
The following example defines a virtual interface template that enables Multilink PPP with interleaving and a maximum
interface
encapsulated ppp
ppp multilink interleave
ppp multilink
multilink
Configure RTP Header Compression
This compression feature is beneficial if you are running Voice over IP over slow links. Enabling compression on both ends of a
Typically, an RTP packet has a payload of approximately 20 to 160 bytes for audio applications that use compressed payloads. RTP header compression is especially beneficial when the RTP payload size is small (for example, compressed audio payloads between 20 and 50 bytes).
Figure 4 RTP Header Compression
After RTP header compression:
2 to 4 bytes
Payload
12076
Configure RTP Header Compression
You should configure RTP header compression if the following conditions exist in your network:
???
???
Slow links
Need to save bandwidth
Note RTP header compression should not be used on links greater than 2 Mbps.
Perform the following tasks to configure RTP header compression for Voice over IP. The first task is required; the second task is optional.
???
???
Enable RTP Header Compression on a Serial Interface
To use RTP header compression, you need to enable compression on both ends of a serial connection. To enable RTP header compression, use the following command in interface configuration mode:
If you include the passive keyword, the software compresses outgoing RTP packets only if incoming RTP packets on the same interface are compressed. If you use the command without the passive keyword, the software compresses all RTP traffic.
Change the Number of Header Compression Connections
By default, the software supports a total of 16 RTP header compression connections on an interface. To specify a different number of RTP header compression connections, use the following command in interface configuration mode:
RTP Header Compression Configuration Example
The following example enables RTP header compression for a serial interface:
interface 0
ip rtp
ip rtp
For more information about RTP header compression, see the ???Configuring IP Multicast Routing??? chapter of the Network Protocols Configuration Guide, Part 1.
Configuring Voice over IP for the Cisco 3600 Series
Configure Frame Relay for Voice over IP
Configure Custom Queuing
Some QoS features, such as IP RTP reserve and custom queuing, are based on the transport protocol and the associated port number.
16384 = 4(number of voice ports in the Cisco 3600 series router)
Custom Queuing and other methods for identifying high priority streams should be configured for these port ranges. For more information about custom queuing, refer to the ???Performing Basic System Management??? chapter in the Configuration Fundamentals Configuration Guide.
Configure Weighted Fair Queuing
Weighted fair queuing ensures that queues do not starve for bandwidth and that traffic gets predictable service.
In general, weighted fair queuing is used in conjunction with Multilink PPP with interleaving and RSVP or IP Precedence to ensure that voice packet delivery. Use weighted fair queuing with Multilink PPP to define how data will be managed; use RSVP or IP Precedence to give priority to voice packets. For more information about weighted fair queuing, refer to the ???Performing Basic System Management??? chapter in the Configuration Fundamentals Configuration Guide.
Configure Frame Relay for Voice over IP
You need to take certain factors into consideration when configuring Voice over IP for it to run smoothly over Frame Relay. A public Frame Relay cloud provides no guarantees for QoS. For
For Frame Relay links with slow output rates (less than or equal to 64 kbps) where data and voice are being transmitted over the same PVC, we recommend the following solutions:
???Separate DLCIs for voice and
64 kbps line.
???Apply adaptive traffic shaping to both DLCIs.
???Use RSVP or IP Precedence to prioritize voice traffic.
???Use compressed RTP to minimize voice packet size.
???Use weighted fair queuing to manage voice traffic.
???Lower MTU
Note Some applications do not support a smaller MTU size. If you decide to lower MTU size, use the ip mtu command; this command affects only IP traffic.
Frame Relay for Voice over IP Configuration Example
Note Lowering the MTU size affects data throughput speed.
???CIR equal to line
???Use IP Precedence to prioritize voice traffic.
???Use compressed RTP to minimize voice packet header size.
???Traffic
???Use compressed RTP, reduced MTU size, and adaptive traffic shaping based on BECN to hold data rate to CIR.
???Use generic traffic shaping to obtain a low interpacket wait time. For example, set Bc to 4000 to obtain an
Note We recommend FRF.12 fragmentation setup rules for Voice over IP connections over Frame Relay. FRF.12 was implemented in the Cisco IOS Release 12.0(4)T. For more information, refer to the Cisco IOS Release 12.0(4)T ???Voice over Frame Relay using FRF.11 and FRF.12??? feature module.
Frame Relay for Voice over IP Configuration Example
For Frame Relay, it is customary to configure a main interface and several subinterfaces, one subinterface per PVC. The following example configures a Frame Relay main interface and a subinterface so that voice and data traffic can be successfully transported:
interface Serial0/0 ip mtu 300
no ip address encapsulation
no ip
interface Serial0/0.1
ip address 40.0.0.7 255.0.0.0 no ip
no ip
In this configuration example, the main interface has been configured as follows:
???MTU size of IP packets is 300 bytes.
???No IP address is associated with this serial interface. The IP address must be assigned for the subinterface.
???Encapsulation method is Frame Relay.
Configuring Voice over IP for the Cisco 3600 Series
Configure Number Expansion
???
???
IP RTP header compression is enabled.
The subinterface has been configured as follows:
???MTU size is inherited from the main interface.
???IP address for the subinterface is specified.
???Bandwidth is set to 64 kbps.
???Generic traffic shaping is enabled with 32 kbps CIR where Bc=4000 bits and Be=4000 bits.
???Frame Relay DLCI number is specified.
???IP RTP header compression is enabled.
Note When traffic bursts over the CIR, output rate is held at the speed configured for the CIR (for example, traffic will not go beyond 32 kbps if CIR is set to 32 kbps).
For more information about Frame Relay, refer to the ???Configuring Frame Relay??? chapter in the
Configure Number Expansion
In most corporate environments, the telephone network is configured so that you can reach a destination by dialing only a portion (an extension number) of the full E.164 telephone number. Voice over IP can be configured to recognize extension numbers and expand them into their full E.164 dialed number by using two commands in tandem:
Create a Number Expansion Table
In Figure 5, a small company wants to use Voice over IP to integrate its telephony network with its existing IP network. The destination pattern (or expanded telephone number) associated with Router 1 (located to the left of the IP cloud) are (408)
(408)
Configure Number Expansion
Figure 5 Sample Voice over IP Network
10.1.1.1
1:D
T1 ISDN PRI
408
Table 5 shows the number expansion table for this scenario.
Note You can use the period symbol (.) to represent variables (such as extension numbers) in a telephone number.
The information included in this example needs to be configured on both Router 1 and Router 2.
Configure Number Expansion
To define how to expand an extension number into a particular destination pattern, use the following command in global configuration mode:
You can verify the number expansion information by using the show
After you have configured dial peers and assigned destination patterns to them, you can verify number expansion information by using the show dialplan number command to see how a telephone number maps to a dial peer.
Configuring Voice over IP for the Cisco 3600 Series
Configure Dial Peers
Configure Dial Peers
The key point to understanding how Voice over IP functions is to understand dial peers. Each dial peer defines the characteristics associated with a call leg, as shown in Figure 6 and Figure 7. A call leg is a discrete segment of a call connection that lies between two points in the connection. All the call legs for a particular connection have the same connection ID.
There are two different kinds of dial peers:
???
???
Four call legs make comprise and
10353
Figure 7
Destination
Dial Peer Call Legs from the Perspective of the Destination Router
Destination router
Inbound versus Outbound Dial Peers
Dial peers are used for both inbound and outbound call legs. It is important to remember that these terms are defined from the router???s perspective. An inbound call leg originates outside the router. An outbound call leg originates from the router.
For inbound call legs, a dial peer might be associated to the calling number or the port designation. Outbound call legs always have a dial peer associated with them. The destination pattern is used to identify the outbound dial peer. The call is associated with the outbound dial peer at setup time.
Inbound versus Outbound Dial Peers
POTS peers associate a telephone number with a particular voice port so that incoming calls for that telephone number can be received and outgoing calls can be placed. VoIP peers point to specific devices (by associating destination telephone numbers with a specific IP address) so that incoming calls can be received and outgoing calls can be placed. Both POTS and VoIP peers are needed to establish Voice over IP connections.
Establishing communication using Voice over IP is similar to configuring an IP static route: you are establishing a specific voice connection between two defined endpoints. As shown in Figure 8, for outgoing calls (from the perspective of the POTS dial peer 1), the POTS dial peer establishes the source (via the originating telephone number or voice port) of the call. The VoIP dial peer establishes the destination by associating the destination phone number with a specific IP address.
S6613
(408)
(310)
POTS call leg
VoIP call leg
To configure call connectivity between the source and destination as illustrated in Figure 8, enter the following commands on router 10.1.2.2:
port 1/0/0
session target ipv4:10.1.1.2
In the previous configuration example, the last four digits in the VoIP dial peer???s destination pattern were replaced with wildcards. This means that from access server 10.1.2.2, calling any number string that begins with the digits ???1310555??? will result in a connection to access server 10.1.1.2. This implies that access server 10.1.1.2 services all numbers beginning with those digits. From access server 10.1.1.2, calling any number string that begins with the digits ???1408555??? will result in a connection to access server 10.1.2.2. This implies that access server 10.1.2.2 services all numbers beginning with those digits. For more information about stripping and adding digits, see the ???Outbound Dialing on POTS Peers??? section.
Figure 9 shows how to complete the
Configuring Voice over IP for the Cisco 3600 Series
Configure Dial Peers
Destination
To complete the
port 1/0/0
session target ipv4:10.1.2.2
Create a Peer Configuration Table
There is specific data relative to each dial peer that needs to be identified before you can configure dial peers in Voice over IP. One way to do this is to create a peer configuration table.
Using the example in Figure 5, Router 1, with an IP address of 10.1.1.1, connects a small sales branch office to the main office through Router 2. There are three telephones in the sales branch office that need to be established as dial peers. Router 2, with an IP address of 10.1.1.2, is the primary gateway to the main office; as such, it needs to be connected to the company???s PBX. There are four devices that need to be established as dial peers in the main office, all of which are basic telephones connected to the PBX. Figure 5 shows a diagram of this small voice network.
Table 6 shows the peer configuration table for the example illustrated in Figure 5.
Configure POTS Peers
Configure POTS Peers
Once again, POTS peers enable incoming calls to be received by a particular telephony device. To configure a POTS peer, you need to uniquely identify the peer (by assigning it a unique tag number), define its telephone number(s), and associate it with a voice port through which calls will be established. Under most circumstances, the default values for the remaining
To enter the
The number value of the
To configure the identified POTS peer, use the following commands in
Outbound Dialing on POTS Peers
When a router receives a voice call, it selects an outbound dial peer by comparing the called number (the full E.164 telephone number) in the call information with the number configured as the destination pattern for the POTS peer. The router then strips out the
For example, suppose there is a voice call whose E.164 called number is 1(310)
For additional POTS
Direct Inward Dial for POTS Peers
Direct inward dial (DID) is used to determine how the called number is treated for incoming POTS call legs. As shown in Figure 10, incoming means from the perspective of the router. In this case, it is the call leg coming into the access server to be forwarded through to the appropriate destination pattern.
Configuring Voice over IP for the Cisco 3600 Series
Configure Dial Peers
Figure 10 Incoming and Outgoing POTS Call Legs
15564
Unless otherwise configured, when a call arrives on the access server, the server presents a dial tone to the caller and collects digits until it can identify the destination dial peer. After the dial peer has been identified, the call is forwarded through the next call leg to the destination.
There are cases where it might be necessary for the server to use the
To use DID and incoming
The algorithm used to associate incoming call legs with dial peers uses three inputs (which are derived from signaling and interface information associated with the call) and four defined
???
???
???Voice
The four defined
???Destination
???Answer
???Incoming
???
Using the elements, the algorithm is as follows:
For all peers where call type (VoIP versus POTS) match
if the type is matched, associate the called number with the incoming
else if the type is matched, associate
This algorithm shows that if a value is not configured for
Configure VoIP Peers
To configure DID for a particular POTS dial peer, use the following commands beginning in global configuration mode:
Note Direct inward dial is configured for the calling POTS dial peer.
For additional POTS
Configure VoIP Peers
Once again, VoIP peers enable outgoing calls to be made from a particular telephony device. To configure a VoIP peer, you need to uniquely identify the peer (by assigning it a unique tag number), define its destination telephone number and destination IP address. As with POTS peers, under most circumstances, the default values for the remaining
To enter the
The number value of the
To configure the identified VoIP peer, use the following commands in
For additional VoIP
Configuring Voice over IP for the Cisco 3600 Series
Optimize Dial Peer and Network Interface Configurations
Validation Tips
You can check the validity of your
???If you have relatively few dial peers configured, you can use the show
???Use the show dialplan number command to show the dial peer to which a particular number (destination pattern) resolves.
Troubleshooting Tips
If you are having trouble connecting a call and you suspect the problem is associated with
???Ping the associated IP address to confirm connectivity. If you cannot successfully ping your destination, refer to the Network Protocols Configuration Guide, Part 1.
???Use the show
???Use the show dialplan number command on the local and remote routers to verify that the data is configured correctly on both.
???If you have configured number expansion, use the show
???If you have configured a CODEC value, there can be a problem if both VoIP dial peers on either side of the connection have incompatible CODEC values. Make sure that both VoIP peers have been configured with the same CODEC value.
???Use the debug vpm spi command to verify the output string the router dials is correct.
???Use the debug cch323 rtp command to check RTP packet transport.
???Use the debug cch323 h225 command to check the call setup.
Optimize Dial Peer and Network Interface Configurations
Depending on how you have configured your network interfaces, you might need to configure additional VoIP
???
???
???
Configure IP Precedence for Dial Peers
If you want to give
Configure RSVP for Dial Peers
To give
In IP Precedence, the numbers 1 through 5 identify classes for IP flows; the numbers 6 through 7 are used for network and backbone routing and updates.
For example, to ensure that voice traffic associated with VoIP dial peer 103 is given a higher priority than other IP network traffic, enter the following:
In this example, when an IP call leg is associated with VoIP dial peer 103, all packets transmitted to the IP network via this dial peer will have their precedence bits set to 5. If the networks receiving these packets have been configured to recognize precedence bits, the packets will be given priority over packets with a lower configured precedence value.
Configure RSVP for Dial Peers
If you have configured your WAN or LAN interfaces for RSVP, you must configure the QoS for any associated VoIP peers. To configure quality of service for a selected VoIP peer, use the following commands, starting in global configuration mode:
Note We suggest that you select
For example, to specify guaranteed delay QoS for VoIP dial peer 108, enter the following:
session target ipv4:10.0.0.8
In this example, every time a connection is made through VoIP dial peer 108, an RSVP reservation request is made between the local router, all intermediate routers in the path, and the final destination router.
Configuring Voice over IP for the Cisco 3600 Series
Optimize Dial Peer and Network Interface Configurations
To generate an SNMP trap message if the reserved QoS is less than the configured value for a selected VoIP peer, use the following commands, beginning in global configuration mode:
Note RSVP reservations are only
Configure CODEC and VAD for Dial Peers
Configure CODEC for a VoIP Dial Peer
To specify a voice coder rate for a selected VoIP peer, use the following commands beginning in global configuration mode:
The default for the codec command is g729r8; normally the default configuration for this command is the most desirable. If, however, you are operating on a high bandwidth network and voice quality is of the highest importance, you should configure the codec command for g711alaw or ulaw. Using this value will result in better voice quality, but it will also require higher bandwidth requirements for voice.
For example, to specify a CODEC rate of
session target ipv4:10.0.0.8
Configure Voice over IP using a Trunk Connection
Configure VAD for a VoIP Dial Peer
To disable the transmission of silence packets for a selected VoIP peer, use the following commands beginning in global configuration mode:
The default for the vad command is enabled; normally the default configuration for this command is the most desirable. If you are operating on a high bandwidth network and voice quality is of the highest importance, you should disable vad. Using this value will result in better voice quality, but it will also require higher bandwidth requirements for voice.
For example, to enable VAD for VoIP dial peer 108, enter the following:
session target ipv4:10.0.0.8
Configure Voice over IP using a Trunk Connection
A trunk is a communication line between two switching systems; typically, the switching equipment in a central office and a PBX. A trunk connection is a permanent physical layer (wire),
Voice over IP simulates a trunk connection by creating virtual trunk tie lines between PBXs connected to Cisco 2600 and 3600 series routers on each side of a VoIP connection. (See Figure 11.) In this example, two PBXs are connected using a virtual trunk.
Figure 11 Virtual Trunk Connection
Virtual trunk connection
23958
Configuring Voice over IP for the Cisco 3600 Series
Configure Voice over IP using a Trunk Connection
The routers on both sides of the Voice over IP connection must be configured for trunk connections. For the scenario described in Figure 11, configure Router A to support trunk connections as follows:
configure terminal
connection trunk +15105554000
For the scenario described in Figure 11, configure Router B to support trunk connections as follows:
configure terminal
connection trunk +13085551000
To configure virtual trunk connections in Voice over IP, use the connection trunk command. The following conditions must be met for Voice over IP to support virtual trunk connections:
???Use the following voice port combinations:
???E&M to E&M (same type)
???FXS to FXO
???FXS to FXS (with no signaling)
???Do not perform number expansion on the destination pattern telephone numbers configured for trunk connection.
???Configure both end routers for trunk connections.
???The connected Cisco routers must be Cisco 2600 or Cisco 3600 series routers. The Cisco AS5300 does not currently support trunk connections.
Note Because virtual trunk connections do not support number expansion, the destination patterns on each side of the trunk connection must match exactly.
VoIP establishes the trunk connection immediately after it is configured. Both ports on either end of the connection are dedicated until you disable trunking for that connection. If for some reason the link between the two switching systems goes down, the virtual trunk
Configure Voice over IP for Microsoft NetMeeting
Configure a Trunk Connection
To configure virtual trunk connections in a VoIP network, use the following commands beginning in global configuration mode:
destination pattern (telephone number) configured for the destination VoIP dial peer. The value you configure for the connection trunk command must exactly match the value configured for the VoIP dial peer.
Note This configuration must be performed on both end routers for the trunk connection to be established.
Configure Voice over IP for Microsoft NetMeeting
Voice over IP can be used with Microsoft NetMeeting (Version 2.x) when the Cisco 3600 or Cisco 2600 series router is used as the voice gateway. Use the latest version of DirectX drivers from Microsoft on your PC to improve the voice quality of NetMeeting.
Configure Voice over IP to Support Microsoft NetMeeting
To configure Voice over IP to support NetMeeting, create a VoIP peer that contains the following information:
???
???
Session
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Examples
Configure Microsoft NetMeeting for Voice over IP
To configure NetMeeting to work with Voice over IP, complete the following steps:
Step 1 From the Tools menu in the NetMeeting application, select Options. NetMeeting will display the Options dialog box.
Step 2 Click the Audio tab.
Step 3 Click the ???Calling a telephone using NetMeeting??? check box.
Step 4 Enter the IP address of the Cisco AS5300 in the IP address field.
Step 5 Under General, click Advanced.
Step 6 Click the ???Manually configured compression settings??? check box.
Step 7 Select the CODEC value CCITT ulaw 8000Hz.
Step 8 Click the Up button until this CODEC value is at the top of the list.
Step 9 Click OK to exit.
Initiate a Call Using Microsoft NetMeeting
To initiate a call using Microsoft NetMeeting, perform the following steps:
Step 1 Click the Call icon from the NetMeeting application. Microsoft NetMeeting will open the call dialog box.
Step 2 From the Call dialog box, select call using H.323 gateway.
Step 3 Enter the telephone number in the Address field.
Step 4 Click Call to initiate a call to the Cisco 3600 series router from Microsoft NetMeeting.
1
Voice over IP Configuration Examples
The actual Voice over IP configuration procedure you complete depends on the actual topology of your voice network. The following configuration examples should give you a starting point. Of course, these configuration examples would need to be customized to reflect your network topology.
Configuration procedures are supplied for the following scenarios:
???
???
???
???
These examples are described in the following sections.
The following example shows how to configure Voice over IP for simple
In this example, a very small company, consisting of two offices, has decided to integrate Voice over IP into its existing IP network. One basic telephony device is connected to Router
Note In this example, only the calling end (Router
Figure 12
S6612
Configuration for Router
hostname
!Create voip dial peer 10
!Define its associated telephone number and IP address
session target ipv4:40.0.0.1
!Request RSVP
!Create pots dial peer 1
!Define its associated telephone number and voice port
port 1/0/0
!Configure serial interface 0/0
interface Serial0/0
ip address 10.0.0.1 255.0.0.0 no ip
!Configure RTP header compression ip rtp
ip rtp
!Enable RSVP on this interface
ip rsvp bandwidth 48 48
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Examples
clockrate 64000
router igrp 888 network 10.0.0.0 network 20.0.0.0 network 40.0.0.0
Configuration for Router
hostname
!Configure serial interface 1/0 interface Serial1/0
ip address 10.0.0.2 255.0.0.0
!Configure RTP header compression ip rtp
ip rtp
!Enable RSVP on this interface
ip rsvp bandwidth 96 96
!Configure serial interface 1/3 interface Serial1/3
ip address 20.0.0.1 255.0.0.0
!Configure RTP header compression ip rtp
ip rtp
!Enable RSVP on this interface
ip rsvp bandwidth 96 96
! Configure IGRP router igrp 888
network 10.0.0.0 network 20.0.0.0 network 40.0.0.0
Configuration for Router
hostname
!Configure serial interface 1/0 interface Serial1/0
ip address 40.0.0.2 25.0.0.0
!Configure RTP header compression ip rtp
ip rtp
!Enable RSVP on this interface
ip rsvp bandwidth 96 96
!Configure serial interface 1/3 interface Serial1/3
ip address 20.0.0.2 255.0.0.0
!Configure RTP header compression ip rtp
ip rtp
!Enable RSVP on this interface
ip rsvp bandwidth 96 96
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Examples
! Configure IGRP router igrp 888
network 10.0.0.0 network 20.0.0.0 network 40.0.0.0
Configuration for Router
hostname
!Create pots dial peer 2
!Define its associated telephone number and voice port
port 1/0/0
!Create voip dial peer 20
!Define its associated telephone number and IP address
session target ipv4:10.0.0.1
!Configure serial interface 0/0 interface Serial0/0
ip address 40.0.0.1 255.0.0.0 no ip
!Configure RTP header compression ip rtp
ip rtp
!Enable RSVP on this interface
ip rsvp bandwidth 96 96
! Configure IGRP router igrp 888
network 10.0.0.0 network 20.0.0.0 network 40.0.0.0
Linking PBX Users with E&M Trunk Lines
Linking PBX Users with E&M Trunk Lines
The following example shows how to configure Voice over IP to link PBX users with E&M trunk lines.
In this example, a company wants to connect two offices: one in San Jose, California and the other in Salt Lake City, Utah. Each office has an internal telephone network using PBX, connected to the voice network by an E&M interface. Both the Salt Lake City and the San Jose offices are using E&M Port Type II, with
Figure 13 illustrates the topology of this connection example.
Figure 13 Linking PBX Users with E&M Trunk Lines Example
S6616
Note This example assumes that the company already has established a working IP connection between its two remote offices.
Configuration for Router SJ
hostname sanjose
!Configure pots dial peer 1
port 1/0/0
!Configure pots dial peer 2
port 1/0/1
!Configure voip dial peer 3
session target ipv4:172.16.65.182
!Configure the E&M interface
signal immediate operation
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Examples
!Configure the serial interface interface serial 0/0
description serial interface type dce (provides clock) clock rate 2000000
ip address 172.16.1.123 no shutdown
Configuration for Router SLC
!Configure the E&M interface
signal immediate operation
!Configure the serial interface interface serial 0/0
description serial interface type dte ip address 172.16.65.182
no shutdown
Note PBXs should be configured to pass all DTMF signals to the router. We recommend that you do not configure store and forward tone.
Note If you change the gain or the telephony port, make sure that the telephony port still accepts DTMF signals.
PSTN Gateway Access Using FXO Connection
PSTN Gateway Access Using FXO Connection
The following example shows how to configure Voice over IP to link users with the PSTN gateway using an FXO connection.
In this example, users connected to Router SJ in San Jose, California can reach PSTN users in Salt Lake City, Utah via Router SLC. Router SLC in Salt Lake City is connected directly to the PSTN through an FXO interface.
Figure 14 illustrates the topology of this connection example.
Figure 14 PSTN Gateway Access Using FXO Connection Example
Note This example assumes that the company already has established a working IP connection between its two remote offices.
Configuration for Router SJ
!Configure pots dial peer 1
!Configure voip dial peer 2
session target ipv4:172.16.65.182
! Configure the serial interface interface serial 0/0
clock rate 2000000
ip address 172.16.1.123 no shutdown
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Examples
Configuration for Router SLC
!Configure pots dial peer 1
port 1/0/0
!Configure voip dial peer 2
! Configure serial interface interface serial 0/0
ip address 172.16.65.182 no shutdown
PSTN Gateway Access Using FXO Connection (PLAR Mode)
The following example shows how to configure Voice over IP to link users with the PSTN Gateway using an FXO connection (PLAR mode).
In this example, PSTN users in Salt Lake City, Utah, can dial a local number and establish a private line connection in a remote location. As in the previous example, Router SLC in Salt Lake City is connected directly to the PSTN through an FXO interface.
Figure 15 illustrates the topology of this connection example.
Figure 15 PSTN Gateway Access Using FXO Connection (PLAR Mode)
PSTN user
PSTN cloud
Note This example assumes that the company already has established a working IP connection between its two remote offices.
PSTN Gateway Access Using FXO Connection (PLAR Mode)
Configuration for Router SJ
!Configure pots dial peer 1
!Configure voip dial peer 2
session target ipv4:172.16.65.182
! Configure the serial interface interface serial 0/0
clock rate 2000000
ip address 172.16.1.123 no shutdown
Configuration for Router SLC
!Configure pots dial peer 1
port 1/0/0
!Configure voip dial peer 2
!Configure the
!Configure the serial interface interface serial 0/0
ip address 172.16.65.182 no shutdown
Configuring Voice over IP for the Cisco 3600 Series
Voice over IP Configuration Examples