07-24-2007 03:26 AM - edited 03-14-2019 10:44 PM
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
07-24-2007 03:42 AM
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
07-24-2007 03:47 AM
hi, and the probleme of the forward digits??how can i specify it,
07-24-2007 05:23 AM
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,
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