Refer to the exhibit.
When an inbound PSTN call from 4087071222 arrives at the ISDN port that is shown in the
exhibit, which dial peer will be matched for the inbound leg?
A.
Dial-peer 123, because destination-pattern takes precedence over answer-address.
B.
Dial-peer 2123, because answer-address takes precedence over destination-pattern.
C.
The matching inbound dial peer will be selected at random.
D.
Although dial-peer 2123 takes precedence, it will not be matched because the command directinward-dial is missing.
E.
Dial-peer 123 will be matched because dial-peer 2123 will strip all the digits.
Explanation:
The inbound call will first try to match the with the incoming called-number
command. We can also use ‘answer-address command’ which is searched if ‘incoming callednumber’ is not present. And if there is no ‘incoming called-number command’ and ‘answer-address
command’, then the gateway will hunt for dialpeer with destination-pattern of calling party number.
http://www.cisco.com/en/US/docs/ios/12_3/vvf_c/dial_peer/dp_confg.html#wp1067989