|
0:00:13
|
For the next task, dealing with CUPS and IP Phone Messenger, or IPPM,
|
|
0:00:18
|
we're told to provision the IP Phone Messenger service
|
|
0:00:22
|
to subscribe both Jack and Ben's phone to the service
|
|
0:00:25
|
in a way that neither of them will have to manually log in,
|
|
0:00:29
|
when they select a service from their services button
|
|
0:00:36
|
to assing both Jack and Ben the contact of each other,
|
|
0:00:39
|
as well as the contact of Hugo which will of course require them
|
|
0:00:43
|
to have an end user role, so that they can log in to the CUPS server
|
|
0:00:51
|
and then also to message back and forth,
|
|
0:00:53
|
confirming that everything works as intended.
|
|
0:00:58
|
So first of all, let's just do that, let's make sure
|
|
0:01:01
|
that those end users for Jack
|
|
0:01:05
|
and Ben either already have or will give them
|
|
0:01:09
|
standard CCM end users, looks like Jack does
|
|
0:01:13
|
so we'll go back and look for Ben, Ben Linus
|
|
0:01:20
|
and he also has standard CCM users.
|
|
0:01:23
|
So let's just go ahead and open a CUPS window,
|
|
0:01:26
|
and log in to the user options.
|
|
0:01:34
|
And we're gonna log-in as JShepherd, password cisco.
|
|
0:01:44
|
And then go up to user options contacts
|
|
0:01:49
|
find, he has none, so we'll add
|
|
0:01:55
|
BLinus,
|
|
0:02:03
|
and we'll also add HReyes
|
|
0:02:11
|
I'll call him Hurley.
|
|
0:02:15
|
If that's his nickname and now he should have two contacts.
|
|
0:02:20
|
Great, let's log out.
|
|
0:02:24
|
Let's log in as HReyes.
|
|
0:02:29
|
And he shoud still have his contacts there.
|
|
0:02:36
|
Yes, he has BLinus and JShepherd, so we'll log out
|
|
0:02:40
|
and we'll log in as BLinus.
|
|
0:02:49
|
Go up to the contacts, he shouldn't have any yet
|
|
0:02:55
|
so we will add HReyes.
|
|
0:03:04
|
And also add JShepherd, now if I spell it wrong,
|
|
0:03:14
|
it won't work properly, because it's not a CUPS user.
|
|
0:03:21
|
So let me spell it correctly, looks like it worked,
|
|
0:03:25
|
and he has two contacts as well. OK.
|
|
0:03:28
|
So we've taken care of that bit on CUPS,
|
|
0:03:31
|
let's go ahead and go back to CCM admin,
|
|
0:03:36
|
and log in to the administration user interface.
|
|
0:03:41
|
And we've already taken a look at this, but just go to the IP
|
|
0:03:43
|
phone messenger settings and make sure that it's both on
|
|
0:03:49
|
that the user name and password are set
|
|
0:03:54
|
just give it password cisco.
|
|
0:03:59
|
And by the way when you're setting up application deskphone
|
|
0:04:03
|
settings where you create the CTI gateway user or
|
|
0:04:06
|
populate it or it's already there
|
|
0:04:11
|
and you populate his password as cisco or
|
|
0:04:13
|
where ever you're going to use it, IP Phone Messenger
|
|
0:04:16
|
if you're gonna use the same password, it's a great idea
|
|
0:04:18
|
since we're gonna put it in twice here,
|
|
0:04:21
|
twice for the CTI gateway user and then twice
|
|
0:04:25
|
you know initially and to confirm for application user in CUCM
|
|
0:04:31
|
for phone messenger and twice for CTI gateway
|
|
0:04:33
|
it's eight times, you might as well copy and paste it.
|
|
0:04:38
|
That way, we don't accidentally fat finger it.
|
|
0:04:47
|
And we'll go over to user management in CUCM application user
|
|
0:04:53
|
I believe I've already created phone messenger,
|
|
0:04:56
|
I have I would have copy and pasted the username as well,
|
|
0:05:00
|
to be certain, paste the password
|
|
0:05:06
|
and of course make sure it has standard CTI allow control
|
|
0:05:09
|
of all devices. OK? So once that's taken care of
|
|
0:05:13
|
back in CUPS, the only other thing for IP messenger is
|
|
0:05:17
|
status and response messages, so we have
|
|
0:05:23
|
we can basically see what the current status is
|
|
0:05:27
|
of these users, we can log them out
|
|
0:05:28
|
of their IP phone messnger if they're logged in.
|
|
0:05:31
|
We can send a message to a particular user
|
|
0:05:33
|
or we can send a broadcast message if we like.
|
|
0:05:38
|
So we would just select which users we wanted to
|
|
0:05:42
|
send the broadcast to, maybe not HReyes.
|
|
0:05:45
|
Type in the message and then hit broadcast
|
|
0:05:48
|
and that would be sent to all of them.
|
|
0:05:50
|
We don't have IP Phone Messenger set up on those phones yet,
|
|
0:05:52
|
so we won't do that.
|
|
0:05:56
|
And then also we have response messages
|
|
0:06:00
|
canned messages as they're often called.
|
|
0:06:04
|
and there's a few that cisco provides for you, you can add more
|
|
0:06:08
|
that you know are commonly used phrases so that people don't have to
|
|
0:06:12
|
type them out with keypad or sort of text style them.
|
|
0:06:16
|
OK. So now we're going to go set up
|
|
0:06:20
|
in CUCM device, device settings, phone services
|
|
0:06:25
|
we're gonna set up the IP messenger phone service,
|
|
0:06:27
|
so we'll create a new service, it's gonna be an XML
|
|
0:06:30
|
service, not a Java midlet.
|
|
0:06:33
|
And the service name is going to be IP Phone Messenger,
|
|
0:06:41
|
and the URL, we're gonna get that from the CUCM SRND.
|
|
0:06:46
|
And we all need to do is search for IPPM,
|
|
0:06:49
|
and once we come to IPPM,
|
|
0:06:52
|
the IP Phone Messenger application is what pops up.
|
|
0:06:55
|
And we can scroll down, it's gonna tell us a little bit how the
|
|
0:06:59
|
protocol translation takes place for presence
|
|
0:07:04
|
both for status and for instant messages.
|
|
0:07:10
|
And even meeting notifications if we have a
|
|
0:07:16
|
if we have a meeting place server set up and we'll scroll down
|
|
0:07:21
|
and here we have phone messenger one.
|
|
0:07:25
|
Now we can take this and copy this
|
|
0:07:28
|
paste it in here, we leave #devicename#
|
|
0:07:32
|
that's a variable that's essentially saying
|
|
0:07:39
|
that's essentially saying from the phone service
|
|
0:07:43
|
when the phone service is selected, choose the
|
|
0:07:49
|
choose the actual device name of the device
|
|
0:07:52
|
that is placing the call or the request to initiate the service
|
|
0:07:57
|
and replace it with that, we do of course have to replace
|
|
0:08:01
|
polisher.cups.com with the IP address since we're
|
|
0:08:05
|
number one, not using DNS currently for this, we could
|
|
0:08:10
|
and two, because that's not the fully qualified domain name of our
|
|
0:08:15
|
cup server even if we were using DNS, so let's just replace it with
|
|
0:08:19
|
IP address 177.1.10.50
|
|
0:08:23
|
minding to keep the port number of 8081 which is a tomcat port.
|
|
0:08:31
|
Now that would be the proper service url.
|
|
0:08:35
|
However, we were told to subscribe both Jack and Ben
|
|
0:08:40
|
to the service in a way that neither of them will have to
|
|
0:08:42
|
manually have to log in and this is going to require them to log in.
|
|
0:08:46
|
So this is what's known as one button log in.
|
|
0:08:48
|
Pretty much anything where it has a log in,
|
|
0:08:52
|
can be crafted to use one button log in with
|
|
0:08:57
|
CUCM and phone services, so we're just gonna open up
|
|
0:09:00
|
a new window here and I'm gonna paste this
|
|
0:09:05
|
entire URL in the address bar
|
|
0:09:09
|
but in order to get this to work, if I just hit enter here
|
|
0:09:13
|
it's not going to work, it's gonna say it's an invalid device
|
|
0:09:16
|
that's because #devicename# is a very variable that would
|
|
0:09:20
|
normally be replaced by the sending phone,
|
|
0:09:23
|
well there is no sending phone, it's a web browser.
|
|
0:09:25
|
So we need to manually replace this.
|
|
0:09:28
|
So I'm going to go to phone in a new
|
|
0:09:33
|
actually yes, I'm gonna go to phone in a new tab,
|
|
0:09:39
|
and yes this is probably gonna cause this page
|
|
0:09:42
|
to error when I try to add it.
|
|
0:09:45
|
So we might have to hit refresh before I add it.
|
|
0:09:48
|
And I'm gonna grab the phone and I'm just gonna grab any phone.
|
|
0:09:50
|
I don't really care which phone, I just want a device name.
|
|
0:09:53
|
So I'm gonna copy that device name, go over to my other
|
|
0:09:57
|
new url blank page that has the phone service url,
|
|
0:10:01
|
and erase #devicename#, that's it.
|
|
0:10:05
|
I still want question mark says that we're about to add
|
|
0:10:09
|
variables to whatever this page happens to contain in it.
|
|
0:10:13
|
Hopefully it contains some sort of scripting language.
|
|
0:10:17
|
JSP or ASP or something and it does.
|
|
0:10:22
|
And name equals, name is the variable
|
|
0:10:25
|
so equals and we want to give it the variable name so
|
|
0:10:28
|
let's give it the phone name, now we see
|
|
0:10:32
|
new title is logged in, enter your user ID and pin, here is the new
|
|
0:10:37
|
pseudo url, it's almost the url. This is going to be the url that
|
|
0:10:42
|
we actually use to create the service with.
|
|
0:10:45
|
The only difference is, I'm gonna paste it up here so I have this
|
|
0:10:50
|
remaining, the only difference is,
|
|
0:10:53
|
OK it's still http 177.1.10.50:8081/
|
|
0:11:00
|
here we go, line them up, /IPPM.
|
|
0:11:05
|
/deft, the other one was default, this one is deft.
|
|
0:11:11
|
Question name equals,
|
|
0:11:13
|
and this is where I want to take the device name hash
|
|
0:11:17
|
and paste it back in over the device name
|
|
0:11:20
|
being very careful not to paste over the ampersand.
|
|
0:11:25
|
The ampersand is very important, what that says is
|
|
0:11:28
|
I've got more than one variable, so this one
|
|
0:11:31
|
the value for the variable name is actually going to
|
|
0:11:35
|
be dynamically replaced by the phone for all phones.
|
|
0:11:41
|
And or ampersand, another variable menu equals
|
|
0:11:49
|
menu equals and it doesn't have a value
|
|
0:11:53
|
and log in equals one. OK? So menu doesn't have a value looks like.
|
|
0:11:59
|
So I'm gonna take this url,
|
|
0:12:02
|
and paste it in here and like I said when I hit save
|
|
0:12:05
|
this will probably, it actually let me at it.
|
|
0:12:09
|
And so now, I'm gonna take and go back over to my page
|
|
0:12:13
|
and I have a few different things that I have to put in.
|
|
0:12:18
|
I have to put in my user ID and pin as parameters.
|
|
0:12:24
|
So variables that are being given static configurations
|
|
0:12:27
|
per instance of this script so user ID is the
|
|
0:12:33
|
display name, so I'm gonna copy that and the display name
|
|
0:12:35
|
doesn't have to be exact and I'm gonna add a new parameter,
|
|
0:12:41
|
and be careful because parameter name is what shows up first here
|
|
0:12:44
|
but display name is what shows up first in the
|
|
0:12:47
|
xml output, so that's the display name.
|
|
0:12:54
|
The query string param, that's the little gold bit
|
|
0:13:00
|
that is what we want to copy alias and that is required to be exact
|
|
0:13:04
|
case sensitive, that is the parameter name.
|
|
0:13:12
|
OK? And then the default value, I'm not gonna put a default value in
|
|
0:13:17
|
and it's a required parameter but it's not a password, let's save
|
|
0:13:23
|
save and close that.
|
|
0:13:27
|
Parameter description is required, so sometimes we just copy the
|
|
0:13:31
|
display name if we want.
|
|
0:13:36
|
OK? So we've got alias which is also known as user ID,
|
|
0:13:43
|
then we'll add a new parameter which is going to be
|
|
0:13:48
|
pin and I'm not gonna copy the other one, actually I'll just copy this.
|
|
0:13:53
|
This one is all lower case,
|
|
0:13:56
|
for the query string param, the display name is pin
|
|
0:14:00
|
and the description will be pin and it's a password
|
|
0:14:04
|
and so we'll save and close that.
|
|
0:14:08
|
And that's back here, so now we have alias and pin
|
|
0:14:11
|
that have to be there, we'll save it, we'll enable it
|
|
0:14:15
|
and one other thing that I forgot to mention,
|
|
0:14:20
|
before I actually clicked save for the first time,
|
|
0:14:24
|
below enable there was something called enterprise subscription.
|
|
0:14:30
|
Notice that it's no longer a tickbox,
|
|
0:14:33
|
it's something that you can only do once when you create
|
|
0:14:37
|
a service and if you do create it as an enterprise subscription,
|
|
0:14:43
|
it will be automatically added to everyone
|
|
0:14:47
|
but it won't show up in anyone's device show subscriptions.
|
|
0:14:52
|
And the only way really to deal with it is to modify
|
|
0:14:55
|
and do update subscriptions, save and update
|
|
0:14:57
|
or to delete it and re-add it if you want to individually add it or
|
|
0:15:01
|
take it away from one or certain people, so only use it in a few instances.
|
|
0:15:08
|
OK. So now we're going to go, let's just save one more time to be sure.
|
|
0:15:13
|
And let's go out since we've opened multiple tabs, go back
|
|
0:15:16
|
in the IP Phone Messenger and just make sure that it works properly.
|
|
0:15:21
|
OK. It does, so now we're gonna go to device and phone
|
|
0:15:29
|
and I'm gonna add it to Jack Shepherds phone,
|
|
0:15:35
|
subscribe services up at related links, top right.
|
|
0:15:41
|
And we're gonna choose the IP Phone Messenger, say next
|
|
0:15:47
|
and we're told we have to put in a user ID and pin
|
|
0:15:51
|
so the user ID is JShepherd
|
|
0:15:55
|
and the pin is 12345,
|
|
0:15:59
|
I believe this pin, we can verify that in a monent,
|
|
0:16:02
|
and subscribe him to it.
|
|
0:16:05
|
And save it, should already be saved really.
|
|
0:16:09
|
And close that and his phone will begin to update.
|
|
0:16:17
|
Now we'll go back to the list and we'll add it to Ben Linus' phone.
|
|
0:16:23
|
We're not gonna add it to Hugo Reyes
|
|
0:16:24
|
because he's already got the CUPC.
|
|
0:16:28
|
So subscribe to services, choose IP Phone Messenger, choose next
|
|
0:16:34
|
user ID is BLinus, it's real important that you spell it properly here.
|
|
0:16:42
|
12345 for the pin, subscribe
|
|
0:16:47
|
and we'll close and his phone is restarting because
|
|
0:16:52
|
the user IP phone won't have a chance to
|
|
0:16:58
|
make amends as it were, if a bad user name and password.
|
|
0:17:04
|
Well they might, but they wouldn't be able to
|
|
0:17:06
|
they wouldn't be able to log in the first with one button essentially.
|
|
0:17:10
|
So let's go to Ben Linus and let's just make sure
|
|
0:17:13
|
let's put in here 12345
|
|
0:17:19
|
and paste, paste for pin.
|
|
0:17:24
|
Go back to users, JShepherd
|
|
0:17:30
|
and paste, paste for pin.
|
|
0:17:35
|
OK. So we should be good
|
|
0:17:41
|
let's go ahead and minimize this window
|
|
0:17:45
|
and JShepherd's back up and running.
|
|
0:17:50
|
So let's go ahead and try to log him in
|
|
0:17:52
|
so let's go to services button
|
|
0:17:56
|
and we'll choose the IP Phone Messenger,
|
|
0:18:04
|
and it's trying to log him in
|
|
0:18:08
|
and it did, it logged him in properly, we could see JShepherd up there.
|
|
0:18:11
|
So let's go to Benjamin Linus,
|
|
0:18:17
|
and let's log him in yet, we're gonna hit the services button
|
|
0:18:20
|
but we're not gonna log him in just yet,
|
|
0:18:23
|
and what we're gonna do is we're going to go over to
|
|
0:18:31
|
our XP utility machine and now we see that
|
|
0:18:35
|
Jack Shepherd is online but Ben Linus is still not.
|
|
0:18:38
|
Jack Shepherd is available and notice when I click on his name,
|
|
0:18:42
|
I also have the send an instant message option.
|
|
0:18:45
|
So let's go back and log in Ben,
|
|
0:18:49
|
select to log in to the phone messenger, make sure he logs in properly,
|
|
0:18:54
|
he did and now we see that Ben Linus is online as well.
|
|
0:18:58
|
So those were there because we had already added them as contacts,
|
|
0:19:04
|
let's go back to these phones and let's choose number
|
|
0:19:08
|
three for contacts.
|
|
0:19:12
|
And we can see that both Hurley and Jack
|
|
0:19:16
|
look like they are available based on the little icon.
|
|
0:19:22
|
I can press one or two to select the contact.
|
|
0:19:25
|
So I'll maybe contact Jack.
|
|
0:19:30
|
And it shows his status at the bottom or will
|
|
0:19:34
|
which is available, we see down here at the bottom of the display,
|
|
0:19:37
|
and we see that we have the option to message him or dial him,
|
|
0:19:42
|
or more we can delete or go back to main.
|
|
0:19:46
|
So let's go back to message him.
|
|
0:19:50
|
And let's just send him one of the canned messages.
|
|
0:19:54
|
Let's just say three, not available.
|
|
0:20:03
|
OK. Requesting and the message was sent
|
|
0:20:06
|
to JShepherd, not available is the message I sent. OK.
|
|
0:20:13
|
So let's go up here to Jack's phone, and click on 2 for messages,
|
|
0:20:18
|
and it probably makes me put in my pin
|
|
0:20:24
|
so I'll press the digits 12345 with this button.
|
|
0:20:32
|
And hit submit and I should see a message here
|
|
0:20:39
|
looks like I have a couple old ones but I've got
|
|
0:20:42
|
from Ben Linus, not available.
|
|
0:20:44
|
OK? So I can also, I can press a message
|
|
0:20:50
|
I can choose to delete it
|
|
0:20:54
|
or dial or reply, let's say I reply
|
|
0:20:58
|
and say 4, for yes
|
|
0:21:04
|
and that message was sent so
|
|
0:21:08
|
if I come down here to Ben's phone, go out
|
|
0:21:17
|
out and I click on 2 for messages
|
|
0:21:24
|
put in my pin and hit submit.
|
|
0:21:33
|
I see that I have message back from Jack saying yes.
|
|
0:21:37
|
Now I'm also going to say more and delete all
|
|
0:21:50
|
yes I want to delete all the mesages
|
|
0:21:56
|
and I want to go back to main
|
|
0:22:10
|
and I will say occasionally this IP Phone Messenger
|
|
0:22:15
|
gets stuck, so I'll just hit services
|
|
0:22:19
|
to get out and then services again
|
|
0:22:22
|
and then IP Phone Messenger which even if I wasn't logged in,
|
|
0:22:25
|
originally which is gonna try to log me in right now,
|
|
0:22:28
|
but even if I wasn't, it would or I shouldn't say even if I wasn't
|
|
0:22:31
|
even if I had just gone out by hitting the services button to get
|
|
0:22:35
|
rid of the screen and then hit IP Phone Messenger again and
|
|
0:22:38
|
normally I would have to log in, I wouldn't have to
|
|
0:22:41
|
this time because I had already been logged in.
|
|
0:22:44
|
OK? So now I'm gonna go to 3 for contacts,
|
|
0:22:49
|
and this time I'm gonna send a message to Hugo or Hurley
|
|
0:22:53
|
so hit 1, he's got the CUPC client,
|
|
0:22:59
|
and I'm gonna message him
|
|
0:23:04
|
and I'm gonna actually hit the second softkey for compose
|
|
0:23:12
|
and this time I'm gonna use the phone
|
|
0:23:14
|
the actual phone keypad
|
|
0:23:18
|
to compose a message that just says
|
|
0:23:36
|
back one
|
|
0:23:41
|
and let's just say, hey, it's hard enough.
|
|
0:23:48
|
And so I'm gonna say hey, and the message was sent
|
|
0:23:52
|
to HReyes, I'm gonna go back to main
|
|
0:23:55
|
and I'm gonna go over here and sure enough the message showed up,
|
|
0:23:58
|
from Ben Linus Hey and I can say, Hey Ben,
|
|
0:24:05
|
How's it going?
|
|
0:24:09
|
Enter and that will be sent to Ben and this is not
|
|
0:24:12
|
necessarily the most effective way to text in an IM,
|
|
0:24:16
|
it's not much better than texting with your phone actually it's
|
|
0:24:20
|
worse because you can't hold it in your fingers, you just kind of
|
|
0:24:23
|
have to use just one finger instead of using your thumbs but
|
|
0:24:26
|
it does work and you can certainly see status and you can
|
|
0:24:30
|
from the actual phone, you can get meetings if you have it set up to
|
|
0:24:36
|
you know a meeting place server.
|
|
0:24:40
|
So I'm gonna back to 2 for messages
|
|
0:24:44
|
and put in my pin again then submit again
|
|
0:24:53
|
and I'll see that I have a message from HReyes, Hey Be, how's it going?
|
|
0:25:00
|
Hit 1 to select that message
|
|
0:25:03
|
and I can choose to reply, or dial him or do whatever.
|
|
0:25:08
|
So nothing terribly fancy, but everything does work as intended,
|
|
0:25:13
|
for the the IP Phone Messenger Services.
|
|
0:25:15
|
|