show voice port - Tecnológico de Costa Rica

show voice port - Tecnológico de Costa Rica show voice port - Tecnológico de Costa Rica

bibliodigital.itcr.ac.cr
from bibliodigital.itcr.ac.cr More from this publisher
02.07.2013 Views

Configure Number Expansion 2-14 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 Cisco IOS Release 11.3 Wide-Area Networking Configuration Guide. 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: destination-pattern and num-exp. Before you configure these two commands, it is helpful to map individual telephone extensions with their full E.164 dialed numbers. This can be done easily by creating a number expansion table. Create a Number Expansion Table In Figure 2-2, 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 Access Server 1 (located to the left of the IP cloud) is (408) 526-xxxx, where xxxx identifies the individual dial peers by extension. The destination pattern (or expanded telephone number) associated with Access Server 2 (located to the right of the IP cloud) is (729) 422-xxxx. Figure 2-2 Sample Voice over IP Network 408 555-1002 408 555-1001 408 555-1003 Cisco AS5300 Voice port Router 1 0:D WAN 10.1.1.1 1:D T1 ISDN PRI Table 2-1 shows the number expansion table for this scenario. Voice over IP for the Cisco 3600 Series Software Configuration Guide IP cloud 729 555-1001 729 555-1002 729 555-1000 729 555-1003 T1 ISDN PRI Voice port 0:D WAN 10.1.1.2 Cisco AS5300 Router 2 10351

Table 2-1 Sample Number Expansion Table Configure Number Expansion 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 Access Server 1 and Access Server 2. Configure Number Expansion Configure Dial Peers Extension Destination Pattern Num-Exp Command Entry 5.... 40852..... num-exp 5.... 408525.... 6.... 40852..... num-exp 6.... 408526.... 7.... 40852..... num-exp 7.... 408527.... 1... 729422.... num-exp 2.... 729422.... To define how to expand an extension number into a particular destination pattern, use the following command in global configuration mode: Command Purpose num-exp extension-number extension-string Configure number expansion. You can verify the number expansion information by using the show num-exp command to verify that you have mapped the telephone numbers correctly. 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. 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 2-3 and Figure 2-4. A call leg is a discrete segment of a call connection that lies between two points in the connection. All of the call legs for a particular connection have the same connection ID. There are two different kinds of dial peers: • POTS—Dial peer describing the characteristics of a traditional telephony network connection. POTS peers point to a particular voice port on a voice network device. • VoIP—Dial peer describing the characteristics of a packet network connection; in the case of Voice over IP, this is an IP network. VoIP peers point to specific VoIP devices. An end-to-end call is comprised of four call legs, two from the perspective of the source access server as shown in Figure 2-3, and two from the perspective of the destination access server as shown in Figure 2-4. A dial peer is associated with each one of these call legs. Dial peers are used to apply attributes to call legs and to identify call origin and destination. Attributes applied to a call leg include QoS, CODEC, VAD, and fax rate. Configuring Voice over IP for the Cisco 3600 Series 2-15

Table 2-1 Sample Number Expansion Table<br />

Configure Number Expansion<br />

Note You can use the period symbol (.) to represent variables (such as extension numbers) in a<br />

telephone number.<br />

The information inclu<strong>de</strong>d in this example needs to be configured on both Access Server 1 and Access<br />

Server 2.<br />

Configure Number Expansion<br />

Configure Dial Peers<br />

Extension Destination Pattern Num-Exp Command Entry<br />

5.... 40852..... num-exp 5.... 408525....<br />

6.... 40852..... num-exp 6.... 408526....<br />

7.... 40852..... num-exp 7.... 408527....<br />

1... 729422.... num-exp 2.... 729422....<br />

To <strong>de</strong>fine how to expand an extension number into a particular <strong>de</strong>stination pattern, use the following<br />

command in global configuration mo<strong>de</strong>:<br />

Command Purpose<br />

num-exp extension-number extension-string Configure number expansion.<br />

You can verify the number expansion information by using the <strong>show</strong> num-exp command to verify<br />

that you have mapped the telephone numbers correctly.<br />

After you have configured dial peers and assigned <strong>de</strong>stination patterns to them, you can verify<br />

number expansion information by using the <strong>show</strong> dialplan number command to see how a<br />

telephone number maps to a dial peer.<br />

The key point to un<strong>de</strong>rstanding how Voice over IP functions is to un<strong>de</strong>rstand dial peers. Each dial<br />

peer <strong>de</strong>fines the characteristics associated with a call leg, as <strong>show</strong>n in Figure 2-3 and Figure 2-4. A<br />

call leg is a discrete segment of a call connection that lies between two points in the connection. All<br />

of the call legs for a particular connection have the same connection ID.<br />

There are two different kinds of dial peers:<br />

• POTS—Dial peer <strong>de</strong>scribing the characteristics of a traditional telephony network connection.<br />

POTS peers point to a particular <strong>voice</strong> <strong>port</strong> on a <strong>voice</strong> network <strong>de</strong>vice.<br />

• VoIP—Dial peer <strong>de</strong>scribing the characteristics of a packet network connection; in the case of<br />

Voice over IP, this is an IP network. VoIP peers point to specific VoIP <strong>de</strong>vices.<br />

An end-to-end call is comprised of four call legs, two from the perspective of the source access<br />

server as <strong>show</strong>n in Figure 2-3, and two from the perspective of the <strong>de</strong>stination access server as <strong>show</strong>n<br />

in Figure 2-4. A dial peer is associated with each one of these call legs. Dial peers are used to apply<br />

attributes to call legs and to i<strong>de</strong>ntify call origin and <strong>de</strong>stination. Attributes applied to a call leg<br />

inclu<strong>de</strong> QoS, CODEC, VAD, and fax rate.<br />

Configuring Voice over IP for the Cisco 3600 Series 2-15

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!