DRAG DROP
From the list on the left, drag the elements to the right and drop them in the order in which a voice gateway matches inbound callls.
Inbound Dial Peers Matching Process
When the Cisco IOS router or gateway receives a call setup request, a dial peer match is made for
the incoming call in order to facilitate routing the call to different session applications. This is not a
digit-by-digit match; rather the full digit string received in the setup request is used to match
against configured dial peers. The router or gateway matches the information elements in the
setup message with the dial peer attributes to select an inbound dial peer. The router or gateway
matches these items in this order:
Called number (DNIS) with the incoming called-number command:
First, the router or gateway attempts to match the called number of the call setup request with the
configured incoming called-number of each dial peer. Because call setups always include DNIS
information, it is recommended to use the incoming called-number command for inbound dial peer
matching. This attribute has matching priority over the answer-address and destination-pattern
commands.
Calling Number (ANI) with the answer-address command:
If no match is found in step 1, the router or gateway attempts to match the calling number of the
call setup request with the answer-address of each dial peer. This attribute can be useful in
situations where you want to match calls based on the calling number (originating).
Calling Number (ANI) with the destination-pattern command:
If no match is found in step 2, the router or gateway attempts to match the calling number of the
call setup request to the destination-pattern of each dial peer. For more information about this, see
the first bullet in the Dial Peer Additional Information section of this document.
Voice-port (associated with the incoming call setup request) with configured dial peer port
(applicable for inbound POTS call legs):
If no match is found in the step 3, the router or gateway attempts to match the configured dial peer
port to the voice-port associated with the incoming call. If multiple dial peers have the same port
configured, the dial peer first added in the configuration is matched.
If no match is found in the first four steps, then the default dial peer 0 command is used.
http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml#co
nv