Notes
Notes - notes.io |
Download newest version of ptlib/opal
```
#libs for git clone and wxWidget
sudo apt-get install git libgtk-3-dev libwxbase3.0-dev libwxgtk3.0-dev
#libs for PTLIB
sudo apt-get install g++ git make autoconf libpcap-dev libexpat-dev libssl-dev libsasl2-dev libldap-dev unixodbc-dev liblua5.3-dev libv8-dev libncurses-dev libsdl2-dev libavformat-dev libswscale-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
#libs for OPAL
sudo apt install libgsm1-dev libspeex-dev libopus-dev libavcodec-dev libx264-dev libvpx-dev libtheora-dev libspandsp-dev capiutils dahdi
cd ~/Downloads
git clone git://git.code.sf.net/p/opalvoip/ptlib
git clone git://git.code.sf.net/p/opalvoip/opal
wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.2/wxWidgets-3.1.2.tar.bz2
tar -xvf wxWidgets-3.1.2.tar.bz2
To use the Cisco OpenH.264 library, download http://ciscobinary.openh264.org/libopenh264-1.8.0-linux64.4.so.bz2, unzip and rename it to /usr/local/lib/libopenh264.so
```
II. ENVIRONMENT PREPARATION
add the following content to ~/.bashrc
```
export OPALDIR=~/Downloads/opal
export PTLIBDIR=~/Downloads/ptlib
export WXDIR=~/Downloads/wxWidgets-3.1.2
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:${PTLIBDIR}/lib_linux_x86_64:${OPALDIR}/lib_linux_x86_64:${WXDIR}/bin/lib
export PTLIBPLUGINDIR=${PTLIBDIR}/lib_linux_x86_64:${OPALDIR}/lib_linux_x86_64
```
Save and close the current cmd. Open another cmd to take effect.
III. WXWIDGETS
```
cd ~/Downloads/wxWidgets-3.1.2
mkdir bin
cd bin
../configure --enable-unicode --prefix=$PWD
make
```
IV. PTLIB
```
cd ~/Downloads/ptlib
./configure
make
```
V. OPAL
```
cd ~/Downloads/opal
./configure
make
cd samples/console
make opt
cd samples/openphone
make opt
```
If there is no error, run $OPALDIR/samples/openphone/obj_linux_x86_64/openphone to see your result.
#Reference
1. http://wiki.opalvoip.org/index.php?n=Main.BuildingPTLibUnix
2. http://wiki.opalvoip.org/index.php?n=Main.BuildingOpalUnix
3. https://www.wxwidgets.org/blog/2012/08/how-to-use-294-wxmsw-binaries/
4. https://wiki.wxwidgets.org/Compiling_and_getting_started
##############################
ptlib
Containers
I/O
Threads & Processes
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team