From: Barman, Partha (PBarman@necbns.com)
Date: Thu Dec 25 2003 - 06:59:56 GMT-3
The router could match this dial-peer with .T only if there were no other dial-peer with more explicit match. The router will definitely match the longest matching destination pattern (in dial-peer), if available. To make a routing decision, the router will wait until it gets the full dialed digit string, and then place the call. It will not forward the call immediately upon a partial match of a dial-peer.
So, in your case you can be assurred that the dial-peer with .T will not take effect if another dial-peer with explicit match exists.
-----Original Message-----
From: Pun, Alec CL [mailto:Alec.CL.Pun@pccw.com]
Sent: Thursday, December 25, 2003 3:41 AM
To: ccielab@groupstudy.com
Subject: Matching outbound dial-peer
Hi group,
Grateful if anybody can advise the rules for matching outbound dial-peer ? I am thinking of the longest match rule but the following extract from the DocCD does not seem to say so. Are there any good examples ? Thanks very much, alec
[DocCD] http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fvvf
ax_c/vvfpeers.htm#1301886
A default route could also be defined by using a single wildcard character with the timeout T-indicator in the destination pattern, as shown in the following example:
dial-peer voice 1000 voip
destination-pattern .T
session-target ipv4:10.10.1.2
You should be careful, however, when using the T-indicator for default routes. Remember, when matching dial peers for outbound call legs, the router places the call as soon as it finds the first matching dial peer. [The router could match on this dial peer immediately even if there were another dial peer with a more explicit match and a more desirable route. ]
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:44 GMT-3