Admin Guidel English Ver 100
Admin Guidel English Ver 100
Author:
Eugene Blanchard
SAIT Polytechnic
Calgary, Alberta
Canada
[email protected]
Version 1.0
Page 1 of 63
by
Eugene Blanchard, June 2015
Table of Contents
1. Introduction............................................................................................................ 4
2. Test Environment Specifications............................................................................. 5
3. Features.................................................................................................................. 6
4. Operation............................................................................................................... 6
5. Command Line Options.......................................................................................... 7
6. Installation:............................................................................................................. 8
7. Exploring OpenMCU-ru........................................................................................ 10
8. Initial Settings..................................................................................................... 13
9a. Configuring a SIP video softphone client............................................................15
9b. Configuring a H.323 video softphone client........................................................19
10. Verifying disabled auto conference room creation..............................................20
11. The first conference room.................................................................................. 21
12. Recording a Conference..................................................................................... 24
13. Creating and deleting a Conference Room.........................................................26
14. Taking Control of a Conference Room.................................................................27
15. Creating a multiple display conference room.....................................................35
16. Voice Activity Detection (VAD)............................................................................38
17. Telnet to OpenMCU-ru Server.............................................................................39
18. Settings.............................................................................................................. 40
Settings - General.................................................................................................. 40
Settings - Advanced.............................................................................................. 41
Advanced - Conference...................................................................................... 41
Advanced - Export (named pipe)........................................................................42
Advanced - Registrar.......................................................................................... 42
Advanced - Control Codes.................................................................................. 42
Advanced - Video............................................................................................... 43
Advanced - Telnet............................................................................................... 43
Settings - Users..................................................................................................... 43
Users - Users...................................................................................................... 44
Version 1.0
Page 2 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 3 of 63
by
Eugene Blanchard, June 2015
1. Introduction
This manual is based on the original OpenMCU User Manual located here:
http://openmcu.ru/public/OpenMCU-ru/manual/user_guide_en.pdf
OpenMCU-ru is the fork of original OpenMCU with a lot of new features. OpenMCU is
a simple Mutli Conference Unit (Multipoint Control Unit) using the H.323 and SIP
protocols. It requires special version of H323plus library modified by Varnavskiy
Andrey Ivanovich. It is known to run on Linux, FreeBSD and Windows and should run
on any platform supported by H323plus and Sofia-SIP.
This guide is free to distribute, modify, edit, share as you see fit as long as you
reference the authors.
Version 1.0
Page 4 of 63
by
Eugene Blanchard, June 2015
I used a virtualized environment just because it was easy to setup a virtual machine
in my lab. Having a dedicated server would work just as well if not better.
Version 1.0
Page 5 of 63
by
Eugene Blanchard, June 2015
3. Features
OpenMCU contains the following features:
4. Operation
OpenMCU works by setting up a H.323 listener process, and then waiting for
incoming
connections. Whenever an incoming connection is established, it determines which
conference is
required via the 'rooms' feature and adds the call to that conference. You call the
MCU using the
format 'room_name@server_name' or 'server_name##room_name' depending on
the notation for
your hard/software client.
For Example for myphone3 type:
[email protected]
New rooms are created automatically and there is a default room for people who do
not specify a
room or cannot specify a room (eg NetMeeting). The default room is called room101
(this can be changed in the Settings Section).
Version 1.0
Page 6 of 63
by
Eugene Blanchard, June 2015
-v --version
-d --daemon
run as a daemon
-u --uid uid
-g --gid gid
-p --pid-file
-t --terminate
-k --kill
-s --status
-c --console
-l --log-file file
-x --execute
-i --ini-file
-H --handlemax n
-C --core-size
Version 1.0
Page 7 of 63
by
Eugene Blanchard, June 2015
6. Installation:
OpenMCU-ru can be installed in Linux or Windows. This Administrator Guide focuses
on the Linux installation. The operation of OpenMCU-ru is similar for both operating
systems.
everything)
SELinux was disabled
Firewall was disabled with plans to enable it and open the needed ports
later.
3. Click on it and select Open with Package Installer. You will need root
privileges.
Version 1.0
Page 8 of 63
by
Eugene Blanchard, June 2015
15:23
14:30
13:10
15:23
14:30
14:30
14:30
14:54
15:23
13:12
15:23
14:45
14:33
14:30
14:30
15:23
AUTHORS
bin
config
COPYING
font
include
lib
log
NEWS
pipe
README
records
resource
scripts
share
ssl
6. Once installed, check that OpenMCU-ru is running. As the root user, from a
terminal window type:
service openmcu-ru status
Or
/etc/init.d/openmcu-ru status
Version 1.0
Page 9 of 63
by
Eugene Blanchard, June 2015
7. Exploring OpenMCU-ru
8. Open up a web browser and point it to http://127.0.0.1:1420 on your server.
You will start at the Welcome Page of OpenMCU-ru:
Information Section
Version 1.0
Page 10 of 63
by
Eugene Blanchard, June 2015
The Information Section informs you that the server is running and
general information.
Server Status
The Custom Logo Image section allows you to upload an image that
will be used in a conference room when a participant initially connects
and before the participants video starts.
I created a simple 640x480 image to use (you can add your company
logo):
Version 1.0
Page 11 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 12 of 63
by
Eugene Blanchard, June 2015
8. Initial Settings
OpenMCU-ru works very well right out of the box and there are very few
settings that need to be changed.
10. First step is to secure your server by configuring a password for the admin
user. Go to Settings Users Users:
11. Add a password to the admin user and select Accept. Now when you
connect to OpenMCU-ru, you will be asked for a username and password.
13. For security purposes, disable auto-create conference room on the wildcard
room. Go to Settings Advanced Conferences and disable Auto create
when connecting:
Version 1.0
Page 13 of 63
by
Eugene Blanchard, June 2015
This will force all participants to connect to an existing conference room and
prevent a denial of service attack.
Version 1.0
Page 14 of 63
by
Eugene Blanchard, June 2015
Most every other softphone requires that you register first with a PBX then dial
through the PBX to get to OpenMCU-ru. Which means that you have to have
routes configured between the PBX and OpenMCU-ru to test. This makes testing
very difficult use a Linphone and make your life easy. Later, well configure
integration with the FreePBX (Asterisk based PBX) and go down that road.
14. Install Linphone on a PC or laptop with a web cam. Install the Cisco H.264
codec as it is the preferred codec for video.
15. When Linphone first starts up, the Account Setup Assistant will pop up. Just
hit cancel for now.
16. Go to Options:
Version 1.0
Page 15 of 63
by
Eugene Blanchard, June 2015
19. Set the following parameters. These will be needed later for FreePBX
(Asterisk) interoperability:
SIP UDP port:
5060
SIP TCP port:
506
Audio RTP/UDP:
10000 - 20000
Video RTP/UDP
10000 - 20000
Version 1.0
Page 16 of 63
by
Eugene Blanchard, June 2015
21. Check that the Audio devices are selected and work properly.
22. Select your Web Camera and a Prefered video resolution of vga 640x480.
23. Go to Manage SIP Accounts tab and change Your username. The default
username is toto, for testing purposes, I named my users after characters
from the movie The Wizard of Oz:
24. Go to the Codecs tab and disable the VP8 codec. The quality is very poor
compared to the H.264 and the resolution is restricted to a small window.
Version 1.0
Page 17 of 63
by
Eugene Blanchard, June 2015
25. There is the option to Enable adaptive rate control but I havent evaluated
it to make a decision whether it is a good thing or not.
Version 1.0
Page 18 of 63
by
Eugene Blanchard, June 2015
26. After installing the MyPhone3, go to Settings - Video and configure for the
best video quality:
Set the In and Out Video for 4CIF (704x576). This will need to be finetuned to get the best video resolution for full screen.
Disable all video codecs except the H.264-4CIF3 codec for now.
Version 1.0
Page 19 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 20 of 63
by
Eugene Blanchard, June 2015
27. From the Linphone, dial 1001@<ipaddress of MCU>, see green highlight:
28. You should receive a Forbidden error message (highlighted in red). This tells
us that auto creation of conference rooms is disabled!
29. From the MyPhone3, dial 1001@@<ipaddress of MCU>, see green highlight:
Version 1.0
Page 21 of 63
by
Eugene Blanchard, June 2015
30. You should receive a Refuse error message (highlighted in red). This tells us
that auto creation of conference rooms is disabled!
32. From the Linphone, now connect to sip:1001@<IP address of MCU. You will
see the Custom Logo Image momentarily flash on the screen while the
Linphone (participant) joins the conference:
Version 1.0
Page 22 of 63
by
Eugene Blanchard, June 2015
34. It is difficult to see at this time but behind the conference participants name
are two options: Full Screen and Hangup. Full Screen sets the video image to
full screen and hangup ends the conference call for this participant.
35. When another participant calls in to 1001@<IP address of MCU>, you will see
the Custom Image Logo while they are initially joining the conference.
OpenMCU-ru is operating in Auto mode at this time and will automatically
reconfigure the screen for the number of participants.
36. Monitor the Status of the conference room by going to the OpenMCU-ru
Status Option:
Version 1.0
Page 23 of 63
by
Eugene Blanchard, June 2015
This shows:
audio (OPUS) and video (H.264) codecs and resolution (640x480) that
the participants are using.
the Video Out codec (H.264) and resolution (1280x720).
the Duration connected
bandwidth used (Packets, Bytes and Kbit/s)
frames per second (FPS) rate.
Version 1.0
Page 24 of 63
by
Eugene Blanchard, June 2015
You can download or delete the recording from this window. When you delete
a recording, you will be prompted to verify the deletion.
39. To stop recording, go back to the Control Option and press the
Version 1.0
Page 25 of 63
button.
by
Eugene Blanchard, June 2015
40. The conference is recorded in .asf format and can be played back using VLC
media player.
41. NOTE: I was only able to record a conference rooms #0 display and not #1.
So if you have a multi-display conference room be aware.
Version 1.0
Page 26 of 63
by
Eugene Blanchard, June 2015
43. Participants will join the new room 1002 by dialing 1002@<IP address of
MCU>. Room 1002 will run separately from room 1001.
Version 1.0
Page 27 of 63
by
Eugene Blanchard, June 2015
47. Hovering over any of the icons or buttons will bring up a help box for that
item.
48. The
auto mode
Version 1.0
by
Eugene Blanchard, June 2015
49. If you attempt to change the configuration while in the auto mode, an error
message will flash at the top of the screen:
50. The button functions on the upper left side are as follows:
Select room
The (3) indicates # of participants
VAD parameters
(Voice Activity Detection)
Start/stop recording
Sort mode
Version 1.0
Page 29 of 63
by
Eugene Blanchard, June 2015
Openmcu-ru built-in
Libyuv
An open source project that includes YUV scaling and conversion
functionality.
Scale YUV to prepare content for compression, with point, bilinear or
box filter.
Convert to YUV from webcam formats.
Convert from YUV to formats for rendering/effects.
Rotate by 90/180/270 degrees to adjust for mobile devices in portrait
mode.
Options filtering algorithms available:
o kFilterNone
o KFilterBox
Swscale
Used to display the video at a different pixel size/aspect ratio than it
was encoded at when you don't have hardware video scaling support.
Swscale also performs colorspace conversion between various RGB and
YUV color formats, and conversion between packed (all channels in a
single buffer) and planar (each channel has its own buffer) formats. All
of these routines are highly optimized.
Swscale used for for transcoding video, if the source video is not
already in the format needed by the encoder. For instance, if your
source video is RGB, you'll need to convert it to the appropriate YUV
planar format, since most codecs work on YUV. This entails both
colorspace conversion (an affine transformation of the R,G,B vectors)
and actual scaling (resampling), since most YUV formats use halfresolution U and V planes (color planes) compared to the Y plane
(luma, i.e. intensity data).
Optional filtering algorithms available:
o SWS_FAST_BILINEAR
o SWS_BILINEAR
o SWS_BICUBIC
Page 30 of 63
Version 1.0
by
Eugene Blanchard, June 2015
in the
56. Hovering over any of the participants highlighted in pink on the right side will
show their position on the display. I hovered over the tinman (highlighted in
red) and his video becomes highlighted:
Version 1.0
Page 31 of 63
by
Eugene Blanchard, June 2015
icon cycles
-?
-?
58. In Take Control mode, participants are not automatically added to the
conference. The conference operator has to assign participants to a display
position by dragging and dropping participants.
59. These options available at the bottom of the room display are described:
Version 1.0
Page 32 of 63
by
Eugene Blanchard, June 2015
Use the Room tab to manually invite participants by typing their URI and
selecting the dial button . The participants video phone will ring and when
answered, they will join the room :
Tip! Before dialing, add the participant to the Address book by clicking on
Version 1.0
Page 33 of 63
by
Eugene Blanchard, June 2015
You can invite all address members or individual by using the checkboxes.
The Account tab allows you to add existing participants to the Address book and
invite them to the room:
62. The buttons functions on the right side of the screen are as follows:
Version 1.0
disabled
Page 34 of 63
by
Eugene Blanchard, June 2015
allows you to adjust the audio input (mic) level and the audio
output (speaker) level for each participant if needed.
After saving, the template will appear as a pull-down option for other rooms:
Selecting the room template will bring up the address book and participants.
allowed?
Version 1.0
Page 35 of 63
by
Eugene Blanchard, June 2015
66. Go to the Control Option and select the conference room. Select the
button to create a second display
67. The window will change to show the new display #1 with no participants:
Version 1.0
Page 36 of 63
by
Eugene Blanchard, June 2015
In this example, Scarecrow and Toto are located in Calgary and Dorothy and
Tinman are located in Edmonton. The Calgary participants only want to see
Dorothy and Tinman who are located in Edmonton. While the Edmonton
participants only want to see Scarecrow and Toto.
68. Change the display matrix on both displays to 1|1 setting. This will show
each citys participants side by side. Drag and drop the Calgary participants
into the top display and the Edmonton participants into the bottom display:
Version 1.0
Page 37 of 63
by
Eugene Blanchard, June 2015
69. Change the display that each participant sees so that they see the other
citys participants. Go to their account and click on the display # to change:
70. The Status Window will now show two video out streams each going to 2
participants:
Version 1.0
Page 38 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 39 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 40 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 41 of 63
by
Eugene Blanchard, June 2015
18. Settings
OpenMCU-ru provides complete control of the MCU with the option for the
administrator to fine tune the MCU to their specific needs:
Settings - General
Version 1.0
Page 42 of 63
by
Eugene Blanchard, June 2015
Settings - Advanced
Advanced - Conference
Version 1.0
Page 43 of 63
by
Eugene Blanchard, June 2015
Advanced - Registrar
Version 1.0
Page 44 of 63
by
Eugene Blanchard, June 2015
Advanced - Telnet
Settings - Users
Version 1.0
Page 45 of 63
by
Eugene Blanchard, June 2015
Users - Groups
Settings - H.323
Version 1.0
Page 46 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 47 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 48 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 49 of 63
by
Eugene Blanchard, June 2015
Settings - RTSP
Version 1.0
Page 50 of 63
by
Eugene Blanchard, June 2015
Settings - SIP
Version 1.0
Page 51 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 52 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 53 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 54 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 55 of 63
by
Eugene Blanchard, June 2015
Account:
1001@<PBX IP address>
Check Register box
Room name:
1001
Address SIP-proxy: <PBX IP address>
Password:
<extension secret>
Expires:
600
85. Make a phone call to extension 1001 from both your Linphones. You should connect into
conference room 1001 with excellent video quality.
Version 1.0
Page 56 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 57 of 63
by
Eugene Blanchard, June 2015
The initial jumps are indications of when participants are being added to the
conference room.
Version 1.0
Page 58 of 63
by
Eugene Blanchard, June 2015
Two displays
This is the CPU usage after a 2nd display is configured. The CPU usage goes from
roughly 70% to 90%.
Version 1.0
Page 59 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 60 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 61 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 62 of 63
by
Eugene Blanchard, June 2015
Version 1.0
Page 63 of 63
by
Eugene Blanchard, June 2015