How will VoIP dial peer 7 be used when Phone1 calls Phone2?

You issue the show running-config command on Router1 and Router2 and receive the following partial output
on both routers:
Dial-peer voice 7 voip
destinationpattern …….
session target ipv4:10.11.12.13
How will VoIP dial peer 7 be used when Phone1 calls Phone2? (Select the best answer.)

You issue the show running-config command on Router1 and Router2 and receive the following partial output
on both routers:
Dial-peer voice 7 voip
destinationpattern …….
session target ipv4:10.11.12.13
How will VoIP dial peer 7 be used when Phone1 calls Phone2? (Select the best answer.)

A.
Router1 will use it as an inbound dial peer.

B.
Router1 will use it as an outbound dial peer.

C.
Router2 will use it as an inbound dial peer.

D.
Router2 will use it as an outbound dial peer.

Explanation:
Router1 will use Voice over IP (VoIP) dial peer 7 as an outbound dial peer. A dial peer defines a logical route to
a telephony endpoint. A voice gateway will match the call information with a dial peer configured on the router
and create a corresponding call leg. A call leg is a logical inbound or outbound connection for a voice gateway.
Dial peers that match inbound calls create inbound call legs, and dial peers that match outbound calls create
outbound call legs.
A dial peer is a plain old telephone service (POTS) dial peer if the call comes from, or is destined to, an analog
phone, the public switched telephone network (PSTN), or an analog public branch exchange (PBX). A dial peer
is a VoIP dial peer if the call comes from, or is destined to, an IP phone or another voice gateway across an IP
WAN.
In this scenario, Router1 is the originating voice gateway and Router2 is the terminating voice gateway. When
Router 1 receives a call from Phone1, Router1 attempts to match the inbound call information to a POTS dial
peer because Phone1 is an analog phone connected to a foreign exchange station (FXS) port on Router1. If no
matching dial peer is found, Router1 will use the default dial peer. Dial peer 7 does not match, because it is a
VoIP dial peer, not a POTS dial peer. Therefore, Router1 will not use dial peer 7 as an inbound dial peer.
Router1 must then send the call over an IP WAN network; therefore, Router1 attempts to match the outbound
call information to a VoIP dial peer. If no matching dial peer is found, Router1 will drop the call. Dial peer 7 is a
VoIP dial peer, and the destinationpattern ……. command matches the destination number 5551234. Therefore,
Router1 will use dial peer 7 as an outbound dial peer.
Router2 receives the inbound call from Router1 and attempts to match the inbound call information to a VoIP
dial peer. If no matching dial peer is found, Router2 will use the default dial peer. Dial peer 7 does not match,
because the destinationpattern …….command does not match the originating extension 4273. Therefore,
Router2 will not use dial peer 7 as an inbound dial peer.
Finally, Router2 must send the call over the PSTN? therefore, Router2 attempts to match the outbound call
information to a POTS dial peer and sends the call to Phone2 over the PSTN. If no matching dial peer is found,
Router2 will drop the call. Dial peer 7 does not match, because it is a VoIP dial peer, not a POTS dial peer.
Therefore, Router2 will not use dial peer 7 as an outbound dial peer.
A voice gateway router will perform the following evaluations when it receives an inbound call:
1. The router will attempt to match the destination Dialed Number Identification Service (DNIS) to an incoming
called-number DNIS command.
2. The router will attempt to match the source Automatic Number Identfication (ANI) to an answer-address ANI
command.
3. The router will attempt to match the source ANI to a destination-pattern string command.
4. The router will attempt to match the incoming call’s voice port to a port command.
5. If no match is found, the router will use the default dial peer.
Once a dial peer match is found, the router will immediately create an inbound call leg without proceeding to the
next step. If multiple matches are found for a step, the router will select the longest explicit match. The default
dial peer will only be used if no match is found. You cannot configure any of the settings for the default dial
peer.
To create an outbound call leg, a voice gateway router will perform the following evaluations:
1. The router will attempt to match the destination DNIS to a destination-pattern string command.
2. If the dial peer is a POTS dial peer, the router will forward the call to the port indicated by the corresponding
port port command.
3. If the dial peer is a VoIP dial peer, the router will forward the call to the IP address indicated by thecorresponding session target ipv4: ip-address command.
4. If no match is found, the call will be dropped.
As with the inbound call leg, the router will immediately create an outbound call leg as soon as a match is
found. If multiple matches are found for a step, the router will select the longest explicit match. The call will be
dropped only if no match is found.

https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/12164-dialpeer-call-leg.html



Leave a Reply 0

Your email address will not be published. Required fields are marked *