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

Checking the Configuration The East router now sends all calls whose numbers begin with the special prefix 7 over the IP network to the West router. (The entire number is sent, including the 7.) The West router removes the 7 and passes the calls through its analog FXO gateway to the local PSTN. Note In this example, West voice port 1/0/0 has two separate POTS dials 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 West PSTN originating from the East router. Checking the Configuration If you configured your FXO interface according to this example, you should now be able to place outgoing calls over the PSTN. If you have trouble, use the show voice port command to make sure that the VIC is installed correctly. Use the show dial-peer voice command to make sure that the data you configured is correct, and test the PSTN by connecting a handset directly to the PSTN outlet and placing a call. Voice over IP Quick Start Guide 25

Configuring E&M Interfaces Configuring E&M Interfaces 26 Voice over IP Quick Start Guide If you have more than a few voice users at each location, then the cost of voice ports and routers, and the effort needed to configure dial peers for all the combinations of origins and destinations, increases rapidly. In this situation, it may be more efficient to use a PBX at each location to switch local traffic and to direct incoming calls, and to connect the PBXs over an IP network using E&M voice interface cards. The following example again shows a company with two offices, West and East. Now each office has a PBX to operate its internal telephone network, while the IP network carries voice traffic between the offices. Figure 20 illustrates the topology of this connection. Each PBX connects to the IP router over an E&M interface connection. Figure 20 Linking PBXs over the IP Network (Local Dial Peers) 408 555-xxxx Destination E&M VIC IP cloud 3/0/0 192.168.11.3 919 958-xxxx PBX PBX West East dial-peer voice 111 pots dest-pat +1408555…. port 3/0/0 Both PBXs in this example use E&M interface Type 2, with four-wire operation and immediate-start signaling. The values you should use for your configuration depend on your PBX, and should be available from your telecommunications department or the PBX manufacturer. For more information about E&M interface configuration commands, see the “Voice over IP Commands” chapter of the Voice over IP Software Configuration Guide. In the following configuration, West users can dial 8 and a four-digit extension to reach telephones in the East Office. East users can dial 5 and a four-digit extension to reach telephones in the West office. The West router is connected to the PBX over E&M port 3/0/0. That means that this port is associated with local (POTS) dial peers for incoming calls. But you no longer need to associate every telephone number with its own port. Instead, you can configure a local dial peer as if all the West telephones (represented by a wild-card destination pattern) are connected directly to this port, as shown in the following commands: West(config)# dial-peer voice 111 pots West(config-dial-peer)# dest-pat +1408555.... West(config-dial-peer)# port 3/0/0 Remote (VoIP) dial peers for outgoing calls associate destination phone numbers on the East router with that router’s IP address, just as before (see Figure 21): West(config)# dial-peer voice 121 voip West(config-dial-peer)# dest-pat +1919958.... West(config-dial-peer)# session-target ipv4:192.168.11.3 West(config-dial-peer)# exit West(config)# Source 10014

Configuring E&M Interfaces<br />

Configuring E&M Interfaces<br />

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

If you have more than a few <strong>voice</strong> users at each location, then the cost of <strong>voice</strong> <strong>port</strong>s and routers, and<br />

the effort nee<strong>de</strong>d to configure dial peers for all the combinations of origins and <strong>de</strong>stinations,<br />

increases rapidly. In this situation, it may be more efficient to use a PBX at each location to switch<br />

local traffic and to direct incoming calls, and to connect the PBXs over an IP network using E&M<br />

<strong>voice</strong> interface cards.<br />

The following example again <strong>show</strong>s a company with two offices, West and East. Now each office<br />

has a PBX to operate its internal telephone network, while the IP network carries <strong>voice</strong> traffic<br />

between the offices. Figure 20 illustrates the topology of this connection. Each PBX connects to the<br />

IP router over an E&M interface connection.<br />

Figure 20 Linking PBXs over the IP Network (Local Dial Peers)<br />

408 555-xxxx<br />

Destination<br />

E&M VIC<br />

IP cloud<br />

3/0/0 192.168.11.3<br />

919 958-xxxx<br />

PBX PBX<br />

West East<br />

dial-peer <strong>voice</strong> 111 pots<br />

<strong>de</strong>st-pat +1408555….<br />

<strong>port</strong> 3/0/0<br />

Both PBXs in this example use E&M interface Type 2, with four-wire operation and immediate-start<br />

signaling. The values you should use for your configuration <strong>de</strong>pend on your PBX, and should be<br />

available from your telecommunications <strong>de</strong>partment or the PBX manufacturer. For more<br />

information about E&M interface configuration commands, see the “Voice over IP Commands”<br />

chapter of the Voice over IP Software Configuration Gui<strong>de</strong>.<br />

In the following configuration, West users can dial 8 and a four-digit extension to reach telephones<br />

in the East Office. East users can dial 5 and a four-digit extension to reach telephones in the West<br />

office.<br />

The West router is connected to the PBX over E&M <strong>port</strong> 3/0/0. That means that this <strong>port</strong> is<br />

associated with local (POTS) dial peers for incoming calls. But you no longer need to associate every<br />

telephone number with its own <strong>port</strong>. Instead, you can configure a local dial peer as if all the West<br />

telephones (represented by a wild-card <strong>de</strong>stination pattern) are connected directly to this <strong>port</strong>, as<br />

<strong>show</strong>n in the following commands:<br />

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

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

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

Remote (VoIP) dial peers for outgoing calls associate <strong>de</strong>stination phone numbers on the East router<br />

with that router’s IP address, just as before (see Figure 21):<br />

West(config)# dial-peer <strong>voice</strong> 121 voip<br />

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

West(config-dial-peer)# session-target ipv4:192.168.11.3<br />

West(config-dial-peer)# exit<br />

West(config)#<br />

Source<br />

10014

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

Saved successfully!

Ooh no, something went wrong!