WEBVTT 00:00:00.000 --> 00:00:03.339 align:middle line:90% 00:00:03.339 --> 00:00:06.678 align:middle line:90% [AUDIO LOGO] 00:00:06.678 --> 00:00:10.020 align:middle line:90% 00:00:10.020 --> 00:00:12.050 align:middle line:90% Hello, and welcome to INE. 00:00:12.050 --> 00:00:14.152 align:middle line:84% Today in this video, we will look at section 6, 00:00:14.152 --> 00:00:16.980 align:middle line:90% CMS, basically .6, 6.6. 00:00:16.980 --> 00:00:19.380 align:middle line:84% You understand it says we need to enable the chat 00:00:19.380 --> 00:00:22.950 align:middle line:84% feature on CMS web bridge so users within the cospace 00:00:22.950 --> 00:00:26.760 align:middle line:84% can send messages to each other via WebRTC. 00:00:26.760 --> 00:00:30.270 align:middle line:84% Now by default, chat feature is disabled in WebRTC. 00:00:30.270 --> 00:00:32.880 align:middle line:84% If you want to enable that, and you need to make an API 00:00:32.880 --> 00:00:36.630 align:middle line:84% call to CMS to enable the chat feature. 00:00:36.630 --> 00:00:38.370 align:middle line:84% Now, that is going to be done, again, 00:00:38.370 --> 00:00:41.040 align:middle line:84% by opening up Postman, connecting to CMS, 00:00:41.040 --> 00:00:45.450 align:middle line:84% and enabling a feature called as message board which 00:00:45.450 --> 00:00:47.050 align:middle line:90% needs to be set to true. 00:00:47.050 --> 00:00:48.840 align:middle line:84% So what we're going to do is right now, 00:00:48.840 --> 00:00:51.120 align:middle line:90% I will connect to my CMS. 00:00:51.120 --> 00:00:56.100 align:middle line:84% And using Postman, I will enable the message board. 00:00:56.100 --> 00:01:00.160 align:middle line:90% So let's go back to Postman. 00:01:00.160 --> 00:01:02.110 align:middle line:90% Open up Postman. 00:01:02.110 --> 00:01:06.925 align:middle line:84% And we will connect to CMS using the default username 00:01:06.925 --> 00:01:12.280 align:middle line:84% and password, which we have administrator and c1@c0123! 00:01:12.280 --> 00:01:14.380 align:middle line:84% We could create a new user also, which 00:01:14.380 --> 00:01:16.780 align:middle line:84% is only used for API because sometimes you don't really 00:01:16.780 --> 00:01:21.730 align:middle line:84% want to give users or anybody full access to CMS. 00:01:21.730 --> 00:01:23.950 align:middle line:84% You want to create an additional user which 00:01:23.950 --> 00:01:26.140 align:middle line:90% is only used for API. 00:01:26.140 --> 00:01:27.730 align:middle line:84% So what I'm going to do right now 00:01:27.730 --> 00:01:32.540 align:middle line:84% is, I am going to create a new tab. 00:01:32.540 --> 00:01:38.040 align:middle line:84% So let's go and duplicate this tab and create a new tab. 00:01:38.040 --> 00:01:41.070 align:middle line:90% And here, I would say POST. 00:01:41.070 --> 00:01:46.180 align:middle line:84% Change this to the default settings, 00:01:46.180 --> 00:01:51.000 align:middle line:90% which is hq-cms.ine.com/api/v1. 00:01:51.000 --> 00:01:53.530 align:middle line:84% And if you remember, in the earlier video, 00:01:53.530 --> 00:01:57.390 align:middle line:84% we had changed the web admin port to 445. 00:01:57.390 --> 00:02:02.130 align:middle line:84% So we would have to go and change that right here, 00:02:02.130 --> 00:02:07.500 align:middle line:90% colon 445 and then /api/v1/. 00:02:07.500 --> 00:02:11.670 align:middle line:84% And here we would give something called as call profiles. 00:02:11.670 --> 00:02:24.250 align:middle line:84% So if I go to here and say call, I believe, call profiles, 00:02:24.250 --> 00:02:34.720 align:middle line:84% and here I would give the key as messageBoardEnabled set 00:02:34.720 --> 00:02:38.100 align:middle line:90% to true. 00:02:38.100 --> 00:02:41.100 align:middle line:84% So this is what you need to do, is 00:02:41.100 --> 00:02:45.080 align:middle line:84% you need to go and give the key value as-- in fact, it 00:02:45.080 --> 00:02:46.600 align:middle line:90% should be in the body. 00:02:46.600 --> 00:02:48.290 align:middle line:90% So let's go and remove this. 00:02:48.290 --> 00:02:52.790 align:middle line:90% 00:02:52.790 --> 00:02:54.980 align:middle line:90% This should be in the body. 00:02:54.980 --> 00:03:00.040 align:middle line:84% And here, let's delete all of this, 00:03:00.040 --> 00:03:05.650 align:middle line:84% and we would give messageBoardEnabled set 00:03:05.650 --> 00:03:08.730 align:middle line:90% to true. 00:03:08.730 --> 00:03:09.280 align:middle line:90% That's it. 00:03:09.280 --> 00:03:10.864 align:middle line:90% That's all we need to do. 00:03:10.864 --> 00:03:12.156 align:middle line:90% This should be called profiles. 00:03:12.156 --> 00:03:15.030 align:middle line:90% 00:03:15.030 --> 00:03:19.710 align:middle line:84% If you look at my URL now, my URL is https to cms, 00:03:19.710 --> 00:03:23.850 align:middle line:84% hq-cms.ine.com on port 445, because as per earlier videos, 00:03:23.850 --> 00:03:27.390 align:middle line:84% we've changed the web admin port to 445 because the WebRTC is 00:03:27.390 --> 00:03:28.770 align:middle line:90% using the 443. 00:03:28.770 --> 00:03:32.430 align:middle line:84% And then the api/v1/callprofiles, 00:03:32.430 --> 00:03:35.190 align:middle line:84% in call profiles, I would say messageBoardEnabled set to true 00:03:35.190 --> 00:03:36.250 align:middle line:90% under Body. 00:03:36.250 --> 00:03:38.930 align:middle line:90% Let's do a Send. 00:03:38.930 --> 00:03:40.340 align:middle line:90% I should see a 200 OK. 00:03:40.340 --> 00:03:44.870 align:middle line:84% Let's do a GET just so that we get the ID of the call profile. 00:03:44.870 --> 00:03:46.370 align:middle line:90% This is the ID that we have. 00:03:46.370 --> 00:03:47.570 align:middle line:90% Let's copy this. 00:03:47.570 --> 00:03:52.350 align:middle line:90% 00:03:52.350 --> 00:03:55.500 align:middle line:84% And next thing that I would do is attach this 00:03:55.500 --> 00:03:58.140 align:middle line:90% to my system profile. 00:03:58.140 --> 00:04:01.170 align:middle line:90% So I would go to-- 00:04:01.170 --> 00:04:06.120 align:middle line:90% let's go back here to PUT. 00:04:06.120 --> 00:04:07.798 align:middle line:90% Now, system profile is built-in. 00:04:07.798 --> 00:04:08.590 align:middle line:90% It's already there. 00:04:08.590 --> 00:04:09.570 align:middle line:90% That's why we don't do a POST. 00:04:09.570 --> 00:04:10.410 align:middle line:90% It's already there. 00:04:10.410 --> 00:04:12.600 align:middle line:84% If I actually do something like, let's say, 00:04:12.600 --> 00:04:23.960 align:middle line:84% GET, go back here to system/profiles and do a Send, 00:04:23.960 --> 00:04:26.850 align:middle line:84% you would see that I have a built-in profile. 00:04:26.850 --> 00:04:27.950 align:middle line:90% I don't see an ID here. 00:04:27.950 --> 00:04:31.070 align:middle line:84% But what I'm going to do is I'm going to go and say PUT 00:04:31.070 --> 00:04:32.420 align:middle line:90% through system profiles. 00:04:32.420 --> 00:04:35.060 align:middle line:84% And in the system profile, I would go 00:04:35.060 --> 00:04:45.340 align:middle line:84% and here I would specify my callprofile, callprofile. 00:04:45.340 --> 00:04:48.910 align:middle line:84% And the value would be the ID that we created for message 00:04:48.910 --> 00:04:50.530 align:middle line:90% board to be enabled. 00:04:50.530 --> 00:04:51.080 align:middle line:90% That's it. 00:04:51.080 --> 00:04:54.050 align:middle line:84% That's all I need to do to enable chat feature. 00:04:54.050 --> 00:04:56.845 align:middle line:90% And let's go and do a Send. 00:04:56.845 --> 00:04:59.560 align:middle line:90% 00:04:59.560 --> 00:05:05.750 align:middle line:84% Let's now do a GET to see if we have the callprofile defined. 00:05:05.750 --> 00:05:08.150 align:middle line:84% So now I'm using the system profile, 00:05:08.150 --> 00:05:09.460 align:middle line:90% which is the built-in profile. 00:05:09.460 --> 00:05:11.830 align:middle line:84% In the system profile, I am defining 00:05:11.830 --> 00:05:14.050 align:middle line:84% that the call profile that I would be using 00:05:14.050 --> 00:05:19.000 align:middle line:84% would be having the call ID of the message board 00:05:19.000 --> 00:05:22.090 align:middle line:84% enabled set to true, which basically means that the chat 00:05:22.090 --> 00:05:23.810 align:middle line:84% feature is now going to be enabled. 00:05:23.810 --> 00:05:26.200 align:middle line:84% Now, if I go back to-- let's close this, or let's 00:05:26.200 --> 00:05:28.180 align:middle line:90% minimize this. 00:05:28.180 --> 00:05:33.070 align:middle line:90% And let's go back to my Jabber. 00:05:33.070 --> 00:05:36.250 align:middle line:90% And let's call any space. 00:05:36.250 --> 00:05:39.520 align:middle line:90% Let's say 884111111. 00:05:39.520 --> 00:05:41.710 align:middle line:84% This is the number that we created a test space 00:05:41.710 --> 00:05:42.740 align:middle line:90% in the earlier video. 00:05:42.740 --> 00:05:44.890 align:middle line:84% So if I do-- if I call this number, 00:05:44.890 --> 00:05:47.170 align:middle line:84% Tony Stark has joined that space. 00:05:47.170 --> 00:05:51.370 align:middle line:84% And let's go to Cisco Meeting app and go to Meet, 00:05:51.370 --> 00:06:01.340 align:middle line:84% and let's join the same space, 884111111@hq-cms.ine.com. 00:06:01.340 --> 00:06:04.890 align:middle line:90% And let's call into that space. 00:06:04.890 --> 00:06:09.280 align:middle line:84% And once I call into that space and I join that space, 00:06:09.280 --> 00:06:12.060 align:middle line:84% and if I click on this chat feature here, 00:06:12.060 --> 00:06:15.810 align:middle line:84% you see that I have the chat icon now available 00:06:15.810 --> 00:06:17.650 align:middle line:84% because the message board is enabled. 00:06:17.650 --> 00:06:22.770 align:middle line:84% So if I do a hi, Tony Stark should see the hi message. 00:06:22.770 --> 00:06:24.980 align:middle line:90% Let's go back here. 00:06:24.980 --> 00:06:28.400 align:middle line:84% And obviously, because he is logged in through Jabber, 00:06:28.400 --> 00:06:29.310 align:middle line:90% he would not see it. 00:06:29.310 --> 00:06:32.330 align:middle line:84% But if Tony Stark also logs in through the browser-- 00:06:32.330 --> 00:06:34.790 align:middle line:84% let's say, if I log out from here 00:06:34.790 --> 00:06:39.800 align:middle line:84% and I log in to Tony Stark using the browser, 00:06:39.800 --> 00:06:41.858 align:middle line:84% then they would be able to chat with each other. 00:06:41.858 --> 00:06:44.150 align:middle line:84% Obviously, you would not be able to chat between Jabber 00:06:44.150 --> 00:06:46.940 align:middle line:84% and WebRTC, but you can chat between WebRTC 00:06:46.940 --> 00:06:50.120 align:middle line:84% and WebRTC or Cisco Meeting app with Cisco Meeting app. 00:06:50.120 --> 00:06:52.490 align:middle line:84% Or using the browser with Cisco Meeting app, 00:06:52.490 --> 00:06:53.870 align:middle line:90% you can chat between them. 00:06:53.870 --> 00:06:56.340 align:middle line:84% This feature of chat was disabled earlier. 00:06:56.340 --> 00:06:59.420 align:middle line:84% So if you had made the call earlier before actually 00:06:59.420 --> 00:07:01.970 align:middle line:84% enabling the messageBoardEnabled set to true, 00:07:01.970 --> 00:07:03.620 align:middle line:84% if you had not done that, then you 00:07:03.620 --> 00:07:05.810 align:middle line:84% would see that the chat option would be disabled. 00:07:05.810 --> 00:07:08.250 align:middle line:84% And you would not be able to send any chat messages. 00:07:08.250 --> 00:07:09.980 align:middle line:84% So let me go back to the browser, 00:07:09.980 --> 00:07:20.108 align:middle line:84% and let's go and type here https://hq-cms.ine.com. 00:07:20.108 --> 00:07:21.890 align:middle line:90% So I'm now in the browser. 00:07:21.890 --> 00:07:25.060 align:middle line:84% I will log in with Tony, tony-stark@ine.com. 00:07:25.060 --> 00:07:27.944 align:middle line:90% 00:07:27.944 --> 00:07:31.980 align:middle line:84% And let's log in with his password. 00:07:31.980 --> 00:07:35.600 align:middle line:84% So Tony Stark is logged in using the browser. 00:07:35.600 --> 00:07:39.650 align:middle line:84% And HQ two is logged in using Cisco Meeting app. 00:07:39.650 --> 00:07:43.620 align:middle line:84% And let's go and join the same space, 00:07:43.620 --> 00:07:51.270 align:middle line:84% which is 884111111@hq-cms.ine.com 00:07:51.270 --> 00:07:55.100 align:middle line:90% and call into the space. 00:07:55.100 --> 00:07:57.390 align:middle line:90% So now they both have logged in. 00:07:57.390 --> 00:08:04.260 align:middle line:84% Let's go back to Cisco Meeting app and say hi, again. 00:08:04.260 --> 00:08:09.440 align:middle line:84% And if I look at the browser and look at the chart, 00:08:09.440 --> 00:08:12.230 align:middle line:84% I have an icon here, a blue dot-- red 00:08:12.230 --> 00:08:16.700 align:middle line:84% dot which says hi, I received a message from HQ two. 00:08:16.700 --> 00:08:19.747 align:middle line:90% So now I can chat using WebRTC. 00:08:19.747 --> 00:08:21.830 align:middle line:84% So with this, we've basically met the requirements 00:08:21.830 --> 00:08:22.580 align:middle line:90% of the question. 00:08:22.580 --> 00:08:24.080 align:middle line:90% We're using an API call. 00:08:24.080 --> 00:08:25.640 align:middle line:90% I connected to CMS. 00:08:25.640 --> 00:08:29.120 align:middle line:84% I enabled the message board to be set to true. 00:08:29.120 --> 00:08:31.100 align:middle line:84% And in the system profile, I call 00:08:31.100 --> 00:08:33.747 align:middle line:84% that call ID, saying that use this caller ID 00:08:33.747 --> 00:08:35.330 align:middle line:84% so that your message board is enabled, 00:08:35.330 --> 00:08:37.409 align:middle line:90% so your chat feature is enabled. 00:08:37.409 --> 00:08:39.230 align:middle line:84% I hope this video was informative to you. 00:08:39.230 --> 00:08:41.500 align:middle line:90% And thank you for watching. 00:08:41.500 --> 00:08:42.000 align:middle line:90%