Which of the following commands is evaluated first by a voice gateway router for an incoming dial peer?
A.
destination-pattern
B.
port
C.
session target
D.
incoming called-number
E.
answer-address
Explanation:
The incoming called-number command is evaluated first by a voice gateway router for an incoming dial peer. 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 incoming
called-number DNIS command.
2.The router will attempt to match the source Automatic Number Identification (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 plain old telephone service (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.Cisco: Understanding Inbound and Outbound Dial Peers Matching on IOS Platforms
Cisco: Understanding Dial Peers and Call Legs on Cisco IOS Platforms: Relationship Between Dial Peers and
Call Legs