|
0:00:14
|
So, now, we’re gonna get into the core of actually setting up a CUCME server
|
|
0:00:17
|
and this time we’re gonna start with SIP CUCME server set up.
|
|
0:00:22
|
We’re told to provision the Branch 2 Router 3 as a SIP CME server
|
|
0:00:31
|
with the following stipulations:
|
|
0:00:33
|
We’re told to allow maximum of two SIP IP phones
|
|
0:00:37
|
and to ensure they upgrade as needed.
|
|
0:00:40
|
To ensure that these phones can authenticate and register.
|
|
0:00:44
|
To allow a maximum of 10 directory numbers.
|
|
0:00:47
|
To provision the SIP server IP address.
|
|
0:00:50
|
To be the same as the loop back 0 interface.
|
|
0:00:53
|
and ensure that SIP packets from the router only come from that address.
|
|
0:01:00
|
To ensure that the phones display their time and date using the formats below.
|
|
0:01:07
|
Time, they should display 24-hour time in the same time zone as the router
|
|
0:01:12
|
and get their time from, via NTP from the local router
|
|
0:01:17
|
and the date should be in the format, day, month and then 2-digit year.
|
|
0:01:24
|
Let’s switch back over to our router configuration and clear off our screen
|
|
0:01:30
|
and we know that we have the ability to serve NTP
|
|
0:01:36
|
because we’ve already looked at show NTP associations.
|
|
0:01:40
|
I should say, do show NTP associations.
|
|
0:01:45
|
And we are sinking to the PSTN but we also are an NTP master
|
|
0:01:52
|
at a lower stratum so we can serve NTP.
|
|
0:01:55
|
Let’s get in to the beginning of the SIP CME server
|
|
0:02:01
|
which is done with the voice register global command.
|
|
0:02:07
|
Voice register global is what turns on SIP CME.
|
|
0:02:13
|
Now, the first thing we need to do is configure the mode that we’re gonna use.
|
|
0:02:18
|
There’s a lot of information that we can do here.
|
|
0:02:22
|
Actually, there’s not nearly as much as what we can do in telephony service.
|
|
0:02:25
|
But the very first thing is we need to find the mode.
|
|
0:02:29
|
Is it CME or SRST?
|
|
0:02:31
|
and as we showed before, do show voice register global.
|
|
0:02:37
|
The base mode is SRST.
|
|
0:02:39
|
If we do show Run, Type 2 section voice register,
|
|
0:02:45
|
we see that we've got voice register global, max DN of 144 and 42,
|
|
0:02:51
|
those are just the defaults that it configured
|
|
0:02:53
|
and it’s mode SRST. So, we actually have to say mode CME.
|
|
0:02:57
|
Actually I'm going to just do.. Oops, that's not what I wanna do.
|
|
0:03:07
|
Here we go. Let’s bring this down just a little bit.
|
|
0:03:10
|
just in case anyone has the bottom of the screen cut off.
|
|
0:03:14
|
So, we’re gonna do mode CME
|
|
0:03:22
|
and now we see that the mode has been changed to CME version 701.
|
|
0:03:29
|
So, we need to define the max number of phones
|
|
0:03:35
|
and we remember that those were called pools.
|
|
0:03:38
|
So the max number of pools we were told should be set to 2
|
|
0:03:44
|
and we were told the max number of DN should be 10.
|
|
0:03:48
|
Let’s just go ahead and do that real quick since we’re here.
|
|
0:03:50
|
Max DN of 10.
|
|
0:03:53
|
So, now, if we do show voice register global, it’s changed to 2 and 10.
|
|
0:04:02
|
And we were told to ensure that the phones can upgrade as necessary.
|
|
0:04:06
|
That’s done with the load command.
|
|
0:04:08
|
So we’ll say the load for the 7961 is the only phone that we have
|
|
0:04:13
|
and we’re told that firmware file name without dot loads.
|
|
0:04:18
|
So, let’s actually do, do show, sorry not run,
|
|
0:04:22
|
do show flash type 2 include 7961
|
|
0:04:29
|
and we've got terms 61 default loads, term 41 default loads
|
|
0:04:36
|
and this SIP 418-4-2s.loads.
|
|
0:04:42
|
So, we’re gonna use this one.
|
|
0:04:45
|
So, all we wanna say is load 7961 and this file name without dot loads
|
|
0:04:53
|
because it automatically depends on that.
|
|
0:04:55
|
And we’re told to ensure that the phones can authenticate and register.
|
|
0:05:01
|
So, we actually need to say Authenticate
|
|
0:05:05
|
for we should tell the request to register that they have to authenticate.
|
|
0:05:13
|
SIP needs to authenticate.
|
|
0:05:16
|
We’ve already done the max DN.
|
|
0:05:18
|
We also have to define the source interface
|
|
0:05:21
|
as the same IP address as the loopback 0 which we remember
|
|
0:05:26
|
do show IP interface 3 type 2 include loopback.
|
|
0:05:33
|
It is 177.1.254.3, copy and paste is always a good idea if you can.
|
|
0:05:40
|
So the source address is the command we use.
|
|
0:05:43
|
We’ll paste in the address and we can put into the port if we want
|
|
0:05:47
|
or just hit enter and this will automatically populate
|
|
0:05:56
|
with port 5060, the default for SIP.
|
|
0:06:03
|
Next, we were told, but actually first of all, that’s only half of this task
|
|
0:06:07
|
because what we also need to do is jump out,
|
|
0:06:12
|
go into voice service VOIP global,
|
|
0:06:18
|
go into SIP and say bind and we can either bind media control
|
|
0:06:24
|
or if we just type all, it’ll actually do both for us.
|
|
0:06:28
|
Bind all communication for SIP signalling under voice service VOIP.
|
|
0:06:34
|
so this global for the box, for the VOIP types of dial-peers
|
|
0:06:40
|
which are going to be whether created for SIP phones
|
|
0:06:45
|
and we’re gonna bind them to the interface of loopback 0.
|
|
0:06:49
|
So, do show run type 2 section voice service.
|
|
0:07:01
|
Actually, I shouldn’t say Section, I should probably say "Begins with voice service."
|
|
0:07:07
|
And it didn’t take for some reason, source interface,
|
|
0:07:13
|
sorry not the source interface, bind all to the source interface of loopback 0.
|
|
0:07:31
|
Let’s just do them individually.
|
|
0:07:36
|
not !, bind, control to source interface, loopback 0,
|
|
0:07:45
|
and bind media to the source interface of loopback 0.
|
|
0:08:03
|
Let’s go ahead while we’re here,
|
|
0:08:05
|
I’m not sure why that’s not taking right now.
|
|
0:08:07
|
We’ll investigate that in a minute.
|
|
0:08:08
|
Let’s also turn on the SIP register server.
|
|
0:08:11
|
Now, we were told earlier when we stated,
|
|
0:08:17
|
I can scroll back up here,
|
|
0:08:19
|
under voice registrar global to authenticate register,
|
|
0:08:22
|
all that was saying is registration attempt should be authenticated.
|
|
0:08:27
|
The voice register global is essentially the
|
|
0:08:30
|
configuration parameters for the SIP server
|
|
0:08:33
|
but the router itself under voice service VOIP in subsection SIP
|
|
0:08:38
|
is where we actually turn on the register server.
|
|
0:08:42
|
So, now, we have registered our server, we could even give it and expires
|
|
0:08:46
|
such as minimum or maximum of, up to 3600 minutes or an hour.
|
|
0:08:56
|
It goes as low as 60 seconds or every minute
|
|
0:09:01
|
and then a maximum value of up to,
|
|
0:09:05
|
I think that’s a day but we could say,
|
|
0:09:07
|
let’s just say the minimum of the maximum,
|
|
0:09:10
|
the lowest possible number for the maximum, I should better say.
|
|
0:09:13
|
Let’s try that bind command again after we did that,
|
|
0:09:16
|
bind all to source interface loopback 0,
|
|
0:09:24
|
do show run,
|
|
0:09:28
|
it’s still not doing that.
|
|
0:09:30
|
Let’s exit out 1 and let’s say allow connection SIP to SIP.
|
|
0:09:35
|
We said we would need that.
|
|
0:09:38
|
Let’s make sure that shows up.
|
|
0:09:42
|
There we go, now let’s jump back in the subsection SIP,
|
|
0:09:45
|
bind all to source loopback 0,
|
|
0:09:59
|
still not doing it.
|
|
0:10:02
|
You know what? I know why we can’t do that,
|
|
0:10:04
|
because we don’t actually have any dial-peers configured.
|
|
0:10:08
|
We have to have at least one dial-peer voice.
|
|
0:10:12
|
Let’s call it 10 type VOIP.
|
|
0:10:15
|
Now, let’s go back to voice service VOIP and back to SIP
|
|
0:10:21
|
and now let’s say bind all to source loopback 0.
|
|
0:10:32
|
There we go.
|
|
0:10:33
|
We have to have a dial-peer of the type VOIP
|
|
0:10:35
|
in order to actually have the possibility
|
|
0:10:38
|
that we would need to bind anything.
|
|
0:10:40
|
Also, when I've created the voice register pool or voice register DN,
|
|
0:10:45
|
that would also allow me to do it.
|
|
0:10:47
|
In fact, just to illustrate that, let’s just go ahead
|
|
0:10:50
|
and go back to we have create a dial peer 10.
|
|
0:10:54
|
Let’s just uncreate that or delete that
|
|
0:10:58
|
and go back to do show run type 2 section voice service.
|
|
0:11:02
|
It actually stays in the configuration there.
|
|
0:11:04
|
If I took them out and try to put them back in, it wouldn’t, that’s why.
|
|
0:11:09
|
So, once I had created the voice register pool and DN,
|
|
0:11:12
|
that would create a VOIP SIP dial-peer and then those commands would stick.
|
|
0:11:19
|
So, now going back to the task,
|
|
0:11:27
|
we were told to ensure the phones
|
|
0:11:31
|
displayed their time and date in the proper formats.
|
|
0:11:35
|
So back under voice register global,
|
|
0:11:39
|
we are going to look at,
|
|
0:11:41
|
now we can see there’s a lot more information
|
|
0:11:43
|
since we changed it to mode CME.
|
|
0:11:47
|
Now, we’re gonna look at our gate format and also our time format.
|
|
0:12:01
|
So, let’s just say time format to begin with.
|
|
0:12:05
|
Let’s say time zone to begin with.
|
|
0:12:08
|
Time zone, if we take a look to a question mark,
|
|
0:12:12
|
we have a lot of options here
|
|
0:12:14
|
and we can actually see that we have
|
|
0:12:18
|
type 23, I’m sorry, type 24. Where is it?
|
|
0:12:25
|
There you go.
|
|
0:12:27
|
Type 28 rather, essentially European standard and daylight time.
|
|
0:12:32
|
The only problem is, this says +120
|
|
0:12:35
|
and this is actually in off set in minutes rather than hours.
|
|
0:12:41
|
+120, this is so that we can have half hours.
|
|
0:12:47
|
But +120, that two hours and that’s not proper,
|
|
0:12:52
|
that’s not what we were told to use.
|
|
0:12:53
|
We were told to use +1 hour.
|
|
0:12:55
|
So, we’re actually going to give it Western European standard time
|
|
0:13:01
|
or we could even give it GTB standard and daylight time.
|
|
0:13:05
|
We just have to make sure that it has a daylight time as well.
|
|
0:13:10
|
Like for instance, Eastern European, no, that has a daylight as well.
|
|
0:13:14
|
So, has to be one of these. So, we’ll just give type 23.
|
|
0:13:18
|
Time zone 23.
|
|
0:13:22
|
That’s not actually gonna download the name of the time zone.
|
|
0:13:26
|
So, that’s not going to be that important.
|
|
0:13:28
|
So, now, we need to do time format
|
|
0:13:31
|
and we’re told to set it to 24-hour format
|
|
0:13:33
|
and then date format and we were told to set it to month-day-year.
|
|
0:13:41
|
We’re told to set it to day-month-year, weren’t we?
|
|
0:13:44
|
Yes, day-month-year so we’ll say day-month-year.
|
|
0:13:48
|
We’re done. Do show run. Begin with voice service.
|
|
0:14:00
|
Here we got our voice service VOIP,
|
|
0:14:02
|
allow connection SIP to SIP turning on cue
|
|
0:14:04
|
but allowing phones to talk, SIP phones to talk to one another,
|
|
0:14:08
|
find all control for the source interface for SIP
|
|
0:14:13
|
and for media to loopback 0, turn on the register server
|
|
0:14:18
|
and actually go ahead and configure the bases of our voice register global.
|
|
0:14:23
|
Now, well, this is done, we’re going right this real quick.
|
|
0:14:29
|
If we do a show voice register, not global
|
|
0:14:34
|
but show voice register TFT bindings.
|
|
0:14:37
|
This is actually TFTP files that have been created by the SIP CME server
|
|
0:14:43
|
but there are none, why?
|
|
0:14:46
|
Well, one of the things we haven’t done is back in voice registrar global.
|
|
0:14:53
|
We didn’t say create profile.
|
|
0:14:57
|
This is why if you had ever done CME for Skinny,
|
|
0:15:01
|
that would be like create CNF files.
|
|
0:15:04
|
This is actually creating the configuration files.
|
|
0:15:08
|
So, now, if we do show voice register TFTP bind,
|
|
0:15:12
|
We've got some basic files that the server has generated in memory
|
|
0:15:18
|
where it’s running in the system.
|
|
0:15:20
|
We can look at that through not a show like we can do flash
|
|
0:15:25
|
So, we can’t do show system, it’s not an option.
|
|
0:15:28
|
But we can do DIR for directory flash or we can do DIR.
|
|
0:15:34
|
We got system, MB RAM and a number of other things.
|
|
0:15:36
|
We got DIR system
|
|
0:15:40
|
and we see that there are some configuration subfolders
|
|
0:15:45
|
D for directory. We've got CME and ITS CME.
|
|
0:15:49
|
Let’s go ahead and just do that again.
|
|
0:15:51
|
Let’s just do CME/.
|
|
0:15:55
|
We've got SIP phones so jump down another directory, SIP phones,
|
|
0:16:01
|
and we've got some SIP phone configuration files
|
|
0:16:04
|
that have been created dynamically in memory.
|
|
0:16:07
|
Also, DIR system/ITS
|
|
0:16:13
|
will show us the information for Skinny CME.
|
|
0:16:17
|
So, it was originally named ITS, IP telephony system as I mentioned earlier.
|
|
0:16:22
|
So, it is still actually maintains that name for Skinny based files
|
|
0:16:26
|
and all SIP based files are under CME.
|
|
0:16:33
|
So, again, let’s just do that show voice register TFTP bind
|
|
0:16:37
|
and notice it only has sink information.
|
|
0:16:40
|
SIP default, so it’s serving it as a root file
|
|
0:16:43
|
but the actual URL or the actual path is found here.
|
|
0:16:48
|
This is the alias.
|
|
0:16:50
|
We've got a soft key default for KPML, key press mark up language .xml.
|
|
0:16:55
|
Key press mark up language is a mark up language from xml
|
|
0:17:00
|
and then the soft key default.
|
|
0:17:01
|
We don’t have any SIP config or even SEP MAC address config files
|
|
0:17:08
|
and that’s because we haven’t created any actual phones yet.
|
|
0:17:13
|
So, that takes care of this task we’ve set up the basic CME SIP server.
|