destination-pattern

Unanswered Question
Jul 24th, 2007

hi all, please i have to different destination pattern the first is destination-pattern 9.. with 13 digits after, and the seconde with 14 digits after, how can i put together this 2 destination-pattern? Thanks

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
AJAZ NAWAZ Tue, 07/24/2007 - 03:42

Although I have not done this before within a a fully operational environment, I suspect you could use the following:

destination pattern 9.............

destination pattern 9..............

If the first does not get a match then the second one will be examined and subsequently matched against 9+ any 14digits.

hth

Ajaz

a.rayen83 Tue, 07/24/2007 - 03:47

hi, and the probleme of the forward digits??how can i specify it,

miloskv Tue, 07/24/2007 - 05:23

Hi mate,

You can control how many digits you want to send to the dial-peer by entering:

***asumming that you are making POTS dial peer

(config)#dial-peer voice XXX pots

(config-dialpeer)#forward-digits all (for forwarding all of the 13/14 digits you want, including leading 9 if destination pattern was 9......)

or

(config-dialpeer)#forward-digits XX (where XX is number of digits from right to left which you want to send to the PSTN)

On POTS dial peer, explicitly matched digits are by default stripped of (if dial peer was 9...... , leading "9" would be stripped by default). This is not default on VoIP dial peer (on VoIP dial peer, all of the digits are sent to the peer)

On every kind of dial-peer you can use command forward-digits

P.S. if you use "no forward-digit" it will assume that you want to send NO DIGITS at all to the dial peer. So if you want to revert to the default, use "default forward-digit" command instead.

Cheers,

Actions

This Discussion