Skip to content
Snippets Groups Projects
Commit 8507024c authored by Guillaume Roguez's avatar Guillaume Roguez
Browse files

daemon: move up daemon into top directory

Refs #68986

Change-Id: Ia95b140e4f4d6625d1df12d52a40414482b2e773
parent ce6cb28d
No related branches found
No related tags found
No related merge requests found
Showing with 324 additions and 119 deletions
......@@ -18,6 +18,7 @@ Makefile
.deps
*.spec
aclocal.m4
autom4te.cache
config.guess
config.*
......@@ -88,4 +89,8 @@ nbproject
# Mac
.DS_Store
ringcli
build-aux/
configure
bin/dbus/*.adaptor.h
bin/dbus/cx.ring.Ring.service
bin/dring
File moved
File moved
INSTALLATION GUIDE
Wiki: https://projects.savoirfairelinux.com/projects/ring/wiki/BuildInstructions
* CORE INSTALLATION
# Install dependencies (subject to change):
apt-get install gnome-doc-utils build-essential autoconf libtool
libasound2-dev libpulse-dev libsamplerate0-dev libcommoncpp2-dev
libccrtp-dev libzrtpcpp-dev libdbus-1-dev libdbus-c++-dev libyaml-dev
libpcre3-dev libgsm1-dev libspeex-dev libspeexdsp-dev libcelt-dev
# Go to the root of the application core directory
cd daemon
# Compile contrib
cd contrib
mkdir native && cd native
../bootstrap
make
# Go back to the root
cd ../..
./autogen.sh
./configure
make && sudo make install
You are done with the core !
* GNOME CLIENT INSTALLATION
# Install dependencies (subject to change):
apt-get install libnotify-dev libgtk2.0-dev libwebkit-dev libgnomeui-dev check
# Go to the root of the gnome client directory
cd gnome
./autogen.sh
./configure
make && sudo make install
You are done with the gnome client !
Then, to start Ring, simply go in Applications > Internet > Ring VoIP Client.
Thanks You
Ring Team
File moved
################################################
# SFLphone
################################################
#
#
#
* 2014-07-15: 1.4.0 has been released
* 2014-04-21: SFLphone is now using Gerrit
* 2014-01-13: 1.3.0 has been released
* 2013-06-11: 1.2.3 has been released
* 2013-01-08: 1.2.2 has been released
* 2013-01-08: 1.2.1 has been released - Full annoucement here: http://sflphone.org/news/stable-version-121-released
* 2012-08-10: 1.2.0 has been released
* 2012-05-17: 1.1.0 has been released
* 2011-11-18: 1.0.1 has been released
* 2011-09-30: 1.0.0 has been released
* 2010-04-09: 0.9.8 rc1 has been released
* 2010-03-25: 0.9.8 beta has been released
* 2009-12-10: SFLphone 0.9.7 has been released
* 2009-12-03: SFLphone 0.9.7~rc2 has been released
* 2009-11-20: SFLphone 0.9.7~rc1 has been released
* 2009-10-27: SFLphone 0.9.7~beta has been released
* 2009-07-27: SFLphone 0.9.6 has been released
* 2009-07-17: SFLphone 0.9.6~rc2 has been released
* 2009-07-10: SFLphone 0.9.6~rc1 has been released
* 2009-05-22: SFLphone 0.9.5~beta has been released
* 2009-04-03: SFLphone 0.9.4 has been released
* 2009-02-07: SFLphone 0.9.3 has been released
* 2008-12-01: SFLphone 0.9.2 has been released
* 2008-07-01: SFLphone 0.9.1 has been released
Please refer to the development website for further information at http://projects.savoirfairelinux.net/projects/show/sflphone
Thanks You
SFLphone Team.
SFLphoned (1.0.2) / 2012-07-02
* Stable version
* Update Contact header from 200 OK
* Keep alive for account regstration
* Call history now managed by client
SFLphoned (0.9.12) / 2011-11-12
* Refactoring of the RTP session allowing dynamic update of audio codecs
* Updated synchronization between transport layer and audio layer
* Better implementation of SIP Early media playback
* Fixed memory leaks in configuration serialization engine
* Evolution addressbook: default addressbook support, addressbook authentication support
* Improved Gnome client initialization error handling
* Updated dbus-c++ binding
SFLphoned (0.9.9) / 2010-28-09
* Instant messaging
* Full Evolution addressbook integration
* A noise reduction engine to improve audio quality
* Linear int 16bit wave format support for ringtones
* Ability to select a different ringtone playback device than voice playback
* SIP early media
* A new configuration system based on YAML serialization format.
SFLphoned (0.7.0) / 2006-...
* adding reload (sound driver) button
* fix: peer hangup remove flashing buttons
* removing old packaging stuff like FIXME or sflphone.spec.in
* fix: click on flashing buttons
* fix: send ringing, hangup, busy message
* fix for using call command two times in a row
* add --disable-sflphoneqt 2006-05-01
* remove libexosip2 internally, it's in debian unstable 2005-01-01
* add iax support - in development
* add account support
* remove callid string/int
* add account SIP0 (default) in sflphone-cli
* add account SIP0 (default) in sflphone-qt
* fix nat handling (use the same port that it test)
* add register/unregister in qt
* add test audio driver button
* add hold/unhold/hangup to sflphone-cli
SFLphoned (0.6.2) / 2005-11-29
* integral mono support
* libsamplerate added for macosx
SFLphoned (0.6.1) / 2005-11-26
* add speex codec (experimental)
* fix for codec handling in sdp and audiortp
* new codec class
* add portaudio missing file
(thanks to Pierre POMES)
* add samplerate and inChannel/outChannel in AudioLayer
we could use microphone in mono and speaker in stereo
SFLphoned/SFLphone (0.6) / 2005-11-04
* improve sip protocol
* can now receive text message
* accept reinvite call
* cleaning headers
* improving bash launcher script
* select audio input and output device
* installation review
SFLphoned/SFLphone (0.5a) / 2005-10-17
* dring
* bug fixes
* sflphone-qt
* client/server protocol
SFLphone (0.4.1-pre2) / 2005-09-30
* rearranged utilspp use
* Bug fix when trying to use more than 6 lines.
* Now, we send a final response to reINVITEs
(thanks to Mikael Magnusson)
* We can build in different build directories.
(thanks to Mikael Magnusson)
* We actualy check if portaudio and eXosip2 libs
are installed
* zeroconf integration start
SFLphone (0.4.1-pre1) / 2005-08-11
* Use libeXosip2
* Add blink notification for voice-message
* Add scrolling text
SFLphone (0.4) / 2005-07-06
* Cleanup code
* Add autotools support
* Handle CANCEL method
* PortAudio replace OSS and ALSA devices choice
* Add PortAudioCpp to make easy use of RingBuffer object for
audio callback
* Add PortAudio library to make easy sound portability
* Fix a few memory leak
* Reorganisation of SFLphone architecture
* Handle error messages on screen
* Handle "refused call"
* Notification of remote RINGING event added
* Call management updated
SFLphone (0.3) / 2005-04-05
* ALSA driver support added
* GSM audio codec support added
* Ringtones support (just ulaw format) added
* Notification incoming call added
* Apply skin feature added
* Volume control added
* Registration manually added
* Config-file in home directory changed to ".sflphone"
SFLphone (0.2) / 2005-01-18
* Lines management updated
* Blocking bug fixed
* Configuration tree, made from a config file, added for setup
* Dial tone updated
* Timer call updated
* Apply feature updated
* Non-network or request failure cases updated
SFLphone (0.1a) / 2004-12-22
* First release
Ring (formerly SFLPhone) is an open-source SIP/IAX2 compatible enterprise-class softphone, published under the GNU Public License 3.
COPYRIGHT NOTICE
GIT REPOSITORY
Copyright (C) 2004-2015 Savoir-Faire Linux Inc.
Tree information:
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
* daemon (dring): contains the core application code. This code is mandatory to run the softphone. It may be considered as the core as it implements all the logic (audio layer, communication layer, account management, codecs management, dbus services).
* gnome: contains the GTK+ client for Ring. It will connect and communicate to the core application through D-Bus.
* tools: scripts
* ring-callto: to start calls from command line
* update-copyright: (dev tool) to update copyright notice with new year
* sflphone-kde: git clone git://anongit.kde.org/sflphone-kde
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Please refer to the INSTALL file or our development website (http://projects.savoirfairelinux.net/projects/show/sflphone) for installation guide.
Additional permission under GNU GPL version 3 section 7:
To contact the developers:
* Mailing list: http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
If you modify this program, or any covered work, by linking or
combining it with the OpenSSL project's OpenSSL library (or a
modified version of that library), containing parts covered by the
terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
grants you additional permission to convey the resulting work.
Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work.
Ring Team
Introduction
------------
Ring is a Voice-over-IP software phone. We want it to be:
- user friendly (fast, sleek, easy to learn interface)
- professional grade (transfers, holds, optimal audio quality)
- fully compatible with Asterisk (SIP and IAX protocols)
- customizable
As the SIP/audio daemon and the user interface are separate processes,
it is easy to provide different user interfaces. SFLPhone comes with
a GTK graphical user interface and even scripts to control the daemon from
the shell.
SFLPhone is currently used by the support team of Savoir-Faire Linux Inc.
More information is available on the project homepage:
http://www.sflphone.org/
Short description of content of source tree
-------------------------------------------
- src/ is the core of SFLphone. It contains main.cpp, the entry point and
managerimpl.cpp.
The ManagerImpl class is the intermediary between all the layers of the daemon.
- src/client/dbus, the D-Bus xml interfaces, and c++ bindings
- src/client/android, the JNI interfaces (Java bindings)
About Savoir-Faire Linux
------------------------
Savoir-Faire Linux is a consulting company based in Montreal, Quebec.
For more information, please check out our website:
http://www.savoirfairelinux.com/
How to compile on Linux
-----------------------
# Compile the dependencies
cd ../contrib/
mkdir native
cd native
../bootstrap
make
# Then the daemon
cd ../../daemon
./autogen.sh
./configure
make
make install
# And the GNOME client
cd ring-client-gnome
./autogen.sh
./configure
make
make install
Done !
More details available here:
https://projects.savoirfairelinux.com/projects/ring/wiki/How_to_build
How to compile on OSX
---------------------
# These first steps are only necessary if you don't use a package manager.
cd daemon/extras/tools
./bootstrap
make
export PATH=$PATH:/location/of/ring/daemon/extras/tools/build/bin
# Or, use your favorite package manager to install the necessary tools
(macports or brew).
automake libtool check gettext libtoolize ...
# Compile the dependencies
cd contrib
mkdir native
cd native
../bootstrap
make -j
# Then the daemon
cd ../../daemon
./autogen.sh
./configure --without-alsa --without-pulse --without-dbus --disable-video
make
If you want to link against libringclient and native client easiest way is to
add to ./configure: --prefix=<prefix_path>
Do a little dance!
Common Issues
------------
autopoint not found: When using Homebrew, autopoint is not find even when
gettext is installed, because symlinks are not created.
Run: 'brew link --force gettext' to fix it.
How to cross-compile for Windows 64bit (from Linux)
---------------------------------------------------
# First, make sure you can compile the linux version.
# Install a few tools.
sudo apt-get install mingw-w64 cmake build-essential g++ automake autoconf
gnu-standards autoconf-doc libtool gettext autoconf-archive pkg-config
# On certain distributions, mingw-w64 doesn't select POSIX threads by default.
You need to use the POSIX version. To do so, run the following commands and
select POSIX threads.
sudo update-alternatives --config x86_64-w64-mingw32-gcc
sudo update-alternatives --config x86_64-w64-mingw32-g++
# Compile the dependencies
cd ring/daemon/contrib/
mkdir win64 && cd win64
../bootstrap --host=x86_64-w64-mingw32
make
# make -j seems to have problems!?
Cross fingers and pray to the great cross-compiler in the sky!
...
Profit!
# Compile the daemon
./autogen.sh
./configure --host=x86_64-w64-mingw32
--without-alsa
--without-pulse
--without-dbus
--disable-video
make
Clang compatibility (developers only)
-------------------------------------
It is possible to compile sflphone with Clang by setting CC and CXX variables
to 'clang' and 'clang++' respectively when calling ./configure.
Currently it is not possible to use the DBus interface mechanism, and the
interaction between daemon and client will not work; for each platform where
dbus is not available the client should implement all the methods in the
*_stub.cpp files.
SIP/IAx2 accounts
---------------------
You may register an existing SIP/IAX2 account through the account wizard in both
clients (KDE and GNOME).
By doing this, you will be able to call other accounts known to this server.
Contributing to SFLPhone
------------------------
Of course we love patches. And contributions. And spring rolls.
Development website: http://projects.savoirfairelinux.net/wiki/sflphone
Do not hesitate to join us and post comments, suggestions, questions
and general feedback on the SFLphone mailing-list:
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone
Bug reports:
https://projects.savoirfairelinux.com/projects/ring/wiki/BugReports
IRC (on #freenode):
#sflphone
-- The SFLPhone Team
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment