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

why does PRI need "forward-digits" command

Looking at an example of routing calls to PRI first then FXO I found the following:

dial-peer voice 1000 pots

destination pattern 91..........

port 0/0:23

forward-digits 11

!

dial-peer voice 1001 pots

preference 1

destination-patterm 91..........

port 2/0/0

!

I thought the digits that matched the destination pattern were stripped when forwarded to the PSTN. In this example it seems that the "1" would not be sent to the PSTN and the call would fail. Also why does the PRI need the "forward-digits" command the the FXO doesn't?

Thanks,

Diego

4 REPLIES
Hall of Fame Super Gold

Re: why does PRI need "forward-digits" command

All type of ports ports behave the same way. In the example above, calls via DP 1001 would fail because it has not "forward-digits", that is the commands that defines how many digits are sent to PSTN, no matter what is matched and what is not.

Another less known way to do that is the following:

destination-pattern 9[1][2-9][0-8].[2-9]......

And requires no "forward-digits" command. By the way the above is the correct DP for LD NANP.

New Member

Re: why does PRI need "forward-digits" command

I don't understand why your destination-pattern command doesn't require forward-digits but the others do. Can you provide more detail?

Thanks,

Diego

Hall of Fame Super Gold

Re: why does PRI need "forward-digits" command

If "forward-digits" (or "no digit-strip", that is equivalent to "forward-digits all") is applied, then the specified number of rightmost digits are sent, and no stripping per below actually occurs.

Else, stripping occurs:

Digits explicitly matched are stripped. Like 9 in my example.

Digits matched to patterns in square brackets, or to "." are not stripped.

In any case, if "prefix" is configured, it is sent before the digits.

It is a bit complicated but very powerful way to control number format and what is sent.

New Member

Re: why does PRI need "forward-digits" command

Yes, you are right about the complicated part. I guess I'll need to practice and experiment.

Thanks,

Diego

1089
Views
7
Helpful
4
Replies