|
0:00:14
|
17.7, and this is 15, change that.
|
|
0:00:18
|
Call blocking with SIP and Skinny phones.
|
|
0:00:21
|
So now, we’re told to set up a method whereby any calls made
|
|
0:00:25
|
after hours to certain DNs are blocked
|
|
0:00:29
|
unless a phone or caller is exempted
|
|
0:00:32
|
or if a user is provided a log in as listed below.
|
|
0:00:37
|
We’re told that after hours are defined as any weekday
|
|
0:00:39
|
before 8am and after 5pm,
|
|
0:00:43
|
and all day on weekend days.
|
|
0:00:46
|
International PSTN numbers should not be allowed to be dialed after hours.
|
|
0:00:51
|
Calls to the PSTN number prefix of 0900
|
|
0:00:56
|
should not ever be allowed by the phone regardless
|
|
0:01:00
|
of exemption or log in status
|
|
0:01:04
|
that John Locke at Skinny phone 2
|
|
0:01:07
|
should be able to
|
|
0:01:10
|
override the after hours exemption with a pin of 6798
|
|
0:01:15
|
but only for 60 minutes per log in with this pin.
|
|
0:01:21
|
Hugo Reyes at SIP phone 4 should always be exempt
|
|
0:01:26
|
from after hours restriction calling
|
|
0:01:28
|
to the international PSTN numbers,
|
|
0:01:30
|
so he should always be allowed to call.
|
|
0:01:32
|
All log-ins with pin should be cleared at 11pm local time
|
|
0:01:38
|
and any international tail and hop off calls that may happen to come,
|
|
0:01:44
|
although we don’t have it set up and we’re not going to probably test it at this point.
|
|
0:01:47
|
We’ll leave it for testing in the expert internetworking module.
|
|
0:01:54
|
Any international tail and hop off calls
|
|
0:01:57
|
that may come from the CUCM SIP trunks
|
|
0:01:59
|
should always be exempt after hours restriction,
|
|
0:02:04
|
should be exempt from the after hours restriction
|
|
0:02:07
|
calling to the PSTN number, the international PSTN number.
|
|
0:02:13
|
So, let’s switch over and just like we did with our
|
|
0:02:16
|
|
|
0:02:17
|
night service, we’re gonna start at telephony service
|
|
0:02:20
|
nd we’re getting into after hours information.
|
|
0:02:24
|
We’re gonna start with our after hours block patterns
|
|
0:02:28
|
and we’ll start with pattern 1 which is going to be 00900.
|
|
0:02:35
|
We were told 0900 but there’s always gonna be a first 0 for outside dial tone
|
|
0:02:40
|
and this one is going to have a special criteria of 7 by 24,
|
|
0:02:46
|
7 days a week, 24 hours a day.
|
|
0:02:50
|
What this does is not only turns it on
|
|
0:02:53
|
to block this pattern all of the time
|
|
0:02:57
|
in terms of all days everyday
|
|
0:03:00
|
so we don’t have to set certain hours for it
|
|
0:03:02
|
but this also is an exemption from exemptions.
|
|
0:03:06
|
So this actually says even if you have an exemption, whether you log in
|
|
0:03:10
|
or whether you always have an exemption,
|
|
0:03:13
|
you are never,
|
|
0:03:16
|
no one is ever allowed to dial this pattern.
|
|
0:03:19
|
And we don’t have to put all of the rest of the digits
|
|
0:03:23
|
that we trail behind 00900.
|
|
0:03:27
|
We just have to put enough that it matches the beginning dial prefix.
|
|
0:03:29
|
|
|
0:03:32
|
As soon as I do this,
|
|
0:03:34
|
any phone should not be able to dial 00900.
|
|
0:03:45
|
Now, actually I think my
|
|
0:03:49
|
national pattern is actually not set up like that anyhow.
|
|
0:03:59
|
Is it 5? No, that’s probably international.
|
|
0:04:10
|
|
|
0:04:18
|
There we go, I was hitting fast busy
|
|
0:04:21
|
before I even got to the rest of it so let’s try it again.
|
|
0:04:28
|
Now, I do 0 or 00900
|
|
0:04:33
|
and all of a sudden I have reorder tone.
|
|
0:04:37
|
However, if I went back and changed this telephony service,
|
|
0:04:43
|
after hours blocked to say No to this.
|
|
0:04:50
|
00900,
|
|
0:04:55
|
you know, 5011111, whatever.
|
|
0:04:58
|
|
|
0:05:00
|
I mean I have a number set up for this.
|
|
0:05:03
|
It's probably an unknown number,
|
|
0:05:06
|
but the point is that it would go out
|
|
0:05:09
|
and we see it going out back there.
|
|
0:05:11
|
I’ll just turn it back on
|
|
0:05:17
|
and again.
|
|
0:05:25
|
Everyone is blocked from that.
|
|
0:05:31
|
So, now, I’m gonna enter my after hours block
|
|
0:05:34
|
pattern number 2
|
|
0:05:37
|
which is going to be
|
|
0:05:40
|
000. One for the second redial tone
|
|
0:05:43
|
and then 00 for dialing internationally.
|
|
0:05:46
|
But I’m not gonna put this 7 x 24 because it can.
|
|
0:05:49
|
I do wanted to be able to be overridden.
|
|
0:05:52
|
|
|
0:05:54
|
Now, we need to do the after hours block date or day.
|
|
0:05:58
|
Date, if I have a special holiday,
|
|
0:06:01
|
but day, notice there’s no weekday or weekend,
|
|
0:06:05
|
so, I have to specify each day.
|
|
0:06:08
|
Monday, start time is 17:01
|
|
0:06:11
|
|
|
0:06:15
|
after 5 to 07:59 which is
|
|
0:06:20
|
before 8am on Tuesday,
|
|
0:06:23
|
same thing for Tuesday.
|
|
0:06:28
|
How does this cover up to 8am on Monday?
|
|
0:06:30
|
We’ll get to that with Sunday.
|
|
0:06:33
|
Say, so for Tuesday,
|
|
0:06:36
|
then we’ll do Wednesday,
|
|
0:06:40
|
then Thursday,
|
|
0:06:45
|
then Friday.
|
|
0:06:47
|
Now, Friday, I want this to go to 23:59.
|
|
0:06:54
|
Then on Saturday,
|
|
0:06:59
|
it’s gonna be all day from 0:00 hours midnight
|
|
0:07:04
|
until 23:59.
|
|
0:07:07
|
And then on Sunday,
|
|
0:07:10
|
I’m gonna do from 0:00 hours
|
|
0:07:14
|
until, well, actually no.
|
|
0:07:18
|
The way that I’m gonna want this to roll over
|
|
0:07:20
|
that I’m actually gonna to do Saturday
|
|
0:07:23
|
from, you know what, let’s do the same thing for Friday.
|
|
0:07:30
|
Let’s do it just like what we had with the others until 07:59
|
|
0:07:36
|
on Saturday. I’ll do the show run here in just a bit.
|
|
0:07:40
|
Let’s do show run type to section after hours.
|
|
0:07:47
|
Here we go.
|
|
0:07:48
|
Monday, Tuesday, Wednesday, Thursday, Friday, let’s do Saturday the same.
|
|
0:07:54
|
I’m sorry, Saturday will be
|
|
0:08:03
|
from 08:00 am
|
|
0:08:09
|
until 07:59.
|
|
0:08:16
|
And then from on Sunday,
|
|
0:08:25
|
I don’t know if it’s gonna let me do the same numbers, 7:59
|
|
0:08:30
|
to 7:59.
|
|
0:08:37
|
It does.
|
|
0:08:38
|
So from 7:59 until the next day at 7:59,
|
|
0:08:42
|
you know that could just beat for that 1 minute.
|
|
0:08:44
|
So, now, we were told to provide a log in
|
|
0:08:51
|
and override code.
|
|
0:08:55
|
Let’s provide the ePhone
|
|
0:08:58
|
to John Locke with an override code which is a pin of 6798
|
|
0:09:08
|
and we were told to have
|
|
0:09:14
|
Hurley, Hugo Reyes at DN3004 to be exempted always.
|
|
0:09:21
|
So, right now, let’s just go test it before we do any exemptions, anymore exemptions.
|
|
0:09:27
|
So, let’s have John Locke try to dial international
|
|
0:09:36
|
and he cannot dial internationally.
|
|
0:09:38
|
Now, let’s have him log in.
|
|
0:09:41
|
Log in is actually greyed out on this phone.
|
|
0:09:45
|
So, let’s restart this phone.
|
|
0:09:50
|
So that we ungrey that.
|
|
0:09:52
|
In the meantime, over on Hugo Reyes phone,
|
|
0:09:55
|
let’s try to dial internationally which is a SIP phone, you can’t see it.
|
|
0:10:02
|
Now, it doesn’t give me a busy tone
|
|
0:10:12
|
like the SIP phones do, or I’m sorry, like the Skinny phones do.
|
|
0:10:15
|
However, as soon as I completed
|
|
0:10:17
|
dialing, I actually hit #
|
|
0:10:20
|
to terminate interdigit time out or I could’ve waited for interdigit time out.
|
|
0:10:24
|
It simply deletes the call, the call just disappears.
|
|
0:10:29
|
So, it still worked,
|
|
0:10:31
|
it’s just the fact that I don’t get the same behavior.
|
|
0:10:33
|
I don’t hear the reorder tone.
|
|
0:10:36
|
Now, on John Locke’s phone, now that it’s restarted,
|
|
0:10:40
|
I still don’t see a log in.
|
|
0:10:46
|
We did put the pin down there. Do show run type 2 section ePhone 2.
|
|
0:10:50
|
|
|
0:10:53
|
|
|
0:10:57
|
He’s got the pin.
|
|
0:11:02
|
He certainly should be able to log in.
|
|
0:11:05
|
Let’s try creating a No Creating Files again.
|
|
0:11:16
|
In the meantime, let’s go to voice register
|
|
0:11:23
|
pool 2 which is Hugo Reyes phone,
|
|
0:11:27
|
the one we just tried for a minute deleted the call
|
|
0:11:30
|
and let’s do after hours exam.
|
|
0:11:32
|
|
|
0:11:34
|
Now, we can’t provide them with a pin
|
|
0:11:36
|
but we can simply say after hours exempt
|
|
0:11:40
|
and I’m actually going to create the profile and restart them all over again.
|
|
0:11:58
|
So now, I should be able to pick up the SIP phone
|
|
0:12:04
|
and dial 000,
|
|
0:12:09
|
our country code 12065015111#
|
|
0:12:17
|
and sure enough it dials out from 3004 out to the PSTN.
|
|
0:12:19
|
|
|
0:12:23
|
So, the after hour exemption did work.
|
|
0:12:28
|
I also
|
|
0:12:33
|
need to jump in to telephony service
|
|
0:12:38
|
and provide a log in time out.
|
|
0:12:45
|
First of all, I need to be able to provide the ability to log in
|
|
0:12:50
|
and then log in time out.
|
|
0:12:52
|
I was told they should only be able to log in for 60 minutes
|
|
0:12:57
|
and to clear everyone out of the system at 11pm.
|
|
0:13:02
|
So, log in clear, 24-hour time, 23:00.
|
|
0:13:08
|
Do show run type to include after-or log in.
|
|
0:13:21
|
No log ins are down on a BTY. Here’s my after-hour exempt.
|
|
0:13:26
|
Log in time out and clear at 23:00.
|
|
0:13:29
|
And I actually had to enter log in, at least log in enter
|
|
0:13:34
|
or log in time out or clear anyone of those to activate the ability
|
|
0:13:39
|
for them to log in on their phone.
|
|
0:13:42
|
So, now, I need to restart the phone, too.
|
|
0:13:48
|
We will bring up this phone.
|
|
0:13:50
|
This is actually still restarting.
|
|
0:13:52
|
Here we go, it catches up.
|
|
0:13:55
|
And now, we should be able to do a log in.
|
|
0:14:00
|
Now, log in is not greyed out any longer.
|
|
0:14:03
|
You can press log in and 6798 is my log in.
|
|
0:14:16
|
Let’s do show ePhone log in
|
|
0:14:19
|
and I can see that ePhone 1, the PIN enabled is False.
|
|
0:14:24
|
E-phone 2, the pin enabled is True and they are logged in.
|
|
0:14:29
|
So, now, this John Locke phone should be able to go off hook
|
|
0:14:37
|
and dial 000-1-206-501-5111#
|
|
0:14:47
|
and dial out to the PSTN.
|
|
0:14:51
|
And you can see what I was talking about with these
|
|
0:14:53
|
various memory trace back errors that are a lot of fun.
|
|
0:14:58
|
So, eventually, if something doesn’t go right here,
|
|
0:15:01
|
I may have to reload the router to get rid of that
|
|
0:15:05
|
possible corrupt memory block.
|
|
0:15:11
|
So, we were also told
|
|
0:15:14
|
to ensure that any international THO calls
|
|
0:15:16
|
that coming from the CUCM SIP trunks should always be exempt.
|
|
0:15:22
|
Everything else we’ve taken care of.
|
|
0:15:24
|
So, this
|
|
0:15:28
|
is our VOIP dial peers 10 and 11.
|
|
0:15:33
|
So, let’s jump into config T.
|
|
0:15:36
|
Jump into these dial peers
|
|
0:15:39
|
and you don’t have to remember everything that I’m gonna key in here.
|
|
0:15:44
|
Just like with TCL or VXML applications,
|
|
0:15:53
|
for parameters which are of course variables
|
|
0:15:56
|
inside of a script that allow the implementer of the script
|
|
0:16:00
|
to change them per instance of the script being loaded.
|
|
0:16:01
|
|
|
0:16:05
|
Just like in CUCX and just like in MBACD
|
|
0:16:08
|
which we'll talk about in the next deep dive module.
|
|
0:16:12
|
We have the ability under a dial-peer
|
|
0:16:17
|
to issue param space. Parameters specific to applications.
|
|
0:16:21
|
|
|
0:16:24
|
Now, any of these don’t actually give us the ability to,
|
|
0:16:28
|
they don’t load their parameters
|
|
0:16:30
|
or possible values into context sense of the help.
|
|
0:16:34
|
What do I mean by that?
|
|
0:16:35
|
I have a question and I get a list of built-in applications.
|
|
0:16:39
|
But even if I choose one of these built in applications,
|
|
0:16:43
|
I just get parameter name.
|
|
0:16:45
|
I have to know what the parameter is and it is case sensitive.
|
|
0:16:49
|
I couldn’t just pick question mark and find out
|
|
0:16:52
|
what are the available parameters for the script.
|
|
0:16:55
|
So, I’d have to know.
|
|
0:16:56
|
It’s like 1055678 or whatever it is.
|
|
0:17:02
|
And then the value for the parameter 2 or whatever
|
|
0:17:06
|
but I would have to know what those are.
|
|
0:17:08
|
I would also have to know what the application is
|
|
0:17:12
|
if it’s not one of these that happens to be defined.
|
|
0:17:18
|
And it’s not something that does have completion either.
|
|
0:17:20
|
|
|
0:17:23
|
So, there’s actually ones not even shown here called call space
|
|
0:17:31
|
but the reason that we know about it
|
|
0:17:36
|
is if we’re looking at the call blocking section which is where we deal with
|
|
0:17:45
|
go to information about where we deal with
|
|
0:17:48
|
based on date and time which is after hours toll bar what we just did.
|
|
0:17:52
|
Call blocking override which is what we just did to override the after hours.
|
|
0:17:58
|
And class of restriction which we talked about in the last deep dive module.
|
|
0:18:02
|
When we look at call blocking override,
|
|
0:18:06
|
one of the things is that we see we can do it per DN
|
|
0:18:10
|
at the entire phone level via a pin or just an exemption altogether
|
|
0:18:15
|
or an exception for a dial peer.
|
|
0:18:18
|
And if we scroll down to configuring call blocking exemption for a dial-peer,
|
|
0:18:24
|
it gives us the exact command.
|
|
0:18:28
|
So what we do is we paste that command in,
|
|
0:18:35
|
but for our next dial-peer, paste the command in,
|
|
0:18:40
|
do show run type to section voice 10 and voice 11.
|
|
0:18:46
|
And we see that it’s been put in there. Everything took just fine.
|
|
0:18:51
|
and now any calls that come into the router
|
|
0:18:55
|
from that VOIP dial peer just like they came into the router
|
|
0:18:59
|
from the ePhone DN or the ePhone or the voice register pool
|
|
0:19:07
|
that had after-hours exemption or a log in configure.
|
|
0:19:10
|
If they come into the router from this VOIP dial-peer,
|
|
0:19:14
|
they will be exempted from not being allowed to call out to the PSTN.
|
|
0:19:20
|
And surprisingly enough, the after-hours call block doesn’t only prevent
|
|
0:19:26
|
calls from Skinny and SIP phones but it also does system Y
|
|
0:19:34
|
to any dial-peer, anyone connecting from anywhere.
|
|
0:19:37
|
but we’ve just exempted those two dial-peers.
|
|
0:19:43
|
Pretty powerful.
|