cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
195
Views
5
Helpful
1
Replies

questions about voip router configuration, thanks !!!

simon.wang
Level 1
Level 1

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" ?

1 Reply 1

ketpatel
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: