22

You can simplify this process 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 the West router to reach a telephone on the East
router.
These commands are summarized in Figure 17.
Figure17 West Router Configured for Remote Dial Peers
The West router is now configured to send calls to the East router.
Table7 shows how to configure the East router to send calls to the West router.
Enter the following information on the East router to create the dial-peer configuration given in Table7:
East(config)# num-exp 5.... 1408555....
East(config)# dial-peer voice 801 voip
East(config-dial-peer)# destination-pattern 1408555....
East(config-dial-peer)# session target ipv4:192.168.19.27
These commands are summarized in Figure 18.
Figure18 East Router Configured for Remote Dial Peers
Other Routers on the Network
If the path between the endpoints of a voice call travels through intermediate routers, configure those routers for VoIP traffic,
as described in the “Configuring FXS Interfaces” section on page 17.
You need to configure POTS or VoIP dial peers on an intermediate router only if that router also has voice devices attached to it.
Table7 East Router Remote Dial Peers with Wildcards

Remote Location Telephone Number IP Address Dial-Peer Tag

West 408 555-xxxx 192.168.19.27 801
919 555-xxxx
East
West
22336
192.168.11.3
dial-peer voice 501 voip
destination-pattern 1919555….
session target ipv4:192.168.11.3
num-exp 5…. 1919555….
Source Destination
IP cloud
408 555-xxxx
EastWest
22639
192.168.19.27
Destination Source
dial-peer voice 801 voip
destination-pattern 1408555….
session target ipv4:192.168.19.27
num-exp 5.... 1408555....
IP cloud