From: 1cmpecho (1cmpecho@hotpop.com)
Date: Thu Dec 25 2003 - 11:15:44 GMT-3
most pri's in north america deliver enbloc digit delivery - meaning all
numbers are received at once and thus can be matched....this is not true
_all_ of the time (overlap sending), where digits may be received one at a
time and then use the first match, preference, etc....but when the match is
satisfied it is chosen.
when digits are received one at a time - called number 3364424361
dial-peer destination pattern preference session target
dial peer 1 3364424361 0 voip 1
dial peer 2 336... 1 voip 2
dial peer 3 336... 0 voip 3
the longest match is applied when it is first hit. in the example above,
dial peer 3 is the first matched, then dial peer 2, but dial peer 3 wins
with the lowest preference. dial peer 1 is never considered - unless the
other 2 fail
when digits are all received at the same time - dial peer 1 would win
call manager also sends all digits at once during call setup.
IMPORTANT - to remember that there is always an inbound and outbound call
leg (dependent upon the direction of the call origination) and that a dial
peer must be matched. if there is an inbound pots call ---> destined for a
voip session, there must also be a compatible match for the voip portion of
the call leg....if there is no appropriate match, there is dial peer 0 that
gets used (this dial peer can cause problems due to it's static
configuration, vad enabled, no dtmf relay, codec selection, etc.) - so i
always use an incoming called number . to match for inbound voip call legs
and use destination pattern matching for voip outbound call legs....this
will cover you for the voip portion of the call setup/conversation...and
will hit it instead of dial peer 0.
the T indicates to wait for 0 or more digits - but also introduces the
interdigit timeout delay (10ms by default - i believe) - and the voice
gateway will wait around to receive more digits and hence will be able to
perform a more suitable match.
hth
At 05:40 PM 12/25/2003 +0800, Pun, Alec CL wrote:
>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. ]
>
>_______________________________________________________________________
>Please help support GroupStudy by purchasing your study materials from:
>http://shop.groupstudy.com
>
>Subscription information may be found at:
>http://www.groupstudy.com/list/CCIELab.html
This archive was generated by hypermail 2.1.4 : Sat Jan 03 2004 - 08:25:44 GMT-3