Skip to content
Snippets Groups Projects
Commit 6909876b authored by yanmorin's avatar yanmorin
Browse files

0.5 preparation
parent f3f23ef0
Branches
Tags
No related merge requests found
...@@ -15,6 +15,8 @@ Imran Akbar (imr at stanford dot edu) ...@@ -15,6 +15,8 @@ Imran Akbar (imr at stanford dot edu)
Yan Morin Yan Morin
(yan dot morin at savoifairelinux dot com) (yan dot morin at savoifairelinux dot com)
- zeroconf integration - zeroconf integration
- sflphoned deamon
- tests and debugging
Contributors: Contributors:
......
SFLphoned/SFLphone (0.5) / 2005-10-17
* sflphoned
* bug fixes
* sflphone-qt
* client/server protocol
SFLphone (0.4.1-pre2) / now SFLphone (0.4.1-pre2) / 2005-09-30
* rearranged utilspp use * rearranged utilspp use
* Bug fix when trying to use more than 6 lines. * Bug fix when trying to use more than 6 lines.
* Now, we send a final response to reINVITEs * Now, we send a final response to reINVITEs
......
PortAudio: http://portaudio.com/archives/pa_snapshot_v19.tar.gz PortAudio: http://portaudio.com/archives/pa_snapshot_v19.tar.gz
Common C++ 2 1.3.6: http://sourceforge.net/projects/cplusplus/ Common C++ 2 1.3.20: http://sourceforge.net/projects/cplusplus/
ccRTP 1.3.0: http://sourceforge.net/projects/cplusplus/ ccRTP 1.3.5: http://sourceforge.net/projects/cplusplus/
libosip 2.2.1: http://savannah.gnu.org/projects/osip/ libosip 2.2.1: http://savannah.gnu.org/projects/osip/
libeXosip2-1.9.1-pre15: http://www.antisip.com/download/ libeXosip2-1.9.1-pre17: http://www.antisip.com/download/
mDNSResponder87: http://developer.apple.com/darwin/projects/bonjour/ mDNSResponder87: http://developer.apple.com/darwin/projects/bonjour/
This is SFLPhone-0.4.1-rc1 release. This is SFLPhoned-0.5 release.
You need ccrtp-1.3.5 which needs commoncpp2>=1.3.20
You need ccrtp-1.3.0 which needs commoncpp2>=1.3.0 libeXosip2-1.9.1-pre17 needs libosip2-2.2.0
libeXosip2-1.9.1-pre15 needs libosip2-2.2.0
You also need PortAudio_v19 You also need PortAudio_v19
See http://www.sflphone.org/#downloads to download required libraries. See http://www.sflphone.org/#downloads to download required libraries.
Dependencies build instructions: Dependencies build instructions:
-------------------------------- --------------------------------
1/ For commoncpp2-1.3.6 1/ For commoncpp2-1.3.20
./configure [option] ./configure [option]
make make
make install make install
2/ For ccrtp-1.3.0 2/ For ccrtp-1.3.5
./configure [option] ./configure [option]
make make
make install make install
3/ For libosip2-2.2.0 3/ For libosip2-2.2.1
./configure [option] ./configure [option]
make make
make install make install
4/ For libeXosip2-1.9.1-pre15 4/ For libeXosip2-1.9.1-pre17
./configure --disable-josua [option] ./configure --disable-josua [option]
make make
make install make install
...@@ -34,17 +33,8 @@ Dependencies build instructions: ...@@ -34,17 +33,8 @@ Dependencies build instructions:
make make
make install make install
6/ If you want the new gui
use: ./configure --enable-newgui
and do
cd src/gui/official
QTDIR=/usr/lib/qt4 qmake4 sflphone.pro
ln -s ../../../utilspp
QTDIR=/usr/lib/qt4 make
How to compile SFLphoned ?
How to compile SFLphone ?
------------------------- -------------------------
./configure [option] ./configure [option]
...@@ -56,9 +46,11 @@ make install (as root) ...@@ -56,9 +46,11 @@ make install (as root)
How to use it ? How to use it ?
--------------- ---------------
If you have old version, remove your sflphonerc file located in $HOME/.sflphone If you have the sflphone 0.3 or 0.4 release, copy the file sflphonerc to sflphonedrc
cp ~/.sflphone/sflphonerc ~/.sflphone/sflphonedrc
If you have an oldre version, remove your sflphonerc file located in $HOME/.sflphone
1. Lauch it, a setup window appears. 1. Lauch sflphone-qt interface, a setup window appears.
2. If you do have a SIP account, fill the SIP stuff where related. You can use 2. If you do have a SIP account, fill the SIP stuff where related. You can use
STUN too. STUN too.
...@@ -77,8 +69,8 @@ Why does it not compile ? ...@@ -77,8 +69,8 @@ Why does it not compile ?
See http://www.sflphone.org in section Downloads. See http://www.sflphone.org in section Downloads.
- You don't have the same compiler (some libraries dislike - You don't have the same compiler (some libraries dislike
some compilers). We are using gcc 3.3.3 on some compilers). We are using gcc 4.0.1 on
Fedora Core 2 Linux. Someone reported it works on gcc 3.4. Fedora Core 4 Linux.
- If error occured while loading shared libraries, - If error occured while loading shared libraries,
you have to export LD_LIBRARY_PATH with your lib directory. you have to export LD_LIBRARY_PATH with your lib directory.
...@@ -92,38 +84,42 @@ Why does it not compile ? ...@@ -92,38 +84,42 @@ Why does it not compile ?
Short description of content of source tree: Short description of content of source tree:
------------------------------------------- -------------------------------------------
- skins/ contains the different available skins in separated directories.
- pixmaps/ contains all the pixmaps used in the configuration window.
- rings/ contains the different ringtones. - rings/ contains the different ringtones.
- stund/ is an implementation of the protocol STUN used when there is a NAT. - stund/ is an implementation of the protocol STUN used when there is a NAT.
- utilspp/ allows to implement a singleton. - utilspp/ allows to implement a singleton.
- src/ is the core of SFLphone. It contains the main.cpp, managerimpl.cpp files, audio and gui directories, and files about signalisation SIP. - src/ is the core of SFLphone. It contains the main.cpp, managerimpl.cpp files,
audio and gui directories, and files about signalisation SIP.
Later, it should be better, when IAX will be implemented, that a directory Later, it should be better, when IAX will be implemented, that a directory
groups these protocols. groups these protocols.
The ManagerImpl class is the intermediaire between all the layer in the tree. The ManagerImpl class is the intermediaire between all the layer in the tree.
- src/audio/ is the audio layer. It contains all about tones, dtmf, audiodriver, rtp layer, audio codec ulaw, alaw and gsm. - src/audio/ is the audio layer. It contains all about tones, dtmf, audiodriver,
rtp layer, audio codec ulaw, alaw and gsm.
- src/audio/gsm/ contains the implementation of gsm audiocodec library. - src/audio/gsm/ contains the implementation of gsm audiocodec library.
- src/audio/pacpp/ implements PortAudioCpp, a native C++ binding of - src/audio/pacpp/ implements PortAudioCpp, a native C++ binding of
PortAudio V19. PortAudio V19.
- src/gui/ is the directory that contains all about different user interface. - src/gui/ is the old directory that contains all about different user interface.
The GuiFramework class is the base class of all user interface objects. It - src/gui/server is the directory that talk (tcp socket on port 3999)
receives mouse, keyboard events from GUI child class and calls ManagerImpl to sflphone client. The slfphone client can be a console program or a graphical interface
functions which correspond. GuiFramework receives also events from ManagerImpl
and handle them according to the GUI chosen by the user, with virtual
functions.
- src/gui/qt is the implementation of QT user interface.
How is structured SFLphone (>=0.4) How is structured SFLphone (>=0.4)
---------------------------------- ----------------------------------
+------+ +--------+ +------------+
|GUI Qt| |GUI text| ... |TCPSessionIO|
+------+ +--------+ +------------+
| | |
+------------+
| SessionIO |
+------------+
|
+------------+
| GUI Server |
+------------+
|
+---------------------------+ +---------------------------+
| GUI Framework | | GUI Framework |
+---------------------------+ +---------------------------+
...@@ -162,4 +158,4 @@ Jean-Philippe Barette-LaPierre ...@@ -162,4 +158,4 @@ Jean-Philippe Barette-LaPierre
(jean-philippe.barrette-lapierre@savoirfairelinux.com) (jean-philippe.barrette-lapierre@savoirfairelinux.com)
Laurielle Lea (laurielle.lea@savoirfairelinux.com) Laurielle Lea (laurielle.lea@savoirfairelinux.com)
Jerome Oufella (jerome.oufella@savoirfairelinux.com) Jerome Oufella (jerome.oufella@savoirfairelinux.com)
Yan Morin (yan.morin@savoirfairelinux.com)
...@@ -6,12 +6,10 @@ For project core: ...@@ -6,12 +6,10 @@ For project core:
---------------- ----------------
Management Config like about:config in Mozilla Management Config like about:config in Mozilla
Improvement of STUN Improvement of STUN
Add ZeroConf support
Add IAX support Add IAX support
Management of account (add, remove, ...) Management of account (add, remove, ...)
Management of exceptions Management of exceptions
Remove all warnings in compilation Remove all warnings in compilation
Add unregister method when application is closed
Better handling for an reINVITE request. Better handling for an reINVITE request.
For project dependencies: For project dependencies:
......
...@@ -3,7 +3,7 @@ AC_INIT(acinclude.m4) ...@@ -3,7 +3,7 @@ AC_INIT(acinclude.m4)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
dnl figure out the sflphone version dnl figure out the sflphone version
VERSION=`sed -ne 's/^#define VERSION "\(.*\)"/\1/p' ${srcdir}/src/global.h` VERSION=`sed -ne 's/^#define SFLPHONED_VERSION "\(.*\)"/\1/p' ${srcdir}/src/global.h`
AC_SUBST(VERSION) AC_SUBST(VERSION)
dnl get rid of release number dnl get rid of release number
...@@ -14,8 +14,8 @@ LIBS="$LIBS -lstdc++" ...@@ -14,8 +14,8 @@ LIBS="$LIBS -lstdc++"
dnl dnl
dnl Solaris pkgadd support definitions dnl Solaris pkgadd support definitions
PKGADD_PKG="SFLPhone" PKGADD_PKG="SFLPhoned"
PKGADD_NAME="SFLPhone - a SIP client" PKGADD_NAME="SFLPhone - a SIP client and deamon"
PKGADD_VENDOR="http://www.sflphone.org/" PKGADD_VENDOR="http://www.sflphone.org/"
AC_SUBST(PKGADD_PKG) AC_SUBST(PKGADD_PKG)
AC_SUBST(PKGADD_NAME) AC_SUBST(PKGADD_NAME)
......
...@@ -35,8 +35,8 @@ typedef short int16; ...@@ -35,8 +35,8 @@ typedef short int16;
#define _debug(...) #define _debug(...)
#endif #endif
#define VERSION "0.5" #define SFLPHONED_VERSION "0.5"
#define VERSIONNUM 0x000500 #define SFLPHONED_VERSIONNUM 0x000500
#define PROGNAME "sflphoned" #define PROGNAME "sflphoned"
#define PROGDIR "sflphone" #define PROGDIR "sflphone"
......
noinst_LTLIBRARIES = libsflphoneguiserver.la noinst_LTLIBRARIES = libsflphoneguiserver.la
libsflphoneguiserver_la_SOURCES = $(BUILT_SOURCES) guiserverimpl.cpp \ libsflphoneguiserver_la_SOURCES = guiserverimpl.cpp \
responsemessage.cpp request.cpp requestfactory.cpp argtokenizer.cpp tcpsessionio.cpp \ responsemessage.cpp request.cpp requestfactory.cpp argtokenizer.cpp tcpsessionio.cpp \
requestmanager.cpp sessionio.cpp tcpstreampool.cpp requestconfig.cpp requestmanager.cpp sessionio.cpp tcpstreampool.cpp requestconfig.cpp
libsflphoneguiserver_la_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphone\" libsflphoneguiserver_la_CXXFLAGS = -DPREFIX=\"$(prefix)\" -DPROGSHAREDIR=\"${datadir}/sflphone\"
libsflphoneguiserver_la_CPPFLAGS = -I$(top_srcdir) $(libccext2_CFLAGS)
libsflphoneguiserver_la_LIBADD = libsflphoneguiserver_la_LIBADD =
AM_CPPFLAGS = -I$(top_srcdir) $(libccext2_CFLAGS)
noinst_HEADERS = responsemessage.h request.h requestfactory.h subcall.h \ noinst_HEADERS = responsemessage.h request.h requestfactory.h subcall.h \
argtokenizer.h tcpsessionio.h requestmanager.h guiserver.h guiserverimpl.h sessionio.h \ argtokenizer.h tcpsessionio.h requestmanager.h guiserver.h guiserverimpl.h sessionio.h \
tcpsessionio.h tcpstreampool.h requestconfig.h tcpsessionio.h tcpstreampool.h requestconfig.h
...@@ -287,7 +287,7 @@ std::string ...@@ -287,7 +287,7 @@ std::string
GUIServerImpl::version() GUIServerImpl::version()
{ {
std::ostringstream version; std::ostringstream version;
version << PROGNAME << " " << VERSION; version << PROGNAME << " " << SFLPHONED_VERSION;
return version.str(); return version.str();
} }
......
...@@ -31,7 +31,7 @@ main (int argc, char **argv) { ...@@ -31,7 +31,7 @@ main (int argc, char **argv) {
if (argc == 2 && strcmp(argv[1], "--help") == 0) { if (argc == 2 && strcmp(argv[1], "--help") == 0) {
std::cout << PROGNAME << " Deamon " << VERSION << ", by Savoir-Faire Linux 2004-2005" << std::endl << std::endl; std::cout << PROGNAME << " Deamon " << SFLPHONED_VERSION << ", by Savoir-Faire Linux 2004-2005" << std::endl << std::endl;
std::cout << "USAGE: sflphoned [--help]" << std::endl; std::cout << "USAGE: sflphoned [--help]" << std::endl;
std::cout << "Parameters: " << std::endl; std::cout << "Parameters: " << std::endl;
std::cout << " --help for this message" << std::endl << std::endl; std::cout << " --help for this message" << std::endl << std::endl;
......
...@@ -76,7 +76,7 @@ SipVoIPLink::init (void) ...@@ -76,7 +76,7 @@ SipVoIPLink::init (void)
std::string tmp; std::string tmp;
int i; int i;
tmp = std::string(PROGNAME) + "/" + std::string(VERSION); tmp = std::string(PROGNAME) + "/" + std::string(SFLPHONED_VERSION);
i = eXosip_init (); i = eXosip_init ();
if (i != 0) { if (i != 0) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment