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
......@@ -18,6 +18,7 @@ Makefile
......@@ -88,4 +89,8 @@ nbproject
# Mac
# 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
# Go back to the root
cd ../..
make && sudo make install
You are done with the core !
# 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
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
# 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:
* 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
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
* 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 (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://
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
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 <>.
Please refer to the INSTALL file or our development website ( for installation guide.
Additional permission under GNU GPL version 3 section 7:
To contact the developers:
* Mailing list:
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
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:
Short description of content of source tree
- src/ is the core of SFLphone. It contains main.cpp, the entry point and
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:
How to compile on Linux
# Compile the dependencies
cd ../contrib/
mkdir native
cd native
# Then the daemon
cd ../../daemon
make install
# And the GNOME client
cd ring-client-gnome
make install
Done !
More details available here:
How to compile on OSX
# These first steps are only necessary if you don't use a package manager.
cd daemon/extras/tools
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
make -j
# Then the daemon
cd ../../daemon
./configure --without-alsa --without-pulse --without-dbus --disable-video
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 -j seems to have problems!?
Cross fingers and pray to the great cross-compiler in the sky!
# Compile the daemon
./configure --host=x86_64-w64-mingw32
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:
Do not hesitate to join us and post comments, suggestions, questions
and general feedback on the SFLphone mailing-list:
Bug reports:
IRC (on #freenode):
-- The SFLPhone Team
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment