<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=VoIP%3A_Instalasi_Telepresence</id>
	<title>VoIP: Instalasi Telepresence - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=VoIP%3A_Instalasi_Telepresence"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=VoIP:_Instalasi_Telepresence&amp;action=history"/>
	<updated>2026-04-21T03:20:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=VoIP:_Instalasi_Telepresence&amp;diff=39763&amp;oldid=prev</id>
		<title>Onnowpurbo: New page:   This is the most important part as it’s where you’ll decide which features to support/enable. The Telepresence system use Doubango VoIP Framework (requires SVN r989 or later) and it...</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=VoIP:_Instalasi_Telepresence&amp;diff=39763&amp;oldid=prev"/>
		<updated>2014-02-18T20:54:56Z</updated>

		<summary type="html">&lt;p&gt;New page:   This is the most important part as it’s where you’ll decide which features to support/enable. The Telepresence system use Doubango VoIP Framework (requires SVN r989 or later) and it...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
This is the most important part as it’s where you’ll decide which features to support/enable. The Telepresence system use Doubango VoIP Framework (requires SVN r989 or later) and it’s highly recommended to rebuild it if you already have an old version installed because of some new and required features.&lt;br /&gt;
&lt;br /&gt;
This section explains how to build the product on CentOS64 but could be easily adapted for any Linux, Windows (MinGW) or OS X (MacPorts).&lt;br /&gt;
&lt;br /&gt;
For any issue, please ask on the telepresence developer group.&lt;br /&gt;
&lt;br /&gt;
        Preparing the system&lt;br /&gt;
        Building thirdparties libraries&lt;br /&gt;
            Required libraries&lt;br /&gt;
            Building libsrtp&lt;br /&gt;
            Building OpenSSL&lt;br /&gt;
            Building libogg, libvorbis and libtheora&lt;br /&gt;
            Building libspeex and libspeexdsp&lt;br /&gt;
            Building YASM&lt;br /&gt;
            Building libvpx&lt;br /&gt;
            Building opencore-amr&lt;br /&gt;
            Building libopus&lt;br /&gt;
            Building libgsm&lt;br /&gt;
            Building g729&lt;br /&gt;
            Building iLBC&lt;br /&gt;
            Building x264&lt;br /&gt;
            Building libfreetype&lt;br /&gt;
            Building libfaac&lt;br /&gt;
            Building FFmpeg&lt;br /&gt;
            Building OpenAL Soft&lt;br /&gt;
            Building openOffice&lt;br /&gt;
                Notes&lt;br /&gt;
                Known Issues&lt;br /&gt;
            Building Doubango&lt;br /&gt;
        Building the Telepresence system&lt;br /&gt;
            Installing the configuration and fonts files&lt;br /&gt;
            Testing&lt;br /&gt;
&lt;br /&gt;
Preparing the system&lt;br /&gt;
&lt;br /&gt;
sudo yum update&lt;br /&gt;
sudo yum install make libtool autoconf subversion git wget cmake gcc gcc-c++ pkgconfig&lt;br /&gt;
&lt;br /&gt;
Building thirdparties libraries&lt;br /&gt;
Required libraries&lt;br /&gt;
&lt;br /&gt;
    Always: libspeexdsp, FFmpeg and Doubango&lt;br /&gt;
    For WebRTC clients: libspeexdsp, libsrtp, libvpx, OpenSSL 1.0.1+(Firefox only), FFmpeg and Doubango &lt;br /&gt;
&lt;br /&gt;
... all other libraries are optional.&lt;br /&gt;
Building libsrtp&lt;br /&gt;
&lt;br /&gt;
libsrtp is optional unless you want to use WebRTC SIP clients. It’s highly recommended. The WebRTC Telepresence demo client requires a system with SRTP enabled.&lt;br /&gt;
&lt;br /&gt;
git clone https://github.com/cisco/libsrtp/&lt;br /&gt;
cd libsrtp&lt;br /&gt;
CFLAGS=&amp;quot;-fPIC&amp;quot; ./configure --enable-pic &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
You should not use any libsrtp package because the latest dev version is required and building the source by yourself is highly recommended.&lt;br /&gt;
Building OpenSSL&lt;br /&gt;
&lt;br /&gt;
OpenSSL is required if you want to use TLS, WSS (Secure WebSocket) or DTLS-SRTP (also requires libsrtp). OpenSSL version 1.0.1 is required if you want support for DTLS-SRTP which is mandatory for WebRTC implementation from Mozilla (Firefox Nightly or Aurora).&lt;br /&gt;
&lt;br /&gt;
This section is only required if you don’t have OpenSSL installed on your system or using version prior to 1.0.1 and want to enable DTLS-SRTP. A quick way to have OpenSSL may be installing openssl-devel package but this version will most likely be outdated (prior to 1.0.1). Anyways, you can check the version like this:&lt;br /&gt;
&lt;br /&gt;
openssl version &lt;br /&gt;
&lt;br /&gt;
To build OpenSSL:&lt;br /&gt;
&lt;br /&gt;
wget http://www.openssl.org/source/openssl-1.0.1c.tar.gz&lt;br /&gt;
tar -xvzf openssl-1.0.1c.tar.gz&lt;br /&gt;
cd openssl-1.0.1c&lt;br /&gt;
./config shared --prefix=/usr/local --openssldir=/usr/local/openssl &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Some known issues when you have more than one openssl libraries installed is discussed at https://groups.google.com/forum/#!topic/opentelepresence/JctxtEyW-dg (see comment 4).&lt;br /&gt;
Building libogg, libvorbis and libtheora&lt;br /&gt;
&lt;br /&gt;
These libraries are optional unless you want to use .webm or .mkv containers. You can install the devel packages (recommended):&lt;br /&gt;
&lt;br /&gt;
sudo yum install libogg-devel libvorbis-devel libtheora-devel&lt;br /&gt;
&lt;br /&gt;
Or build the source code by yourself:&lt;br /&gt;
&lt;br /&gt;
--This section intentionally left blank--&lt;br /&gt;
&lt;br /&gt;
Building libspeex and libspeexdsp&lt;br /&gt;
&lt;br /&gt;
libspeex (audio codec) is optional but libspeexdsp (audio resampler, jitter buffer…) is required. You can install the devel packages:&lt;br /&gt;
&lt;br /&gt;
sudo yum install speex-devel&lt;br /&gt;
&lt;br /&gt;
Or build the source by yourself:&lt;br /&gt;
&lt;br /&gt;
wget http://downloads.xiph.org/releases/speex/speex-1.2beta3.tar.gz&lt;br /&gt;
tar -xvzf speex-1.2beta3.tar.gz&lt;br /&gt;
cd speex-1.2beta3&lt;br /&gt;
./configure --disable-oggtest --without-libogg &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building YASM&lt;br /&gt;
&lt;br /&gt;
YASM is only required if you want to enable and build VPX (VP8 video codec) or x264 (H.264 codec). It’s highly recommended.&lt;br /&gt;
&lt;br /&gt;
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz&lt;br /&gt;
tar -xvzf yasm-1.2.0.tar.gz&lt;br /&gt;
cd yasm-1.2.0&lt;br /&gt;
./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building libvpx&lt;br /&gt;
&lt;br /&gt;
libvpx adds support for VP8 and is optional but highly recommended if you want support for video when using Google Chrome or Mozilla Firefox. libvpx is required if you want to use .webm container or our WebRTC SIP Telepresence client. You can install the devel packages:&lt;br /&gt;
&lt;br /&gt;
sudo yum install libvpx-devel&lt;br /&gt;
&lt;br /&gt;
Or build the source by yourself:&lt;br /&gt;
&lt;br /&gt;
git clone http://git.chromium.org/webm/libvpx.git&lt;br /&gt;
cd libvpx&lt;br /&gt;
./configure --enable-realtime-only --enable-error-concealment --disable-examples --enable-vp8 --enable-pic --enable-shared --as=yasm&lt;br /&gt;
make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building opencore-amr&lt;br /&gt;
&lt;br /&gt;
opencore-amr is optional. Adds support for AMR audio codec.&lt;br /&gt;
&lt;br /&gt;
git clone git://opencore-amr.git.sourceforge.net/gitroot/opencore-amr/opencore-amr&lt;br /&gt;
cd opencore-amr &amp;amp;&amp;amp; autoreconf --install &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building libopus&lt;br /&gt;
&lt;br /&gt;
libopus is optional but highly recommended as it’s an MTI codec for WebRTC. Adds support for Opus audio codec.&lt;br /&gt;
&lt;br /&gt;
wget http://downloads.xiph.org/releases/opus/opus-1.0.2.tar.gz&lt;br /&gt;
tar -xvzf opus-1.0.2.tar.gz&lt;br /&gt;
cd opus-1.0.2&lt;br /&gt;
./configure --with-pic --enable-float-approx &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building libgsm&lt;br /&gt;
&lt;br /&gt;
libgsm is optional. Adds support for GSM audio codec. You can install the devel packages (recommended):&lt;br /&gt;
&lt;br /&gt;
sudo yum install gsm-devel&lt;br /&gt;
&lt;br /&gt;
Or build the source by yourself:&lt;br /&gt;
&lt;br /&gt;
wget http://www.quut.com/gsm/gsm-1.0.13.tar.gz&lt;br /&gt;
tar -xvzf gsm-1.0.13.tar.gz&lt;br /&gt;
cd gsm-1.0-pl13 &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
#cp -rf ./inc/* /usr/local/include&lt;br /&gt;
#cp -rf ./lib/* /usr/local/lib&lt;br /&gt;
&lt;br /&gt;
Building g729&lt;br /&gt;
&lt;br /&gt;
G729 is optional. Adds support for G.729 audio codec.&lt;br /&gt;
&lt;br /&gt;
svn co http://g729.googlecode.com/svn/trunk/ g729b&lt;br /&gt;
cd g729b&lt;br /&gt;
./autogen.sh &amp;amp;&amp;amp; ./configure --enable-static --disable-shared &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building iLBC&lt;br /&gt;
&lt;br /&gt;
iLBC is optional. Adds support for iLBC audio codec.&lt;br /&gt;
&lt;br /&gt;
svn co http://doubango.googlecode.com/svn/branches/2.0/doubango/thirdparties/scripts/ilbc&lt;br /&gt;
cd ilbc&lt;br /&gt;
wget http://www.ietf.org/rfc/rfc3951.txt&lt;br /&gt;
awk -f extract.awk rfc3951.txt&lt;br /&gt;
./autogen.sh &amp;amp;&amp;amp; ./configure&lt;br /&gt;
make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building x264&lt;br /&gt;
&lt;br /&gt;
x264 is optional but highly recommended and adds support for H.264 video codec (requires FFmpeg). x264 is required if you want to use .mp4 container.&lt;br /&gt;
&lt;br /&gt;
wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2&lt;br /&gt;
tar -xvjf last_x264.tar.bz2&lt;br /&gt;
# the output directory may be difference depending on the version and date&lt;br /&gt;
cd x264-snapshot-20121201-2245&lt;br /&gt;
./configure --enable-shared --enable-pic &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building libfreetype&lt;br /&gt;
&lt;br /&gt;
libfreetype is required and used for video overlays. You can install the devel packages (recommended):&lt;br /&gt;
&lt;br /&gt;
sudo yum install freetype-devel&lt;br /&gt;
&lt;br /&gt;
Or build the source by yourself:&lt;br /&gt;
&lt;br /&gt;
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.4.12.tar.bz2&lt;br /&gt;
tar -xvjf freetype-2.4.12.tar.bz2&lt;br /&gt;
cd freetype-2.4.12&lt;br /&gt;
./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building libfaac&lt;br /&gt;
&lt;br /&gt;
libfaac is optional unless you want support for AAC audio codec or .mp4 container for recording.&lt;br /&gt;
&lt;br /&gt;
wget http://downloads.sourceforge.net/faac/faac-1.28.tar.bz2&lt;br /&gt;
tar -xvjf faac-1.28.tar.bz2&lt;br /&gt;
cd faac-1.28 &amp;amp;&amp;amp; ./configure &amp;amp;&amp;amp; make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Note: building the tests could fails but you can safely ignore it.&lt;br /&gt;
Building FFmpeg&lt;br /&gt;
&lt;br /&gt;
FFmpeg is required even if you don’t want support for video.&lt;br /&gt;
&lt;br /&gt;
# [1] checkout source code&lt;br /&gt;
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg&lt;br /&gt;
cd ffmpeg&lt;br /&gt;
&lt;br /&gt;
# [2] grap a release branch&lt;br /&gt;
git checkout n1.2&lt;br /&gt;
&lt;br /&gt;
# [3] configure source&lt;br /&gt;
./configure \&lt;br /&gt;
--extra-cflags=&amp;quot;-fPIC&amp;quot; \&lt;br /&gt;
--extra-ldflags=&amp;quot;-lpthread&amp;quot; \&lt;br /&gt;
\&lt;br /&gt;
--enable-pic --enable-memalign-hack --enable-pthreads \&lt;br /&gt;
--enable-shared --disable-static \&lt;br /&gt;
--disable-network --enable-pthreads \&lt;br /&gt;
--disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe \&lt;br /&gt;
\&lt;br /&gt;
--enable-gpl \&lt;br /&gt;
\&lt;br /&gt;
--disable-debug \&lt;br /&gt;
\&lt;br /&gt;
--enable-libfreetype \&lt;br /&gt;
\&lt;br /&gt;
--enable-libfaac \&lt;br /&gt;
\&lt;br /&gt;
--enable-nonfree&lt;br /&gt;
# [4] build and install&lt;br /&gt;
make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
    Remove &amp;quot;--enable-nonfree&amp;quot; and &amp;quot;--enable-libfaac&amp;quot; if you don’t want support for AAC audio codec.&lt;br /&gt;
    Add --enable-libx264 for force building with support for H.264. &lt;br /&gt;
&lt;br /&gt;
Building OpenAL Soft&lt;br /&gt;
&lt;br /&gt;
OpenAL Soft is optional. Adds support for Stereoscopic (spatial) 3D audio.&lt;br /&gt;
&lt;br /&gt;
wget http://kcat.strangesoft.net/openal-releases/openal-soft-1.15.1.tar.bz2&lt;br /&gt;
tar -xvjf openal-soft-1.15.1.tar.bz2&lt;br /&gt;
cd openal-soft-1.15.1/build&lt;br /&gt;
cmake ..&lt;br /&gt;
make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Building openOffice&lt;br /&gt;
&lt;br /&gt;
OpenOffice (or LibreOffice) are optional and add support for presentation sharing. For information about this feature, check the technical details. Version 4.0 or later is required. Both the application and SDK are required.&lt;br /&gt;
&lt;br /&gt;
This section explain how to install (building would take hours) OpenOffice. LibreOffice could also be used but not recommended (not fully tested).&lt;br /&gt;
&lt;br /&gt;
IMPORTANT: These instructions are for Linux x86-64 and you must change the paths if you’re using a 32-bit system. Run uname -m to get your CPU type. All rpms could be found at http://www.openoffice.org/download/other.html.&lt;br /&gt;
&lt;br /&gt;
## Application (x64) ##&lt;br /&gt;
wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/en-US/Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_en-US.tar.gz&lt;br /&gt;
mkdir -p OpenOfficeApplication &amp;amp;&amp;amp; tar -zxvf Apache_OpenOffice_4.0.0_Linux_x86-64_install-rpm_en-US.tar.gz -C OpenOfficeApplication&lt;br /&gt;
rpm -Uvih OpenOfficeApplication/en-US/RPMS/*rpm&lt;br /&gt;
&lt;br /&gt;
## SDK (x64) ##&lt;br /&gt;
wget http://sourceforge.net/projects/openofficeorg.mirror/files/4.0.0/binaries/SDK/Apache_OpenOffice-SDK_4.0.0_Linux_x86-64_install-rpm_en-US.tar.gz&lt;br /&gt;
mkdir -p OpenOfficeSDK &amp;amp;&amp;amp; tar -zxvf Apache_OpenOffice-SDK_4.0.0_Linux_x86-64_install-rpm_en-US.tar.gz -C OpenOfficeSDK&lt;br /&gt;
rpm -Uvih OpenOfficeSDK/en-US/RPMS/*rpm&lt;br /&gt;
&lt;br /&gt;
Both OpenOffice application and SDK should be installed into /opt/openoffice4. If not, you’ll need to edit the script used to prepare the SDK headers.&lt;br /&gt;
&lt;br /&gt;
Prepare the SDK headers:&lt;br /&gt;
&lt;br /&gt;
LD_LIBRARY_PATH=/opt/openoffice4/program:/opt/openoffice4/sdk/lib /opt/openoffice4/sdk/bin/cppumaker -BUCR -O /opt/openoffice4/sdk/includecpp /opt/openoffice4/program/types.rdb&lt;br /&gt;
&lt;br /&gt;
Please note that the destination folder must be named includecpp.&lt;br /&gt;
&lt;br /&gt;
Install java runtime (required):&lt;br /&gt;
&lt;br /&gt;
yum install java-1.7.0-openjdk&lt;br /&gt;
&lt;br /&gt;
Notes&lt;br /&gt;
&lt;br /&gt;
Installing OpenOffice application will not add the binary (soffice) in your $PATH environment variable. The TelePresence system will try to start the program in the background using a relative path unless you have changed presentation-sharing-app configuration entry. You can change your $PATH environment variable to avoid editing presentation-sharing-app but this is not recommend if you’re testing different OpenOffice versions. It’s also highly recommended to append the folder containing the binary AFTER $PATH. Appending the folder before $PATH will force using shared libraries (e.g. libssl, libcurl…) installed with OpenOffice instead of yours.&lt;br /&gt;
&lt;br /&gt;
Correct: export PATH=$PATH:/opt/openoffice4/program&lt;br /&gt;
&lt;br /&gt;
NOT correct: export PATH=/opt/openoffice4/program:$PATH&lt;br /&gt;
Known Issues&lt;br /&gt;
&lt;br /&gt;
&amp;quot;/usr/bin/ld: skipping incompatible /opt/openoffice4/sdk/lib/libuno_sal.so when searching for -luno_sal&amp;quot;: CPU type mismatch (e.g. installed 64-bit libraries on 32-bit OS).&lt;br /&gt;
Building Doubango&lt;br /&gt;
&lt;br /&gt;
Doubango VoIP framework 2.0 SVN r989 or later is required.&lt;br /&gt;
&lt;br /&gt;
 svn checkout http://doubango.googlecode.com/svn/branches/2.0/doubango doubango&lt;br /&gt;
 cd doubango &amp;amp;&amp;amp; ./autogen.sh &amp;amp;&amp;amp; ./configure --with-speexdsp --with-ffmpeg&lt;br /&gt;
 make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
Only few options are used to configure the source code and force enabling mandatory libraries. Any optional library is automatically detected. For example, use &amp;quot;--with-opus&amp;quot; to force using Opus audio codec or &amp;quot;--without-opus&amp;quot; to avoid automatic detection. You can also specify a path where to search for a library (e.g. &amp;quot;--with-opus=/usr/local&amp;quot;). Use &amp;quot;configure --help&amp;quot; for more information on supported options.&lt;br /&gt;
Building the Telepresence system&lt;br /&gt;
&lt;br /&gt;
 svn checkout https://telepresence.googlecode.com/svn/trunk/ telepresence&lt;br /&gt;
 cd telepresence&lt;br /&gt;
 ./autogen.sh &amp;amp;&amp;amp; ./configure&lt;br /&gt;
 make &amp;amp;&amp;amp; make install&lt;br /&gt;
&lt;br /&gt;
If no prefix is defined then, the binaries will be installed into /usr/local/sbin.&lt;br /&gt;
Installing the configuration and fonts files&lt;br /&gt;
&lt;br /&gt;
This is only required for first-time installations and will override any existing configuration file.&lt;br /&gt;
&lt;br /&gt;
make samples&lt;br /&gt;
&lt;br /&gt;
Testing&lt;br /&gt;
&lt;br /&gt;
We highly recommend using our WebRTC SIP telepresence client to test the system.&lt;br /&gt;
&lt;br /&gt;
For more information on how to test the system: click here&lt;br /&gt;
Comment by muthuvel...@gmail.com, Jul 30, 2013&lt;br /&gt;
&lt;br /&gt;
tinywrap does not have autogen.sh and even telepresence. how to solve this&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
&lt;br /&gt;
* http://code.google.com/p/telepresence/&lt;br /&gt;
* http://code.google.com/p/telepresence/wiki/Support_BuildingSourceCode&lt;br /&gt;
* http://code.google.com/p/telepresence/wiki/Support_BuildingSourceCode#Installing_the_configuration_and_fonts_files&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>