Which of the following command sets presents the dial peer commands in the order that they are evaluated by
a voice gateway for an inbound dial peer? (Select the best answer.)
A.
destination-pattern
port
session target
B.
incoming called-number
answer-address
destination-pattern
port
C.
incoming called-number
port
session target
destination-pattern
D.
port
incoming called-number
destination-pattern
answer-address
E.
port
incoming called-number
answer-address
Explanation:
The following command set presents the dial peer commands in the order that they are evaluated by a voice
gateway for an inbound dial peer:
incoming called-number
answer-address
destination-pattern
port
A dial peer defines a logical route to a telephony endpoint. A voice 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 incomingcalled-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 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 route the call 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.
The dial peer evaluation process will occur for every call leg along the path from the source endpoint to the
destination endpoint. A call leg is a logical inbound or outbound connection for a voice gateway. The originating
voice gateway and the terminating voice gateway between two telephony endpoints have one call leg in the
inbound direction and one call leg in the outbound direction. Therefore, there will be exactly two call legs for
each voice gateway.
The session target command is not evaluated by a voice gateway router for an incoming dial peer; it is used by
a voice gateway router to determine where to route an outgoing Voice over IP (VoIP) dial peer. A voice router
will perform the following evaluations when it must send an outbound call:
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 the
corresponding session target ipv4: ip-address command.
4. If no match is found, the call will be dropped.
The destination-pattern command is used for both inbound and outbound dial peer matching. However, the
string variable must match the source ANI for inbound dial peer matching and must match the destination DNIS
for outbound dial peer matching. The port-command is used for inbound POTS dial peer matching and to
determine where to route an outgoing POTS dial peer.https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/14074-in-dial-peer-match.html
https://www.cisco.com/c/en/us/support/docs/voice/call-routing-dial-plans/12164-dialpeer-call-leg.html#peers