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

Requesting RSVP To create this configuration, you would enter the following commands on the East router: East(config)# num-exp 5.... +1408555.... East(config)# dial-peer voice 801 voip East(config-dial-peer)# dest-pat +1408555.... East(config-dial-peer)# session-target ipv4:192.168.19.27 These commands are summarized in Figure 18. Figure 18 East Router Configured for Remote Dial Peers 408 555-xxxx 192.168.19.27 West IP cloud Calling Between Routers If you configured RSVP on the WAN interface (see the section “Do You Need RSVP?” earlier in this guide), then you must also configure each VoIP dial peer to request an RSVP session, using the req-qos command: West(config-dial-peer)# req-qos controlled-load Otherwise no bandwidth is reserved for voice traffic. For further information about this command, see the Voice over IP Software Configuration Guide. Other Routers on the Network If the path between endpoints of a voice call travels through intermediate routers, you should configure those routers for VoIP traffic, as described in the section “Configuring the IP Network for Real-Time Voice Traffic” earlier in this guide. You need to configure local or remote dial peers on an intermediate router only if that router also has voice devices attached. Checking the Configuration After you configure remote dial peers (VoIP dial peers) on a router, you should be able to place calls from that router to telephones on the remote routers (using just the extension if you configured number expansion). If you have trouble, use the show dial-peer voice command to verify that the data you configured is correct, and ping the remote router to make sure you have connectivity. East Destination Source dial-peer voice 801 voip dest-pat +1408555…. session-target ipv:192.168.19.27 10012 Voice over IP Quick Start Guide 23

Configuring FXO Interfaces Configuring FXO Interfaces 24 Voice over IP Quick Start Guide FXO interfaces provide a gateway from the VoIP network to the analog PSTN, or to a PBX that does not support E&M signaling, so users can reach telephones and fax machines outside the VoIP network. Figure 19 shows a typical PSTN gateway attached to the West router. Figure 19 FXO Gateway to PSTN Destination PSTN cloud Source West FXO VIC 1/0/0 dial-peer voice 201 voip dest-pat +9……… port 1/0/0 To create a local (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. When you create a local dial peer for an FXO interface, however, the destination pattern refers to outgoing calls, and you can include wild cards in it, because the PSTN performs the switching. The VoIP feature can also remove digits that you don’t want to send to the PSTN. For instance, suppose you want to dial 9 to reach an outside line (that is, the analog PSTN). You would enter commands similar to these: West(config)# dial-peer voice 201 pots West(config-dial-peer)# dest-pat +9........... West(config-dial-peer)# port 1/0/0 Now, when you dial 9 followed by an 11-digit telephone number from a telephone attached to the West router, your call is connected through voice port 1/0/0 to the PSTN. The router software automatically removes the fixed part of the destination pattern—in this case, the digit 9—and sends the remaining 11 digits to the PSTN. Note The fixed part of the destination pattern is removed only on calls sent to analog (FXO) interfaces. The entire number is always sent to digital (FXS and E&M) interfaces. To enable East router users to make calls over the West router’s local PSTN, you could enter commands similar to these: East(config)# dial-peer voice 701 voip East(config-dial-peer)# dest-pat +7........... East(config-dial-peer)# session-target ipv4:192.168.19.27 West(config)# dial-peer voice 601 pots West(config-dial-peer)# dest-pat +7........... West(config-dial-peer)# port 1/0/0 IP cloud 10013

Configuring FXO Interfaces<br />

Configuring FXO Interfaces<br />

24 Voice over IP Quick Start Gui<strong>de</strong><br />

FXO interfaces provi<strong>de</strong> a gateway from the VoIP network to the analog PSTN, or to a PBX that does<br />

not sup<strong>port</strong> E&M signaling, so users can reach telephones and fax machines outsi<strong>de</strong> the VoIP<br />

network. Figure 19 <strong>show</strong>s a typical PSTN gateway attached to the West router.<br />

Figure 19 FXO Gateway to PSTN<br />

Destination<br />

PSTN<br />

cloud<br />

Source<br />

West<br />

FXO VIC<br />

1/0/0<br />

dial-peer <strong>voice</strong> 201 voip<br />

<strong>de</strong>st-pat +9………<br />

<strong>port</strong> 1/0/0<br />

To create a local (POTS) dial peer for an FXS interface, as explained earlier, you enter the complete<br />

telephone number of the attached telephone as the <strong>de</strong>stination pattern for incoming calls. When you<br />

create a local dial peer for an FXO interface, however, the <strong>de</strong>stination pattern refers to outgoing calls,<br />

and you can inclu<strong>de</strong> wild cards in it, because the PSTN performs the switching.<br />

The VoIP feature can also remove digits that you don’t want to send to the PSTN. For instance,<br />

suppose you want to dial 9 to reach an outsi<strong>de</strong> line (that is, the analog PSTN). You would enter<br />

commands similar to these:<br />

West(config)# dial-peer <strong>voice</strong> 201 pots<br />

West(config-dial-peer)# <strong>de</strong>st-pat +9...........<br />

West(config-dial-peer)# <strong>port</strong> 1/0/0<br />

Now, when you dial 9 followed by an 11-digit telephone number from a telephone attached to the<br />

West router, your call is connected through <strong>voice</strong> <strong>port</strong> 1/0/0 to the PSTN. The router software<br />

automatically removes the fixed part of the <strong>de</strong>stination pattern—in this case, the digit 9—and sends<br />

the remaining 11 digits to the PSTN.<br />

Note The fixed part of the <strong>de</strong>stination pattern is removed only on calls sent to analog (FXO)<br />

interfaces. The entire number is always sent to digital (FXS and E&M) interfaces.<br />

To enable East router users to make calls over the West router’s local PSTN, you could enter<br />

commands similar to these:<br />

East(config)# dial-peer <strong>voice</strong> 701 voip<br />

East(config-dial-peer)# <strong>de</strong>st-pat +7...........<br />

East(config-dial-peer)# session-target ipv4:192.168.19.27<br />

West(config)# dial-peer <strong>voice</strong> 601 pots<br />

West(config-dial-peer)# <strong>de</strong>st-pat +7...........<br />

West(config-dial-peer)# <strong>port</strong> 1/0/0<br />

IP cloud<br />

10013

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

Saved successfully!

Ooh no, something went wrong!