Estimated reading time: 8 min

WebRTC Platform UsageTo Top

 

Legal WarningTo Top

Specifications, details, statements, and information in this manual are subject to change without any notice. All the information provided, procedures shared, or statements listed below are for Tegsoft technical experts only. Using this manual without Tegsoft Technical qualification should be avoided. Tegsoft has no obligation over the result of the application on any use. Some statements may not be suitable for the use; avoiding without technical qualification may be crucial. Users must take full responsibility for performing any steps part of this manual. Users who are not aware of technical terms and operations described here; should be aware that this document may not be suitable for their usage.

 

Changes to This DocumentTo Top

Date Change Summary
2020-09-01 Initial release of the document.

 

 

 

PrefaceTo Top

The preface for WebRTC Platform Usage contains the following sections:

  • Enabling HTTPS Access
  • Updating System Version
  • Updating Asterisk Version
  • Voice Records & Archiving

 

Obtaining DocumentationTo Top

Tegsoft documentation and additional literature are available on Tegsoft Knowledge Base. This section explains the product documentation resources that Tegsoft offers.

Tegsoft Knowledge Base

You can access the most current Tegsoft documentation at this URL:

https://tegsoft.com/knowledge-base/

 

PrerequisitesTo Top

  • You must have basic knowledge of networking
  • You must have basic knowledge of SSH connection
  • You must have basic skills of Linux Command Line Interface

 

NOTE: This document guide with enabling https access and using asterisk version 16. Before using to default browser as google chrome, you have to update the Asterisk version and some other packages on your system.

 

Enabling HTTPS AccessTo Top

First of all, you need a certificate to use a webRTC webphone. You will find details on our other document name like " Enabling HTTPS Access". For now, you want to reach to Tegsoft you have to use a domain to reach the web interface.
This domain has to be a point to your tegsoft IP address.
(If you don't have any domain you may contact the Tegsoft Support team to using the tegsoftcloud.com domain.)
Document Link = Enabling HTTPS Access

 

Updating System VersionTo Top

Proceeding to other steps you have to update the system version.
If you don't have any updated license or different licenses please contact the sales team to gathering license. Cause if you faced any problem in making these steps or problems occurs you can't create a ticket of your main issues, hardware issues or you won't able to claim remote support of the Tegsoft Technical Team.

If you have a centos 5 system you have to update your main os Version to Centos 7. If you need these step you have to check this subject on a Tegsoft knowledge base.
" Upgrading centos 5 to centos 7"

Please use these commands to update your centos system.
(Commands compatible with only CENTOS7 Systems)

yum install \
audiofile-devel \
bind bind-utils bzip2  \
caching-nameserver cifs-utils cabextract curl crontabs cronie cronie-anacron \
fontconfig fuse fuse-libs ftp \
gcc gcc-c++ \
gmp git \
giflib gmime-devel \
psmisc pciutils \
gtk2-devel \
httpd htop \
iptables-services \
jpackage-utils java-1.7.0-openjdk java-1.7.0-openjdk-devel jansson \
kernel-devel kernel-headers \
libmspack libxml2 libxml2-devel  libogg libogg-devel libtiff libtiff-devel libtool mlocate \
libaio libstdc++.x86_64 libstdc++.i686 libgcc.x86_64 libgcc.i686 lsof libpng12 lynx libXrender \
libuuid-devel libsmartcols libedit-devel \
libtermcap-devel kernel-devel zlib-devel unixODBC-devel libdnet \
mod_ssl make mailx \
libsrtp-devel libsrtp \
net-tools ntp ntpdate newt-devel ncurses-devel NetworkManager-tui nfs-utils \
openssh openssh-server openssh-clients openssl-libs \
openssl openssl-devel tftp tftp-server xinetd open-vm-tools \
sendmail sqlite sqlite-devel subversion svn samba sox sysstat \
pam.x86_64 pam.i686 patch pptpd \
rpcbind \
tzdata-java telnet tzdata traceroute \
uuid-devel unzip \
xorg-x11-font-utils xorg-x11-xauth xset xmlsec1 xmlsec1-openssl xmlstarlet \
wget  \
yum-utils  \
zip

 

Updating Asterisk VersionTo Top

If you updated successfully with your centos system. You may follow these commands.

cd /usr/src/
rm -rf /usr/src/jansson-2.12.tar.gz
rm -rf /usr/src/jansson-2.12
wget http://setup.tegsoftcloud.com/resources/asterisk/jansson-2.12.tar.gz
tar -zxvf jansson-2.12.tar.gz
cd /usr/src/jansson-2.12/
./configure
make
make install
echo "/usr/local/lib/" > /etc/ld.so.conf.d/usrlocallib.conf
ldconfig
cd /usr/src/
rm -rf /usr/src/asterisk-16.2_READY.tgz
rm -rf /usr/src/asterisk-16.2.1
wget http://setup.tegsoftcloud.com/resources/asterisk/asterisk-16.2_READY.tgz
tar -xzvf asterisk-16.2_READY.tgz
cd /usr/src/asterisk-16.2.1/
rm -rf /root/2019XXXXX1
mkdir /root/2019XXXXX1
mv /usr/lib/asterisk/modules/* /root/2019XXXXX1
make install
cp -v tegsoft/codec* /usr/lib/asterisk/modules/
service asterisk restart
service tegsoft_icr restart;service tegsoft_web restart

 

 

Voice Records & ArchivingTo Top

To make sure you're archive functions and voice records are working correctly. You will update some packages to affect the voice records.

Commands are listed below.

cd /usr/src/lame-3.99.5
./configure
make
make install

cd /usr/src/sox-14.4.2
./configure
make
make install

echo "sox -m \$1 \$2 \$3" > /usr/bin/soxmix
chmod +x /usr/bin/soxmix