|
0:00:15
|
OK, so let's take a look at the first task for today
|
|
0:00:18
|
and before we do that we have an overall general route plan description.
|
|
0:00:25
|
And can everyone see my screen and everything looks fine?
|
|
0:00:30
|
Make sure that nothing's cut off.
|
|
0:00:32
|
Also note that you do have a full screen option.
|
|
0:00:36
|
OK? Great.
|
|
0:00:38
|
So route plan description and overall guidelines,
|
|
0:00:41
|
We're told that phones at the CUCME Netherlands location use a
|
|
0:00:44
|
prefix code of 0 to access the PSTN trunk.
|
|
0:00:48
|
Outside dial tone should be provided as soon as the
|
|
0:00:51
|
PSTN trunk code has been dialed.
|
|
0:00:54
|
Branch2 CUCME is located in the Netherlands has a country code of 31,
|
|
0:00:59
|
Branch2 is in the city of Amsterdam.
|
|
0:01:02
|
Users should be able to dial 112 from that Branch2 location to reach
|
|
0:01:07
|
emergency services, make sure the PSTN trunk code of 0
|
|
0:01:12
|
for the Netherlands are each stripped before each call goes out to the PSTN.
|
|
0:01:19
|
Local area code and by the way that would seem to imply that
|
|
0:01:23
|
dialing 112 is a necessary PSTN pattern and then also
|
|
0:01:30
|
from the first bullet point, it would seem to imply
|
|
0:01:35
|
and you could, if these were a real lab ask the proctor
|
|
0:01:38
|
or you could simply just go ahead and create it
|
|
0:01:42
|
since that wouldn't it take that additional time and certainly save you
|
|
0:01:46
|
losing any points if you didn't but it would seem to imply that you need
|
|
0:01:50
|
not only 112 but also 0112, just like if we were in the US
|
|
0:01:55
|
it's not only 911, but also 9911.
|
|
0:02:00
|
OK? Local area subscriber PSTN calls are placed from Branch 2 by dialing
|
|
0:02:05
|
seven digit numbers. Long distance, also known as national PSTN calls
|
|
0:02:09
|
are placed from Branch2 by dialing 10 digit numbers.
|
|
0:02:12
|
With the first number being the national access code of 0
|
|
0:02:16
|
this is an addition to the PSTN trunk code of 0,
|
|
0:02:20
|
so if we're dialing nationally, we'll dial 00.
|
|
0:02:23
|
International calls should be prefixed with 00
|
|
0:02:27
|
along with country code and variable link trunk number,
|
|
0:02:31
|
not trunk number but variable link number for the site
|
|
0:02:34
|
and number you're trying to reach. This is in addition to the PSTN
|
|
0:02:38
|
trunk code of 0, so it would be 000 for dialing internationally.
|
|
0:02:42
|
You should allow for any phones to be able to terminate
|
|
0:02:45
|
interdigit timeout on an international number using the hash key,
|
|
0:02:49
|
or pound or octothorpe depending on what you call it.
|
|
0:02:52
|
in order to place the call immediately.
|
|
0:02:55
|
So let's take a look at 161 PSTN Dialing in CUCME.
|
|
0:02:59
|
We're told configure the CUCMe router to allow SIP and Skinny IP phones
|
|
0:03:04
|
to place calls out of the PSTN
|
|
0:03:06
|
using the table or information from the table which is
|
|
0:03:10
|
numbered incorrectly, I'll change that.
|
|
0:03:12
|
Before you guys download it, should be Table 16.1.
|
|
0:03:16
|
The connection that the PSTN is providing to the Branch2 site
|
|
0:03:21
|
is ISTN PRI Euro framing of CRC4,
|
|
0:03:26
|
line code is HDB3, and the PSTN only has the first three channels of the
|
|
0:03:31
|
PRI lit up. Sorry for the scroll, my mouse, let me just get it here right.
|
|
0:03:39
|
Great on just about everything else, but when I'm
|
|
0:03:41
|
for some reason when I'm highlighting things,
|
|
0:03:45
|
doesn't have really have a physical mouse button,
|
|
0:03:47
|
it's just that trackpad, so anyway,
|
|
0:03:49
|
Ensure that the PSTN sees CNAM or Calling Name Display
|
|
0:03:54
|
for calls outbound from Branch2. Ensure that any calls made to international
|
|
0:03:58
|
numbers only have to wait seven digits after the last
|
|
0:04:01
|
digit to route to the PSTN and as mentioned again,
|
|
0:04:05
|
users have the option of crushing the hash pound octothorpe key
|
|
0:04:09
|
to route the call immediately. So we see that we've got
|
|
0:04:13
|
emergency numbers 112 local or defined as the first digit can be anything
|
|
0:04:18
|
1 through 8 and six additional digits.
|
|
0:04:22
|
We see that a class of restriction when we get there,
|
|
0:04:25
|
although we're not yet, will be defined as local,
|
|
0:04:28
|
we weren't instructed to do anything with class of restriction yet.
|
|
0:04:33
|
National or also known as long distance calling,
|
|
0:04:36
|
begins with a 0 and again this is in addition to the 0 trunk code.
|
|
0:04:48
|
a total of 1234, 1234
|
|
0:04:52
|
and then 1, so nine digits plus the leading 0 or the
|
|
0:04:58
|
geographic code or area code so a total of 10 digits plus
|
|
0:05:02
|
the 0 PSTN trunk code, so 0 and then 10 digits.
|
|
0:05:08
|
International 00 and variable link with the class of restriction international.
|
|
0:05:14
|
OK. So let's take a look at our
|
|
0:05:23
|
Branch2 router 3 CUCME router
|
|
0:05:28
|
and let's just look briefly at what we had already from the last module
|
|
0:05:33
|
and do note that from module to module, some things change.
|
|
0:05:37
|
So in other words, if we did something at the
|
|
0:05:40
|
during the configuration of module 15 we just got done watching that
|
|
0:05:44
|
or have already previously watched it and
|
|
0:05:48
|
so that was part of the final configuration.
|
|
0:05:52
|
For module 15, I may have changed one or two things
|
|
0:05:56
|
before the module here for the start-up configurations for module 16.
|
|
0:06:02
|
So for instance we were registering all of our numbers to a
|
|
0:06:07
|
SIP proxy server at the end of module 15,
|
|
0:06:11
|
I've taken out the SIP UA registrar server command here
|
|
0:06:15
|
and the start-up configs for module 16 because or at least I
|
|
0:06:19
|
believe I have in this start-up config it will be
|
|
0:06:22
|
by the time you download the configs because that's,
|
|
0:06:27
|
we don't want that constantly trying to register those numbers
|
|
0:06:30
|
wasn't a real SIP proxy server or at least not a fully
|
|
0:06:33
|
configured one as we mentioned, we we're just demonstrating something.
|
|
0:06:36
|
So some things will change from the final of 1 to the start of the next,
|
|
0:06:40
|
so don't necessarily assume that. Always load the start-up configs.
|
|
0:06:45
|
OK? So we've got things like clock timezone set
|
|
0:06:49
|
and some are timed. We've got our DHCP pools, in fact
|
|
0:06:53
|
If we can do a show IPDHCP bindings, we've got three phones,
|
|
0:07:01
|
should be four phones but one phone is having a little bit of a hard time
|
|
0:07:05
|
registering for some reason.
|
|
0:07:08
|
SIP phones, it was previously working just fine.
|
|
0:07:14
|
I've got an IP address here.
|
|
0:07:18
|
It does have an IP address.
|
|
0:07:32
|
It looks like possibly we have a,
|
|
0:07:38
|
I don't think so
|
|
0:07:49
|
at least under new of these
|
|
0:08:04
|
one second, keep trying to register.
|
|
0:08:25
|
OK, well I'll take a look at that on our break.
|
|
0:08:27
|
We should have four phones registered. We had three in the last module.
|
|
0:08:30
|
I've added one more since then.
|
|
0:08:33
|
We bring up our switch 2, in fact let me also
|
|
0:08:39
|
very briefly bring up our diagram for this module.
|
|
0:08:43
|
Just in case you haven't looked at Module 15.
|
|
0:08:48
|
Actually for this module, here we've got our Branch2 site
|
|
0:08:58
|
and on this Branch2 site we see,
|
|
0:09:01
|
it's really the only one we're looking at today.
|
|
0:09:03
|
We will have a link back to the Corporate Headquarter and Branch1
|
|
0:09:06
|
where there's one phone, but in today's module we're actually going to have,
|
|
0:09:11
|
maybe I should use the different color.
|
|
0:09:18
|
In today's module we're actually going to have
|
|
0:09:25
|
four phones, so we're gonna have dn Skinny phone
|
|
0:09:31
|
with a dn of 3001 another Skinny phone
|
|
0:09:38
|
with a dn of 3002,
|
|
0:09:42
|
a SIP phone with a dn of 3003,
|
|
0:09:48
|
and a SIP phone with a dn of 3004.
|
|
0:09:55
|
OK?
|
|
0:09:57
|
I'll actually change that diagram to be a little bit more
|
|
0:10:04
|
little bit more accurate and include that as the outbound, as the
|
|
0:10:07
|
diagram for the downloadable files.
|
|
0:10:19
|
OK. Looks like all the phones are registered now.
|
|
0:10:22
|
So hopefully they'll stay that way. Alright.
|
|
0:10:25
|
So if we do a show CDP neighbor, we note that we do have all
|
|
0:10:29
|
four phones, they all look like they're connected to one
|
|
0:10:31
|
port as we've mentioned before, this is because we're doing layer 2 tunneling.
|
|
0:10:34
|
The phones are in front of me, the rack equipment is not, they're not
|
|
0:10:37
|
physically connected but they certainly look like they're connected.
|
|
0:10:40
|
And this is how, if you're studying for the CCIE voice lab,
|
|
0:10:44
|
this is how your phones will be connected regardless
|
|
0:10:49
|
of what you said San Jose, RTP, Bangalore,
|
|
0:10:52
|
all of the phones are physically, all of the
|
|
0:10:56
|
lab equipment is physically back at San Jose.
|
|
0:10:58
|
But even if you're sitting at San Jose, there is a layer 2 trunk
|
|
0:11:02
|
up to the equipment room and you're phones are not directly connected,
|
|
0:11:06
|
so if you just shutdown a port, that will not disconnect power.
|
|
0:11:10
|
OK?
|
|
0:11:14
|
So there's our four phones.
|
|
0:11:20
|
For some reason we're only showing only three IP binding, this is
|
|
0:11:23
|
probably because and I think this is what keeps causing two of them to
|
|
0:11:27
|
mess up a little bit, I didn't save my DHCP config.
|
|
0:11:31
|
After doing some testing and then, really need to exit.
|
|
0:11:37
|
And then reloading the router so
|
|
0:11:42
|
get out of this console session where we don't have very fast access
|
|
0:11:46
|
fit in to a telnet session and look at the configuration.
|
|
0:11:51
|
OK. So we've got our DHCP, we've got our voice service
|
|
0:11:55
|
VOIP allow connection SIP to SIP and a redirect server.
|
|
0:12:00
|
So we've got a SIP registrar server, we've got a
|
|
0:12:08
|
redirect server or essentially a proxy server as well,
|
|
0:12:12
|
we've got our voice class codec which you'll see here
|
|
0:12:15
|
is applied to our voice register pool 1 and 2,
|
|
0:12:20
|
So we've got the fact that our preference
|
|
0:12:25
|
G711 alaw as number one and G729 as number 2
|
|
0:12:30
|
in module 15, we demonstrated how it can negotiate between those two.
|
|
0:12:35
|
We've got our voice register global in mode CME
|
|
0:12:38
|
our max dns and pools or load files, time formats,
|
|
0:12:42
|
create profile which we mentioned anytime we change anything in
|
|
0:12:46
|
SIP voice register global or dn or
|
|
0:12:51
|
template or pool, we have to go to a no create profile
|
|
0:12:55
|
create profile and then go and reload both of these
|
|
0:12:59
|
and we also said it was for that reason
|
|
0:13:03
|
that let me pull up the text edit or note pad
|
|
0:13:09
|
that we use.
|
|
0:13:12
|
Something I said would be a good idea to create in the lab
|
|
0:13:17
|
but I'm just doing it so we have some separation.
|
|
0:13:24
|
OK. It would be a good idea to create this little file that
|
|
0:13:31
|
just a notepad file that contains voice register global no create create
|
|
0:13:36
|
voice register pool 1 restart, pool 2 restart, depending on how many
|
|
0:13:41
|
phones you have, whether they're SIP or Skinny and then
|
|
0:13:43
|
even just because of some issues that can occur
|
|
0:13:46
|
that we noted in module 15 might not be a bad idea
|
|
0:13:50
|
to do telephony service no create create and ephones restart.
|
|
0:13:54
|
So we'll just copy the whole thing and paste it anytime we have any
|
|
0:13:57
|
changes that need to be applied.
|
|
0:14:01
|
OK? So we've now got one additional SIP phone from module 15
|
|
0:14:07
|
we had one SIP phone and two Skinny in the last
|
|
0:14:09
|
so now we've got two SIP and two Skinny.
|
|
0:14:12
|
So we've got vice register dn1 with number 3000 for James Ford,
|
|
0:14:16
|
and dn2 with number 3004 for Hugo Reyes.
|
|
0:14:21
|
OK?
|
|
0:14:22
|
We've got the two voice register pools, everything is good there,
|
|
0:14:30
|
and then we've got all of our TFTP servings, including ringtone
|
|
0:14:34
|
and desktop backgrounds that we looked at in 15.
|
|
0:14:37
|
One dial peer to call manager that will be adding on to today,
|
|
0:14:43
|
our general telephony service for our Skinny server,
|
|
0:14:48
|
ephone dn templates, ephone templates and then
|
|
0:14:52
|
to ephone-dns or 3001 Desmond Hume, 3002 John Locke,
|
|
0:14:59
|
and then the two ephones that they are applied to.
|
|
0:15:04
|
OK? So that's our basic congif so far and also NTP
|
|
0:15:09
|
let's see if that's synced up, show NTP association,
|
|
0:15:12
|
we are synced with the PSTN, we can see with the asterisk.
|
|
0:15:17
|
OK. So let's clear this off and let's begin our configuration.
|
|
0:15:22
|
So the first thing we have to do is set up an ISDN switch type.
|
|
0:15:26
|
And we'll set it up to primary PRI and we're gonna choose net 5.
|
|
0:15:34
|
Net 5 being the switch type for UK, Europe, Asia, and Australia,
|
|
0:15:40
|
Also known as PRI Euro.
|
|
0:15:46
|
OK? Now we're gonna jump in to our first controller,
|
|
0:15:51
|
000 and if we did show run | 2 section controller,
|
|
0:15:58
|
we would see that we have two, one's already set up with the channel group.
|
|
0:16:02
|
So a data slot and one says it's our voice circuit but it doesn't have any
|
|
0:16:07
|
configuration so that's the done we'll use, we're gonna set up
|
|
0:16:11
|
PRI group with time slots one through three
|
|
0:16:14
|
and we're not gonna add any service, we're certainly not doing end fas.
|
|
0:16:20
|
OK? So we've created our PRI group, now that automatically created
|
|
0:16:27
|
and interface for serial 000:23 or the D channel,
|
|
0:16:33
|
:15, this an E1 and it also created a
|
|
0:16:41
|
show run | 2 include voice port, it also created our voice port for us.
|
|
0:16:49
|
OK. So now we're going to jump in to the D channel
|
|
0:16:53
|
and we're going to specifically say ISDN outgoing
|
|
0:16:58
|
display IE since we were told to have CNAM support,
|
|
0:17:05
|
OK? So we've configured, now we need to set up some of our dial peers.
|
|
0:17:12
|
So we'll set up dial peer voice one for pots,
|
|
0:17:16
|
not ports but pots, plain old telephony service.
|
|
0:17:21
|
We also have of course PANS or Pretty Advanced New Stuff.
|
|
0:17:28
|
And we'll set up our destination pattern and there's too much ambiguity.
|
|
0:17:35
|
So sometimes it's helpful to type things out versus just hitting tab,
|
|
0:17:41
|
destination pattern and we're gonna start it out with carrot 112,
|
|
0:17:46
|
dollar sign, karat being a regular expression that indicates
|
|
0:17:50
|
the beginning of a literal string, and a dollar sign indicating the
|
|
0:17:54
|
end of a string or a little string.
|
|
0:18:04
|
OK? Then we're going to add a
|
|
0:18:11
|
you know what, we're actually going to make this a dual purpose dial peer.
|
|
0:18:15
|
Again, it's sometimes useful to have dial peers that are inbound
|
|
0:18:21
|
separate from your outbound dial peers just for
|
|
0:18:25
|
you know sake of sanity and configuration, not configuration
|
|
0:18:29
|
but rather troubleshooting and going back and looking at them later,
|
|
0:18:33
|
but we've shown that in previous deep dives, today we're actually gonna
|
|
0:18:37
|
put them into one dial peer and the reason is
|
|
0:18:41
|
just so that we can show how we can save configuration space
|
|
0:18:45
|
and again might not be a bad idea to separate them for
|
|
0:18:49
|
clarity and for the sake of confusion but it's also
|
|
0:18:55
|
no technical problems whatsoever to put them together so
|
|
0:18:59
|
we're also going to say the port 000:15
|
|
0:19:04
|
so we're doing the outbound portion first.
|
|
0:19:07
|
And we have to state do show run | 2 begin dial dash peer,
|
|
0:19:13
|
actually let's just do section voice one
|
|
0:19:20
|
10 as well,
|
|
0:19:25
|
here we go. Alright, so we've got our destination pattern 112.
|
|
0:19:30
|
Again any explicitly matched digits like 112 will be stripped by default.
|
|
0:19:37
|
OK? So we can do a number of different things here,
|
|
0:19:43
|
we could say forward digits all, we could say forward digits
|
|
0:19:51
|
three since we want all three to go out to the PSTN,
|
|
0:19:54
|
or we could even say something such as no digit strip.
|
|
0:20:00
|
OK? Let's try this, no digit strip.
|
|
0:20:08
|
Now let's also do show
|
|
0:20:13
|
ISTN status, looks like our controller is up, multiple frames established.
|
|
0:20:20
|
Let's go ahead and place a call out to the PSTN and just test this.
|
|
0:20:28
|
Hopefully this won't have too much delay in loading, if they do
|
|
0:20:32
|
then during a break I'll have to fire up an alternate means,
|
|
0:20:35
|
it's just that I've run fusion, since I'm running a Mac and I have to have
|
|
0:20:39
|
Windows to run this client, whenever on fusion on the past if you
|
|
0:20:43
|
have watched into my previous deep dives sometimes it will lock up
|
|
0:20:46
|
and I'll have to take a little bit of time to reboot my entire
|
|
0:20:50
|
fusion box, because it'll lock up because of a high
|
|
0:20:55
|
high CPU. OK. So let's place a call out to and actually
|
|
0:21:05
|
before we do that,
|
|
0:21:09
|
let's go back and do debug ISTN Q931.
|
|
0:21:18
|
OK. Do show deb, we've got just that debug running. Alright.
|
|
0:21:24
|
So let's place a call to
|
|
0:21:31
|
112 and I dialed it wrong.
|
|
0:21:40
|
And let me actually change this.
|
|
0:21:58
|
Do refresh every two seconds rather.
|
|
0:22:08
|
Might simply prove to be too slow
|
|
0:22:10
|
and I'll have to change my control method.
|
|
0:22:14
|
Right now I'm using an over RDP to the XP machine.
|
|
0:22:28
|
It does look like it's gonna be too slow. Alright, so after this first
|
|
0:22:34
|
first task, let me take a break for the second task, we will
|
|
0:22:37
|
I'll switch over to another method where it's not gonna be
|
|
0:22:39
|
near as slow for the refresh.
|
|
0:22:49
|
And of course the reason we don't use IP blue soft clients
|
|
0:22:52
|
but rather we use an actual remote control client
|
|
0:22:57
|
which were in negotiations with the new company that has a
|
|
0:22:59
|
web based one that would work on any platform and is really fast.
|
|
0:23:03
|
Not that I'm quite excited about,
|
|
0:23:06
|
but the reason that we use this instead of a soft client is because
|
|
0:23:09
|
even the IP blue 7961 or 7962 type
|
|
0:23:14
|
actually it registers as that type, but it actually acts like a 7960
|
|
0:23:20
|
so there's a lot of things that it doesn't do properly.
|
|
0:23:24
|
So anyway let's place the call out to 112,
|
|
0:23:31
|
and we see it the call goes out, we can see that 112 was sent.
|
|
0:23:36
|
So no digit strip, worked just fine.
|
|
0:23:44
|
OK? Let's see
|
|
0:23:49
|
as we go on what else we can do.
|
|
0:23:53
|
Alright. Now,
|
|
0:23:56
|
let's go ahead and add our next dial peer, first we wanted to do the
|
|
0:24:00
|
we mentioned make this also an inbound dial peer,
|
|
0:24:05
|
so let's say incoming called number dot
|
|
0:24:08
|
and again we wouldn't have to have the port if we were isolating this out.
|
|
0:24:12
|
And we're also going to say, so this is going to match all inbound
|
|
0:24:16
|
calls into the router where the type of call is a pots call.
|
|
0:24:23
|
Unless there's a more specific match and we're gonna say direct
|
|
0:24:27
|
inward dial so that the router doesn't terminate the call and provide
|
|
0:24:32
|
dial tone where someone can dial again but it actually
|
|
0:24:34
|
passes the digits on to the outbound dial peers
|
|
0:24:40
|
for digit analysis. OK? So now let's say dial peer
|
|
0:24:45
|
voice 2 pots and we want to say a destination pattern
|
|
0:24:52
|
of carrot 0112.
|
|
0:24:58
|
dollar sign. OK. So the destination pattern of
|
|
0:25:04
|
0 being the trunk code and 112 being emergency,
|
|
0:25:08
|
port 000:15
|
|
0:25:13
|
and this time we can't say no digit or forward digit all.
|
|
0:25:16
|
We have to specifically or explicitly note that we only want
|
|
0:25:21
|
three to go out to the PSTN because this is just
|
|
0:25:24
|
a secondary dial tone trunk access code.
|
|
0:25:29
|
OK? Now we're gonna have our next dial peer
|
|
0:25:36
|
dial peer three pots and we're going to do a destination.
|
|
0:25:43
|
pattern of carrot to begin with 0,
|
|
0:25:48
|
left bracket one through eight, exluding 9 and 0 as being a second digit
|
|
0:25:54
|
and then 123456$.
|
|
0:26:00
|
and we we're instructed to do this per our Table 16.1 here.
|
|
0:26:08
|
And then we also have the same port
|
|
0:26:15
|
and then the amount of digits we want to forward,
|
|
0:26:22
|
which for this particular task we're gonna want to forward seven digits.
|
|
0:26:32
|
OK?
|
|
0:26:34
|
So next dial peer 4 pots
|
|
0:26:39
|
and we're going to use our destination pattern, we'll just copy this,
|
|
0:26:45
|
00 1 through 8, see what we're instructed
|
|
0:26:51
|
00 1 through 8 and then after that 1234 1234, so eight additional digits.
|
|
0:26:58
|
So here we have 123456 we need to add two more dots there.
|
|
0:27:11
|
Same port and forward digits will be ten,
|
|
0:27:17
|
it's how many the PSTN wants, the 11th digit being our trunk code,
|
|
0:27:22
|
and then dial peer 5 with the destination pattern being
|
|
0:27:30
|
we can begin with 0, actually it's 000
|
|
0:27:35
|
so 0 for the secondary dial tone and then 00 for international
|
|
0:27:39
|
prefix we were instructed and then T for timeout.
|
|
0:27:43
|
Now there's something special that happens when we add
|
|
0:27:47
|
a T for timeout or interdigit timeout and when we use the carrot.
|
|
0:27:54
|
OK. We're gonna see a problem here.
|
|
0:27:58
|
So we're gonna want the port 000, call in 15.
|
|
0:28:01
|
And we're going to want to use a prefix of 00.
|
|
0:28:08
|
OK. We don't know how many digits will be dialed because
|
|
0:28:11
|
depending on what country, what city we're dialing to
|
|
0:28:14
|
it could be different variable link.
|
|
0:28:18
|
So we don't know how many digits to forward, we know that
|
|
0:28:22
|
the first digit is just for our own sake of secondary dial tone or
|
|
0:28:26
|
PSTN trunk code, we don't want that going out to the PSTN
|
|
0:28:30
|
because they are not able to route or expecting three zeros
|
|
0:28:35
|
as a prefix, they're expecting two zeros to indicate international dialing
|
|
0:28:40
|
and then the country code or numbering plan code.
|
|
0:28:44
|
OK? So prefix 00 is what we'll use since these three zeros will be stripped
|
|
0:28:52
|
automatically because they're explicitly matched and we're going to want
|
|
0:28:56
|
to prefix back on two zeros that the PSTN is expecting.
|
|
0:29:01
|
So
|
|
0:29:06
|
let's take a look at our dial peers, we'll look at this one later
|
|
0:29:10
|
but here we've got, in fact let's actually take this one out,
|
|
0:29:13
|
we'll add this one back in in a little bit just,
|
|
0:29:16
|
one reason I'm taking it out is so that it will be ordered
|
|
0:29:20
|
properly in just a little bit, so here we've got our dial peer 1,
|
|
0:29:27
|
inbound and outbound, outbound for 112 emergency,
|
|
0:29:31
|
inbound for all pots dial peers coming in from the PSTN.
|
|
0:29:36
|
Dial peer 2 0 trunk code plus emergency, dial peer 3 is our local
|
|
0:29:42
|
forward digit 7, dial peer 4 is our national, forward digit 10
|
|
0:29:47
|
dial peer 5 is our international prefix 00,
|
|
0:29:52
|
let's go ahead and test some of these.
|
|
0:29:56
|
Scroll back buffer in the screen and switch over to our phone,
|
|
0:30:03
|
so let's dial 112, that goes out and we can hear it ringing.
|
|
0:30:10
|
OK I don't have a display of the PSTN phone just at the moment,
|
|
0:30:14
|
we'll have it after the break and then,
|
|
0:30:18
|
let's try dialing local, so let's dial 0
|
|
0:30:23
|
which we don't hear secondary dial tone yet, let's fix that real quick.
|
|
0:30:28
|
So that we can test and hear that, so I was dialing from a Skinny phone,
|
|
0:30:33
|
I can't show you the SIP phones because
|
|
0:30:35
|
the AXL doesn't control them unfortunately.
|
|
0:30:39
|
So let's go into telephony service and say secondary dial tone,
|
|
0:30:46
|
is going to be a word or digit string to 0.
|
|
0:30:50
|
OK? So now my Skinny phones,
|
|
0:30:54
|
we hear the secondary dia tone. I'll do that again.
|
|
0:31:00
|
OK. We hear the secondary dial tone.
|
|
0:31:06
|
Dial the wrong number, so 0 and then 703 7333
|
|
0:31:13
|
and it's ringing out to the PSTN and I do see from Desmond Hume
|
|
0:31:18
|
at 3001, so the calling name display is working properly as well.
|
|
0:31:29
|
OK and we can also see it in he display IE.
|
|
0:31:32
|
Good that we can see it in the display IE for Q931 debug.
|
|
0:31:35
|
better that we can actually or you know getting the points in the lab.
|
|
0:31:40
|
That we can actually see it on the PSTN or
|
|
0:31:43
|
called phone whenever that might be.
|
|
0:31:47
|
OK.
|
|
0:31:49
|
So now let's call our national number,
|
|
0:31:56
|
00 10 7047 444
|
|
0:32:04
|
Alright that's calling out to the PSTN, we dialed 00.
|
|
0:32:07
|
One for the secondary dial tone but we only forwarded 10 digits.
|
|
0:32:11
|
1234 123 123
|
|
0:32:16
|
OK?
|
|
0:32:19
|
Now let's try our international number.
|
|
0:32:25
|
OK? We'll try again. Let's try it from John Locke's phone.
|
|
0:32:33
|
I've been using the other phone already.
|
|
0:32:35
|
Not quite as loud, so 000
|
|
0:32:40
|
First one did have secondary dial tone,
|
|
0:32:45
|
000 and then let's call 1206 501 5111
|
|
0:32:54
|
which is PSTN line 1.
|
|
0:33:04
|
Now first of all we had to wait for interdigit timeout because we haven't
|
|
0:33:08
|
done anything. It shows unknown number, let's go look at the debug.
|
|
0:33:12
|
What happened here? Here's our 1206 501 5111
|
|
0:33:19
|
and we needed 00 to be sent out but
|
|
0:33:25
|
we show five zeros, now wait a minute, our dial peer,
|
|
0:33:33
|
do show run | 2 section voice, that was dial peer 5, I believe.
|
|
0:33:42
|
Our dial peer had three zeros and then variable digits.
|
|
0:33:47
|
And we see those three zeros
|
|
0:33:50
|
but then it also had prefix 00
|
|
0:33:55
|
now wait a minute, I thought that
|
|
0:34:00
|
it explicitly stripped anything
|
|
0:34:05
|
it stripped anything that was explicitly matched,
|
|
0:34:09
|
I thought we just talked about that and in fact I think we saw that
|
|
0:34:13
|
when we looked at dial peer 1 where we said no digit strip,
|
|
0:34:23
|
in fact let's just jump back in to dial peer 1.
|
|
0:34:27
|
And let's just go back to the default which is digit strip.
|
|
0:34:31
|
Now let's look at that dial peer again,
|
|
0:34:35
|
here's the way it was with no digit strip.
|
|
0:34:38
|
Here's the way it is now, digit strip doesn't show up because it is
|
|
0:34:41
|
the default, we can do show dial peer 1 | 2 include
|
|
0:34:45
|
digit strip and we see that it's the default, it's turned on.
|
|
0:34:49
|
So now it should be stripping these digits and should not
|
|
0:34:51
|
send anything out to the PSTN right? Well let's try it.
|
|
0:34:59
|
I won't even switch over the display, I'll just dial it here.
|
|
0:35:04
|
112
|
|
0:35:06
|
OK. It looks like it sent those digits, it didn't strip
|
|
0:35:12
|
anything, so the default of digit strip
|
|
0:35:18
|
did not work, it did not strip them, so here is the anomaly.
|
|
0:35:24
|
We're in dial peer 1 right? The destination pattern we said was carrot 112.
|
|
0:35:31
|
Anytime we have a carrot turned on to indicate the beginning of the string,
|
|
0:35:37
|
It will not strip any digits, the default of digit strip is ignored.
|
|
0:35:46
|
The little known fact in IOS, anytime we have a carrot,
|
|
0:35:52
|
the default of digit strip is ignored, so now I changed it without the carrot,
|
|
0:35:58
|
it's just destination pattern 112 digit strip, doesn't show up in the no format,
|
|
0:36:03
|
so it is enabled. Let's try that call again. I'll just hit redial.
|
|
0:36:09
|
And I didn't even get reorder tone, it just literally
|
|
0:36:15
|
disappeared from my screen, but we do see the called party is
|
|
0:36:21
|
set to the type, just like the calling part is set to the text
|
|
0:36:26
|
information element, but the calling number is here, the called number is
|
|
0:36:32
|
non-existent because digit strip did it's job and stripped the digits.
|
|
0:36:37
|
So again, all I have to do is change this to a carrot,
|
|
0:36:43
|
and then hit redial.
|
|
0:36:47
|
And as long as I have the carrot before destination pattern.
|
|
0:36:52
|
Digit strip will not matter whether it's configured,
|
|
0:36:57
|
whether it's left to the default which is do strip explicitly
|
|
0:37:00
|
matched digits or change to no digit strip. It effectively
|
|
0:37:06
|
creates a no digit strip situation. OK?
|
|
0:37:20
|
You might ask what about dial peer voice not to,
|
|
0:37:25
|
yes what about dial peer voice 2?
|
|
0:37:27
|
If it doesn't strip this digit, in other words regardless of
|
|
0:37:31
|
whether we have digit strip or no digit strip configured,
|
|
0:37:33
|
it effectively is no digit strip when we have the carrot,
|
|
0:37:37
|
if we didn't strip this leading 0,
|
|
0:37:40
|
then how did it go out with only three digits?
|
|
0:37:45
|
Forward digits still works properly, because forward digits is a
|
|
0:37:49
|
hard number saying this is the number of digits
|
|
0:37:52
|
from the right most significant to the left least significant number,
|
|
0:37:57
|
that you want the number of digits to be forwarded out.
|
|
0:38:01
|
Doesn't have anything to do with digit strip for now.
|
|
0:38:05
|
So that number worked just fine if I dial 0112.
|
|
0:38:13
|
OK? It has nothing to do with digit strip functionality,
|
|
0:38:17
|
it just has to do with the hard explicit number of digits
|
|
0:38:20
|
I told it to forward out.
|
|
0:38:26
|
OK? Now what about, so that takes care of explaining
|
|
0:38:31
|
three where we told it to forward explicitly seven digits,
|
|
0:38:34
|
and dial peer four, where we told it to explicitly forward ten digits.
|
|
0:38:39
|
But what about dial peer 5?
|
|
0:38:41
|
Where we didn't tell it explicitly to forward any digits.
|
|
0:38:45
|
This was where we got into trouble if I dial a
|
|
0:38:49
|
000 1206 501 5111
|
|
0:38:56
|
Wait for the interdigit timeout which will change here in just for a moment.
|
|
0:39:06
|
And the problem is, we see not only the three digits that we had
|
|
0:39:11
|
but also two more, so we prefixed two zeros
|
|
0:39:16
|
to the existing three zeros. Why?
|
|
0:39:19
|
Because we were counting on these zeros being stripped.
|
|
0:39:23
|
We we're counting on them being stripped. By what? By digit strip.
|
|
0:39:28
|
And in fact having digit strip work is the only way to make
|
|
0:39:31
|
this particular dial peer work, so what we do have to do for this dial peer,
|
|
0:39:38
|
is change the destination pattern to not include a prefix carrot,
|
|
0:39:43
|
we can have it on all the rest, we know how to mitigate the
|
|
0:39:49
|
you know anomaly I should say or exception of
|
|
0:39:54
|
digit strip not working, but for this dial peer,
|
|
0:39:59
|
build command, for this dial peer we cannot have
|
|
0:40:03
|
the carrot otherwise digit strip does not take effect
|
|
0:40:07
|
it doesn't strip these three zeros and we can't prefix the two that we need.
|
|
0:40:13
|
You could say well couldn't you just forward to, no that would
|
|
0:40:16
|
forward those to, actually we forward the last two digits,
|
|
0:40:19
|
whatever they were, so 11 in this case.
|
|
0:40:24
|
Could you let's see not prefix anything? No, but then it sends
|
|
0:40:28
|
three zeros out and the PSTN won't route it.
|
|
0:40:31
|
This is pretty much the only way to do it, so let's try the redial again.
|
|
0:40:37
|
Wait for the interdigit timeout.
|
|
0:40:45
|
Waiting, waiting, I hit redial already. There we go.
|
|
0:40:50
|
Now digit strip stripped those three zeros
|
|
0:40:53
|
and prefixed the two and the call is routing out to the PSTN properly.
|
|
0:41:00
|
OK? Let's go ahead and change our interdigit timeout.
|
|
0:41:08
|
Telephony service, it is time out.
|
|
0:41:15
|
Timeout interdigit and we're gonna change it to 7
|
|
0:41:20
|
we were instructed to, now also there was a voice register global,
|
|
0:41:29
|
and the same thing, timeouts interdigit 7.
|
|
0:41:36
|
Also there is the fact that we need to provide
|
|
0:41:42
|
secondary dial tone from the voice register global,
|
|
0:41:56
|
and let's just look at here at question mark to see what options we have,
|
|
0:42:03
|
I believe this one is called,
|
|
0:42:09
|
PSTN
|
|
0:42:13
|
actually slips to my mind here what the command is for
|
|
0:42:21
|
secondary dial tone, it might be that there is no secondary dial tone on
|
|
0:42:28
|
our SIP phones.
|
|
0:43:17
|
I thought there was though and for some reason it's slipping my mind so
|
|
0:43:24
|
external ring, incoming calls,
|
|
0:43:42
|
OK. We'll if I find it I'll bring it back up, for some reason
|
|
0:43:45
|
it's slipping my mind, but there is a secondary dial tone that works for our
|
|
0:43:52
|
SIP phones, do show run | 2 begin with, not ephone but rather dial-peer
|
|
0:44:01
|
so we've got our timeout interdigits, let's try a redial again,
|
|
0:44:07
|
see if we can count to 7, see if that will work properly so
|
|
0:44:14
|
000 1206 501 5111
|
|
0:44:22
|
1000 234567
|
|
0:44:30
|
There we go, our interdigit timeout works for our Skinny phones,
|
|
0:44:34
|
Let's try it on our SIP phones.
|
|
0:44:42
|
Last digit 234567.
|
|
0:44:54
|
And I'm not actually even sure that our SIP phones are gonna
|
|
0:44:56
|
fully work properly. Yes, they're not dialing at all, they're not
|
|
0:45:00
|
really registered. They keep going back and forth and I'm
|
|
0:45:03
|
fairly certain it's because of an IP conflict because we only saw
|
|
0:45:06
|
three IPs there and when I was going into the display, it kept shutting
|
|
0:45:09
|
me down, but I'm pretty sure they're sharing an IP and so they keep coming
|
|
0:45:13
|
back on board and then off, so I'm gonna have to reset those SIP phones
|
|
0:45:17
|
on the break, but as soon as we're done resetting the phones,
|
|
0:45:21
|
we will show that all four have IP addresses
|
|
0:45:25
|
and then they can all call properly as well.
|
|
0:45:29
|
That just went to a restarting state.
|
|
0:45:34
|
So let's see if there was anything else was in the task. Ensure that
|
|
0:45:39
|
all calls made to international numbers have to wait 7 seconds
|
|
0:45:42
|
and they have the option of pressing the hash key.
|
|
0:45:45
|
Alright, well let's test this from our Skinny phone
|
|
0:45:49
|
for our display here.
|
|
0:46:02
|
OK. So we'll dial 000 1206 501 5111
|
|
0:46:15
|
and my hold display is in and let's dial hash.
|
|
0:46:20
|
I dialed hash, you can see, or pound or octothorpe and nothing's happening.
|
|
0:46:27
|
And that's because that was just another digit that the CME doesn't recognize.
|
|
0:46:33
|
And it was waiting for interdigit timeout, so 7 seconds after I dial that hash,
|
|
0:46:37
|
that it looked for a destination pattern that had the
|
|
0:46:39
|
hash in it, to see if it matched. Now you might say wait a minute Mark,
|
|
0:46:44
|
I don't allow CME installs or IOS installs in general,
|
|
0:46:47
|
and if you dial a hash or a pound it will automatically
|
|
0:46:52
|
recognize that as a interdigit timeout, you know termination.
|
|
0:46:59
|
Well that is true, it will. So let's just end this
|
|
0:47:04
|
show run | 2 begin dial-peer,
|
|
0:47:10
|
see what we have here, we got our dial peers, look at this
|
|
0:47:14
|
dial peer terminator asterisk, that's interesting.
|
|
0:47:20
|
Let's highlight this because we're gonna do clear off our
|
|
0:47:24
|
config and do a show run | 2 include terminator.
|
|
0:47:29
|
And we see that there has been a dial peer terminator that has
|
|
0:47:32
|
already been configured for you.
|
|
0:47:34
|
here in this configuration we've got some pre config
|
|
0:47:37
|
dial peer terminator asterisk, we're gonna change that to
|
|
0:47:41
|
dial peer terminator hash and let's just say
|
|
0:47:45
|
after this, do show run | 2 include terminator,
|
|
0:47:49
|
and guess what, nothing shows up because that is the default
|
|
0:47:52
|
so again if you're used to it working by default, that's great.
|
|
0:47:55
|
It normally does. It might not be that way in your lab.
|
|
0:48:00
|
Let's go ahead and write our router config before we do anything else,
|
|
0:48:03
|
and we'll try this config again or the test again so
|
|
0:48:10
|
000 1206 501 5111 # and immediately it
|
|
0:48:21
|
gets rid of the hash that was previously showing in dialed
|
|
0:48:24
|
and sends the call out to
|
|
0:48:28
|
PSTN and of course doesn't have the hash in it.
|
|
0:48:33
|
Before it didn't even send the call out because we didn't have a
|
|
0:48:35
|
destination pattern that matched with a hash at the end.
|
|
0:48:39
|
Now show run | 2 section voice 5 I believe is the dial peer.
|
|
0:48:46
|
If we had hash at the end of that terminator or
|
|
0:48:51
|
if we had another dial peer that didn't have a dollar sign at the end,
|
|
0:48:55
|
then it possibly would have matched and tried to send it out.
|
|
0:49:01
|
So we have taken care of all of this
|
|
0:49:04
|
and I don't think that there's any that goes on to the next page.
|
|
0:49:08
|
|