background image

 

22

Cisco 1751 Voice-over-IP Quick Start Guide

78-11259-05

  Configuring Voice-over-IP

Figure 18

FXO Gateway to PSTN

To create a POTS dial peer for an FXS interface as explained earlier, you enter the complete telephone 
number of the attached telephone as the destination pattern for incoming calls. However, to create a 
POTS dial peer for an FXO interface, the destination pattern refers to outgoing calls, and you can include 
wildcards in it because the PSTN performs the switching. 

The VoIP feature can also remove digits that you do not want to send to the PSTN. For instance, to dial 
9 to reach an outside line (that is, the analog PSTN), enter the following commands: 

West> 

enable

Password:

West# 

configure terminal

West(config)# 

dial-peer voice 201 pots

West(config-dial-peer)# 

destination-pattern 9

West(config-dial-peer)# 

port 0/0

When you dial 9, the router makes a connection to the PSTN through voice port 0/0. The PSTN then 
provides a dial tone, and any digits you enter on the telephone thereafter are interpreted on the PSTN.

To enable 

East

 router users to make calls over the 

West

 router local PSTN, enter the following 

commands: 

East(config)# 

dial-peer voice 701 voip

East(config-dial-peer)# 

destination-pattern 7

East(config-dial-peer)# 

session target ipv4:192.168.19.27

West(config)# 

dial-peer voice 601 pots

West(config-dial-peer)# 

destination-pattern 7

West(config-dial-peer)# 

port 0/0

When you dial 7 on the 

East

 router, the call is connected to the PSTN on the 

West

 router. The PSTN then 

provides a dial tone, and any digits you enter on the telephone thereafter are interpreted on the PSTN. 

Note

In this example, 

West

 router voice port 0/0 has two separate POTS dial peers associated with it. Dial peer 

201 matches calls beginning with the digit 9 and handles PSTN calls originating from the 

West

 router. 

Dial peer 601 matches calls beginning with the digit 7 and handles calls to the PSTN originating from 
the 

East

 router. 

West

IP cloud

PSTN

cloud

51077

FXO VIC

1/0

FXS VIC

0/0

Source

Destination

dial-peer voice 201 pots

destination-pattern 9
port 0/0

Summary of Contents for 1751

Page 1: ...ards page 2 Cisco Router and Security Device Manager page 9 Configuring Voice over IP page 10 List of Terms page 30 Obtaining Documentation page 31 Documentation Feedback page 32 Obtaining Technical Assistance page 32 Obtaining Additional Publications and Information page 33 Audience This guide is intended primarily for users who configure and maintain routers but are not necessarily familiar with...

Page 2: ...he WAN There are four types of VIC interfaces as shown in Figure 3 FXS foreign exchange station interface connects directly to a standard telephone fax machine or similar device The FXS VIC interface supplies ringing voltage dial tone and similar signals to the station Ports on this VIC are color coded gray FXO foreign exchange office interface connects local calls to a PSTN central office or to a...

Page 3: ... insert a WIC or a VIC in the router Step 1 Make sure the router is turned off and is disconnected from the power supply Step 2 Loosen the thumbscrews on the WIC or VIC slot cover on the rear panel You should be able to loosen the screws using your fingers however if the screws are very tight you might need to use a Phillips screwdriver Step 3 Remove the metal plate that covers the card slot Step ...

Page 4: ...chine Standard RJ 11 modular telephone cable to connect FXO VIC ports color coded pink to the PSTN or to a PBX that does not support E M signaling through a telephone wall outlet Standard RJ 48S connector and cable to connect E M VIC ports color coded brown to a PBX line The cable wiring depends on the type of connection For details refer to the Cisco WAN Interface Cards Hardware Installation Guid...

Page 5: ...s Figure 4 shows the wiring patterns for FXS and FXO VIC connectors and Table 1 lists the FXS and FXO pinouts Note Pins that are not used should not be connected Figure 4 RJ 11 Wiring for FXS and FXO Connectors SEE MANUAL BEFORE INSTALLATION VIC E M IN USE IN USE 1 0 SEE MANUAL BEFORE INSTALLATION VIC FXO IN USE IN USE 1 0 SEE MANUAL BEFORE INSTALLATION VIC FXS IN USE IN USE 1 0 PBX FXS VIC FXO VI...

Page 6: ...show voice port command to make sure that the VIC is installed correctly or try connecting a different handset to the VIC 2 Port ISDN BRI Card The ISDN BRI NT TE voice interface card provides a client side TE ISDN S T physical interface for connection to an NT1 terminating an ISDN telephone network It can also be configured to provide a network termination NT interface with phantom power Each of i...

Page 7: ... the router be sure to connect the BRI cable to the BRI connector only and not to any other RJ 45 connector Step 1 Confirm that the router is still turned off Step 2 Connect one end of a straight through RJ 45 to RJ 45 cable to the card s RJ 45 port See Figure 7 Figure 7 Connecting the 2 Port ISDN BRI Card 51075 VIC 2B NT TE B1 B2 OK SEE MANUAL BEFORE INSTALLATION ISDN BRI S T 1 ISDN BRI S T 0 RJ ...

Page 8: ...llations see the Cisco 1751 Router Software Configuration Guide available on the Documentation CD ROM Determining Voice Port Numbering Enter the show voice port command to identify the port numbers of voice interfaces installed in your router Router show voice port slot number port Figure 8 on page 9 shows Cisco 1751 router slot numbering Table 3 Interface Pin Numbers and Functions ISDN BRI NT TE ...

Page 9: ...tructions in the Cisco Router and Security Device Manager SDM Quick Start Guide If this document was not shipped with your router you can obtain SDM and instructions for installing it on your router from the following location http www cisco com pcgi bin tablebuild pl sdm 5 12 12 VDC CONSOLE AUX Model Cisco 1751 10 100 ETHERNET SLOT 2 SEE MANUAL BEFORE INSTALLATION 1 IN USE VIC 2FXO PVDM OK MOD OK...

Page 10: ...he major configuration tasks to configure the router Figure 10 Voice and Data Traffic on an IP Network Configuration Tools You can configure VoIP by using one of the following tools Cisco ConfigMaker application Cisco IOS command line interface CLI Cisco ConfigMaker Application Use the Cisco ConfigMaker application to address and configure one or more devices or to create an entire network A serie...

Page 11: ...office FXO voice ports The default voice port values are usually adequate for both FXS and FXO voice ports However if you need to change the default values refer to the Cisco 1751 Router Software Configuration Guide E M voice port The default values for an E M voice port are not sufficient to enable voice and data transmission over the IP network E M values must match those of the connected PBX de...

Page 12: ...ower up the router Step 3 If the current configuration is no longer valid for instance because you added an interface after about 1 minute you will see the following prompt Would you like to enter the initial configuration dialog yes Do not use the yes default You need to enter no to enter the normal operating mode of the router Note If the current configuration is valid you enter the normal opera...

Page 13: ...guring the router Cisco IOS software uses two configuration files startup config and running config The startup config file is a backup file that has all the information you specified about the router interfaces and is used by the router on the next restart The running config file has the current operating configuration with the changes you have just made You can make any changes to the running co...

Page 14: ...1 pots West config dial peer destination pattern 14085553737 West config dial peer port 0 0 The destination pattern command defines the telephone number associated with the POTS dial peer The port command associates the POTS dial peer with a specific logical dial interface normally the voice port connecting your router to the local POTS network VoIP dial peer associates a telephone number with an ...

Page 15: ... explains how to configure ports on FXS VICs that connect directly to a standard telephone fax machine or similar device Figure 11 shows a basic voice network A small business uses a Cisco 1751 router named West to provide telephone and fax connections among employees in its office Two of these telephones are connected to an FXS VIC port in the West router Figure 11 Basic Voice Network West Router...

Page 16: ...iguring dial peers is similar to configuring static IP routes you are telling the router what path to follow to route the call All voice technologies use dial peers to define the characteristics associated with a call leg A call leg is a segment of a call path for instance between a telephone and a router a router and a network a router and a PBX or a router and the PSTN Each call leg corresponds ...

Page 17: ... because it is the destination for an incoming or outgoing call Enter these numbers with the destination pattern command A destination pattern can include asterisks and pound signs from the telephone keypad and commas and periods which have special meanings Parentheses hyphens slashes and spaces which are often used to make telephone numbers easier for humans to read are not allowed Notice that th...

Page 18: ...ial peer destination pattern 19195559595 East config dial peer port 1 1 East config dial peer exit East config These commands are summarized in Figure 14 Figure 14 East Router Configured for Local Dial Peers Table 8 East Router Local Dial Peers Telephone Number Destination Pattern Voice Port Dial Peer Tag 919 555 8282 19195558282 1 0 901 919 555 9595 19195559595 1 1 902 919 555 8282 919 555 9595 F...

Page 19: ... IP network IP routers know how to locate IP addresses on the network but they do not know how to locate telephone numbers To route an outgoing voice call over this connection the West router has to associate a telephone number in the East office with the IP address of the East router Table 9 assigns a dial peer tag to each telephone number and its associated IP address on the West router This typ...

Page 20: ...em DNS name as follows West config dial peer session target dns voice eastrouter com Configure a dial peer on each router for each telephone number on every other router connected to it Make things easier by configuring number expansion for East router telephone numbers on the West router West config num exp 5 1919555 Now users can dial a five digit extension beginning with 5 from a telephone on t...

Page 21: ...uter by following these examples you can place calls from that router to telephones on the remote routers using just the extension if you configured number expansion If you have trouble placing calls ping the remote router to make sure you have IP connectivity or use the show dial peer voice command to verify that the data you configured is correct Note Refer to the section Tuning Parameters for R...

Page 22: ...ovides a dial tone and any digits you enter on the telephone thereafter are interpreted on the PSTN To enable East router users to make calls over the West router local PSTN enter the following commands East config dial peer voice 701 voip East config dial peer destination pattern 7 East config dial peer session target ipv4 192 168 19 27 West config dial peer voice 601 pots West config dial peer d...

Page 23: ...ocation to switch local traffic and direct incoming calls and then use E M VICs to connect the PBXs over an IP network Figure 19 shows a company with two offices West and East Each office has a PBX to operate its internal telephone network and the IP network carries voice traffic between the offices Each PBX connects to an E M VIC port in the router Figure 19 Linking PBXs over the IP Network Local...

Page 24: ...l peer voice 111 pots West config dial peer destination pattern 1408555 West config dial peer port 0 0 Configure VoIP dial peers for outgoing calls and associate destination phone numbers on the East router with that router IP address as shown in Figure 20 and in the following commands West config dial peer voice 121 voip West config dial peer destination pattern 1919555 West config dial peer sess...

Page 25: ...to make it easy for East users to dial numbers on the West router West config num exp 5 1408555 Finally configure the E M port East config voice port 0 1 East config voice port signal immediate East config voice port operation 4 wire East config voice port type 2 Checking E M Interface Configuration If you configured the E M interfaces correctly you can place calls from a telephone served by one P...

Page 26: ...thernet or Fast Ethernet and voice and data traffic together occupy only a small fraction of the bandwidth available you might not need to provide QoS See Figure 21 Figure 21 Bandwidth v Quality of Service IP Precedence Use the ip precedence command to give voice packets a higher priority over other IP data traffic Every IP packet is given a precedence level In IP precedence the numbers 1 through ...

Page 27: ...ig if ip rsvp bandwidth 96 24 The default maximum bandwidth is 75 percent of the bandwidth available on each interface RSVP must be enabled at each LAN or WAN interface that voice packets will travel across After enabling RSVP you must also use the req qos dial peer configuration command to request an RSVP session on each VoIP dial peer Otherwise no bandwidth is reserved for voice traffic Router c...

Page 28: ...f ip rtp reserve lowest UDP port range of ports For virtual templates only apply the virtual template to the multilink bundle Router config if multilink virtual template 1 To create a virtual template interface enter the following interface virtual template global configuration command Router config interface virtual template 1 RTP Header Compression RTP header compression on a PPP HDLC or similar...

Page 29: ...nfig if ip address 192 168 19 0 255 0 0 0 Router config if ip rsvp bandwidth 48 48 RTP header compression Configure RTP header compression on the subinterfaces to minimize the size of the voice packet Refer to the section on RTP Header Compression earlier in this guide The following command configures RTP header compression on the selected subinterface Router config if frame relay ip rtp header co...

Page 30: ...e the FXO VIC connects local calls to a PSTN central office or to a PBX This is the interface a standard telephone provides FXS Foreign exchange station a type of VIC interface The FXS VIC connects directly to a standard telephone fax machine or similar device over a standard RJ 11 modular telephone cable and supplies ringing voltage dial tone and similar signals to it HDLC High Level Data Link Co...

Page 31: ...co product capabilities installation or configuration There is little or no effect on your business operations Obtaining Documentation Cisco documentation and additional literature are available on Cisco com Cisco also provides several ways to obtain technical assistance and other technical resources These sections explain how to obtain technical information from Cisco Systems Cisco com You can ac...

Page 32: ...technologies The website is available 24 hours a day 365 days a year at this URL http www cisco com techsupport Access to all tools on the Cisco Technical Support Website requires a Cisco com user ID and password If you have a valid service contract but do not have a user ID or password you can register at this URL http tools cisco com RPF register register do Submitting a Service Request Using th...

Page 33: ...sistance with Cisco product capabilities installation or configuration There is little or no effect on your business operations Obtaining Additional Publications and Information Information about Cisco products technologies and network solutions is available from various online and printed sources Cisco Marketplace provides a variety of Cisco books reference guides and logo merchandise Visit Cisco...

Page 34: ...em using real world case studies and business strategies to help readers make sound technology investment decisions You can access iQ Magazine at this URL http www cisco com go iqmagazine Internet Protocol Journal is a quarterly journal published by Cisco Systems for engineering professionals involved in designing developing and operating public and private internets and intranets You can access t...

Reviews: