10-10-2002 06:39 PM - edited 03-12-2019 09:07 PM
1. see this configuration:
dial-peer voice 1 voip
destination-pattern 555
session target ipv4:10.10.1.1
dial-peer voice 2 voip
destination-pattern 5551212
session target ipv4:10.10.1.2
if in "two stage dialing" , the dialed string "5551212" will match peer 1
because of the "digit-by-digit" nature, am I right?
if in "DID" mode, dialed string "5551212" will match peer 2, because of the
"longest match rull". am I right?
2. see this configuration:
dial-peer voice 1 voip
destination-pattern 555T
session target ipv4:10.10.1.1
dial-peer voice 2 voip
destination-pattern 5551212T
session target ipv4:10.10.1.2
the dialed string "5551212" will match dial-peer 2, no matter it's in
"two stage dialing" or "DID" mode, because of the "longest match rull",
am I right ?
if there is a "T" following the destination-pattern, the "longest match rull"
will work no matter it's in "two stage dialing" or "DID" mode , am I right ?
3. see this configuration:
dial-peer voice 1 voip
destination-pattern 555$
session target ipv4:10.10.1.1
dial-peer voice 2 voip
destination-pattern 5551212$
session target ipv4:10.10.1.2
if it's in "two stage dialing" mode , dialed string "5551212" will match the
dial-peer 1 ,because of "digit-by-digit" nature, am I right ?
if it's in "DID" mode, dialed string "5551212" will match dial-peer 2,
am I right ?
what is the use of "$" ? i can not see what's good about "$" ?
4. When the call is coming from PSTN, if it's in "two-stage-dialing" the number
collecting is "digit-by-digit". if it's in "DID" mode the whole dialed number
is used to match the outbound dial-peer, am I right ?
But if the call is coming from ip network, how is the number collected ?
is it "digit-by-digit" or "the whole number used" ?
10-10-2002 09:51 PM
Have a look at this URL.. Should have all the answers....
http://www.cisco.com/warp/customer/788/voip/in_dial_peer_match.html
Regards,
ketan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide