PSTN simulator on Cisco router
sacredboy
Member Posts: 303 ■■■□□□□□□□
Hi guys,
After having a look on several PSTN simulator configs it seemed to me that I configured controllers and voice interfaces the same as others did. So, I assume the reason of my problems with PSTN simulator is incorrectly configured translation rules. I took the config here http://blog.ine.com/2009/01/18/configuring-a-pstn-dialplan/ and just changed according to the numbers in my lab. However, I've got some other versions of translation rules on PSTN simulator. For instance, this one is from the INE article.
And this is from CCBOOTCAMP.
Could you guys, please, clarify a couple of questions.
1. Why in 1st config its translate called and in 2nd config translate calling?
2. In 2nd config in every rule the number type and plan are specified (type any international, type any subscriber, type any national) - does those parameters have any practical meaning?
3. Why in 1st config only incoming translation rules are specified on voice port and in 2nd config both incoming and outgoing translation rules are specified on voice port.
Thank you.
After having a look on several PSTN simulator configs it seemed to me that I configured controllers and voice interfaces the same as others did. So, I assume the reason of my problems with PSTN simulator is incorrectly configured translation rules. I took the config here http://blog.ine.com/2009/01/18/configuring-a-pstn-dialplan/ and just changed according to the numbers in my lab. However, I've got some other versions of translation rules on PSTN simulator. For instance, this one is from the INE article.
! BR1 translation rule ! voice translation-rule 10 rule 1 /^1[2-9]..[2-9]....../ /\0/ rule 2 /^011\(.*\)/ /\1/ rule 3 /^[2-9]....../ /1312\0/ ! ! BR2 translation rule ! voice translation-rule 20 rule 1 /^0\([1-8].........\)/ /44\1/ rule 2 /^00\(.*\)/ /\1/ rule 3 /^[1-8]......./ /4423\0/ ! ! HQ translation rule ! voice translation-rule 30 rule 1 /^1[2-9]..[2-9]....../ /\0/ rule 2 /^011\(.*\)/ /\1/ rule 3 /^[2-9]....../ /1775\0/ ! voice translation-profile FROM_BR1 translate called 10 ! voice translation-profile FROM_BR2 translate called 20 ! voice translation-profile FROM_HQ translate called 30 ! voice-port 0/0/0:23 translation-profile incoming FROM_BR1 ! voice-port 0/1/0:15 translation-profile incoming FROM_BR2 ! voice-port 0/3/0:23 translation-profile incoming FROM_HQ
And this is from CCBOOTCAMP.
voice translation-rule 1 rule 1 /\(^011\)\(.*\)/ /\2/ rule 2 /\(^1\)\(.*\)/ /\2/ rule 3 /\(^0\)\([^0].*\)/ /\2/ rule 4 /\(^001\)\(.*\)/ /\2/ ! voice translation-rule 2 rule 1 /^702/ /1&/ type any international rule 2 /^4420\(.*\)/ /\1/ type any subscriber rule 3 /^44\(.*\)/ /\1/ type any national rule 4 /^801/ /1&/ type any international ! voice translation-rule 3 rule 1 /^801\(.*\)/ /\1/ type any subscriber rule 2 /^702/ /&/ type any national rule 3 /^44/ /&/ type any international ! voice translation-rule 4 rule 1 /^702\(.*\)/ /\1/ type any subscriber rule 2 /^801/ /&/ type any national rule 3 /^44/ /&/ type any international ! voice translation-profile BR1 translate calling 3 ! voice translation-profile BR2 translate calling 2 ! voice translation-profile HQ translate calling 4 ! voice translation-profile PSTN translate called 1 ! voice-port 0/0/0:23 translation-profile incoming PSTN translation-profile outgoing HQ ! voice-port 0/1/0:15 translation-profile incoming PSTN translation-profile outgoing BR2 ! voice-port 0/0/1:23 translation-profile incoming PSTN translation-profile outgoing BR1 ! dial-peer voice 1 pots incoming called-number . direct-inward-dial ! dial-peer voice 10 pots destination-pattern 7029461... port 0/0/0:23 forward-digits all ! dial-peer voice 11 pots destination-pattern 8013332... port 0/0/1:23 forward-digits all ! dial-peer voice 12 pots destination-pattern 442076303... port 0/1/0:15 forward-digits all
Could you guys, please, clarify a couple of questions.
1. Why in 1st config its translate called and in 2nd config translate calling?
2. In 2nd config in every rule the number type and plan are specified (type any international, type any subscriber, type any national) - does those parameters have any practical meaning?
3. Why in 1st config only incoming translation rules are specified on voice port and in 2nd config both incoming and outgoing translation rules are specified on voice port.
Thank you.
Best, sacredboy!
Comments
-
sacredboy Member Posts: 303 ■■■□□□□□□□Hi guys,
Here is my inventory for voice on routers.
HQ:
VWIC2-2MFT-T1/E1 (1st E1 for voice circuit; 2nd E1 for Frame Relay circuit).
PVDM2-16 x 2
BR1:
VWIC2-2MFT-T1/E1 (1st E1 for voice circuit; 2nd E1 for Frame Relay circuit).
PVDM2-16 x 2
BR2:
VWIC2-2MFT-T1/E1 (1st E1 for voice circuit; 2nd E1 for Frame Relay circuit).
PVDM2-16 x 2
PSTN:
VWIC2-2MFT-T1/E1 (1st E1 for voice circuit; 2nd E1 for Frame Relay circuit to HQ).
VWIC2-2MFT-T1/E1 (1st E1 for voice circuit; 2nd E1 for Frame Relay circuit to BR1).
VWIC2-2MFT-T1/E1 (1st E1 for voice circuit; 2nd E1 for Frame Relay circuit to BR2).
PVDM2-16 x 2
When I configure E1 voice circuit to HQ everything is fine. As soon as I configure E1 voice circuit to BR1 I get this error when try to configure full pri-group timeslots on PSTN router.
% Not enough DSP resources available to configure pri-group on controller E1 0/1/0
% The remaining dsp resources are enough for 2 time slots.
% For current codec complexity, 2 extra dsp(s) are required to create this voice port.
Thank you.Best, sacredboy! -
pitviper Member Posts: 1,376 ■■■■■■■□□□Search the Cisco site for "DSP Calculator". You select the router chassis, installed modules, and services and it tells you how many DSPs you need. Best bet for the lab is to only provision a couple of channels per PRI - or upgrade/add another PVDM2.CCNP:Collaboration, CCNP:R&S, CCNA:S, CCNA:V, CCNA, CCENT
-
sacredboy Member Posts: 303 ■■■□□□□□□□Hi guys,
I forgot to ask the most important question about Cisco router as a PSTN simulator. As you probably know in CCIE Voice topology there are three sites (HQ, BR1 and BR2) with HQ and BR1 in the USA and BR2 in UK (as far as I know). For testing purposes CME can be configured on PSTN router to test calls to and from sites and PSTN router. However, my question is if it's possible to test calls between all three sites with PSTN simulator?
Thank you.Best, sacredboy! -
pitviper Member Posts: 1,376 ■■■■■■■□□□Sure, it's possible - a lot of us are doing it. You just need enough interfaces and resources on the PSTN router.CCNP:Collaboration, CCNP:R&S, CCNA:S, CCNA:V, CCNA, CCENT