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.
Figure 17
West Router Configured for Remote Dial Peers
West
dial-peer voice 501 voip
destination-pattern 1919555....
session target ipv4:192.168.11.3
num-exp 5.... 1919555....
Source
The West router is now configured to send calls to the East router.
Table 7 shows how to configure the East router to send calls to the West router.
Table 7
East Router Remote Dial Peers with Wildcards
Remote Location
Telephone Number
West
408 555-xxxx
Enter the following information on the East router to create the dial-peer configuration given in Table 7:
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.
Figure 18
East Router Configured for Remote Dial Peers
192.168.19.27
West
408 555-xxxx
Destination
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.
22
192.168.11.3
IP cloud
East
Destination
IP Address
192.168.19.27
IP cloud
dial-peer voice 801 voip
destination-pattern 1408555....
session target ipv4:192.168.19.27
num-exp 5.... 1408555....
919 555-xxxx
Dial-Peer Tag
801
East
Source