Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How to create dial-peer that is similar to route pattern like this?

I have route pattern <font color=red>0[1234]</font> for urgent calls with MGCP gateways.

Now I have changed this numbering plan

from <font color=red>0[1234]</font> to <font color=red>#.10[1234]</font> with Predot Discard Digits for MGCP gateway.

But I also have H.323 gateways.

What right dial-peer should I use in this position?

The old dial-peer is below.

<b>

dial-peer voice 5 pots

tone ringback alert-no-PI

destination-pattern 0[1234]

no digit-strip

direct-inward-dial

port 0/0/0:15

</b>

How I should change it to receive same result that I described for Route Patter?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: How to create dial-peer that is similar to route pattern lik

dial-peer terminator *

dial-peer voice 5 pots

tone ringback alert-no-PI

destination-pattern #10[1234]

forward-digits 3

direct-inward-dial

port 0/0/0:15

The # is the default terminator and would cause problems. You want 3 digits in this case, so you use forward-digits 3.

-nick

3 REPLIES

Re: How to create dial-peer that is similar to route pattern lik

dial-peer terminator *

dial-peer voice 5 pots

tone ringback alert-no-PI

destination-pattern #10[1234]

forward-digits 3

direct-inward-dial

port 0/0/0:15

The # is the default terminator and would cause problems. You want 3 digits in this case, so you use forward-digits 3.

-nick

New Member

Re: How to create dial-peer that is similar to route pattern lik

as I understood from this command dial-peer terminator * I should use #

Like this one dial-peer terminator #

Re: How to create dial-peer that is similar to route pattern lik

You can try it - but I believe if you try using the terminator in your dial string, it may not act accordingly.

In this case we're changing the default terminator so that you can use it in your dial strings. I haven't tried it, so you may want to try it first without the change. You wouldn't need your command, because # is the default terminator.

hth,

nick

221
Views
0
Helpful
3
Replies