Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-daemon
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-daemon
Commits
fefef162
Commit
fefef162
authored
19 years ago
by
yanmorin
Browse files
Options
Downloads
Patches
Plain Diff
Always stop tone on hangup
parent
b39a205e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
README
+14
-7
14 additions, 7 deletions
README
src/managerimpl.cpp
+1
-3
1 addition, 3 deletions
src/managerimpl.cpp
tools/config.sh
+2
-2
2 additions, 2 deletions
tools/config.sh
with
17 additions
and
12 deletions
README
+
14
−
7
View file @
fefef162
This is SFLPhoned-0.
5
release.
This is SFLPhoned-0.
6
release.
You need ccrtp-1.3.5 which needs commoncpp2>=1.3.20
libeXosip2-1.9.1-pre17 needs libosip2-2.2.0
Note that commoncpp2 needs libxml2, libxml2-devel and pkgconfig to compile.
libeXosip2-1.9.1-pre17 needs libosip2-2.2.1
You also need PortAudio_v19
See http://www.sflphone.org/#downloads to download required libraries.
Dependencies build instructions:
--------------------------------
1/ For commoncpp2-1.3.20
You can use the builds script in tools directory.
1. Change the default configuration in config.sh (~/sflphone) is the prefix
2. ./download.sh
3. ./install.sh
You can also compile each dependencies, one by one:
1/ For commoncpp2-1.3.21
./configure [option]
make
make install
...
...
@@ -48,9 +55,9 @@ How to use it ?
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 old
r
e version, remove your sflphonerc file located in $HOME/.sflphone
If you have an olde
r
version, remove your sflphonerc file located in $HOME/.sflphone
1. Lauch sflphone
-qt
interface, a setup window appears.
1. Lauch sflphone interface, a setup window appears.
2. If you do have a SIP account, fill the SIP stuff where related. You can use
STUN too.
...
...
@@ -105,7 +112,7 @@ Short description of content of source tree:
to sflphone client. The slfphone client can be a console program or a graphical interface
How is structured SFLphone (>=0.
4
)
How is structured SFLphone (>=0.
5
)
----------------------------------
+------------+
...
...
This diff is collapsed.
Click to expand it.
src/managerimpl.cpp
+
1
−
3
View file @
fefef162
...
...
@@ -285,17 +285,15 @@ int
ManagerImpl
::
hangupCall
(
CALLID
id
)
{
_debug
(
"%10d: Hangup Call
\n
"
,
id
);
stopTone
();
ost
::
MutexLock
m
(
_mutex
);
Call
*
call
=
getCall
(
id
);
if
(
call
==
NULL
)
{
stopTone
();
return
-
1
;
}
int
result
=
-
1
;
if
(
call
->
getState
()
!=
Call
::
Error
)
{
result
=
call
->
hangup
();
}
else
{
stopTone
();
}
deleteCall
(
id
);
// current call id or no line selected
...
...
This diff is collapsed.
Click to expand it.
tools/config.sh
+
2
−
2
View file @
fefef162
...
...
@@ -4,10 +4,10 @@ SFL_PREFIX=$HOME/sflphone
SFL_INSTALL_USER
=
$USER
# could be root too...
LD_LIBRARY_PATH
=
$SFL_PREFIX
/lib:
$LD_LIBRARY_PATH
SFL_FILE_CCPP2
=
http://easynews.dl.sourceforge.net/sourceforge/gnutelephony/commoncpp2-1.3.2
0
.tar.gz
SFL_FILE_CCPP2
=
http://easynews.dl.sourceforge.net/sourceforge/gnutelephony/commoncpp2-1.3.2
1
.tar.gz
SFL_FILE_CCRTP
=
ftp://ftp.gnu.org/pub/gnu/ccrtp/ccrtp-1.3.5.tar.gz
SFL_FILE_LIBOSIP2
=
http://ftp.gnu.org/gnu/osip/libosip2-2.2.1.tar.gz
SFL_FILE_LIBEXOSIP2
=
http://www.antisip.com/download/libeXosip2-1.9.1-pre1
6
.tar.gz
SFL_FILE_LIBEXOSIP2
=
http://www.antisip.com/download/libeXosip2-1.9.1-pre1
7
.tar.gz
SFL_FILE_PA_V19
=
http://www.portaudio.com/archives/pa_snapshot_v19.tar.gz
SFL_DIR_PA
=
'portaudio'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment