Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
b224e10a
Commit
b224e10a
authored
Nov 05, 2009
by
Alexandre Savard
Browse files
[#2380] Fixing IncomingCallNotification not regular
parent
59e11467
Changes
2
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/audiortp/AudioRtpSession.h
View file @
b224e10a
...
...
@@ -397,7 +397,7 @@ namespace sfl {
countTime
+=
_time
->
getSecond
();
if
(
_manager
->
incomingCallWaiting
()
>
0
)
{
int
countTime_modulo
=
countTime
%
3
000
;
int
countTime_modulo
=
countTime
%
4
000
;
_debug
(
"countTime: %i
\n
"
,
countTime
);
_debug
(
"countTime_modulo: %i
\n
"
,
countTime_modulo
);
if
((
countTime_modulo
-
countTime
)
<
0
)
{
...
...
sflphone-common/src/managerimpl.cpp
View file @
b224e10a
...
...
@@ -776,6 +776,8 @@ ManagerImpl::refuseCall (const CallID& id)
AccountID
accountid
;
bool
returnValue
;
CallID
current_call_id
=
getCurrentCallId
();
stopTone
(
false
);
...
...
@@ -818,7 +820,8 @@ ManagerImpl::refuseCall (const CallID& id)
if
(
_dbus
)
_dbus
->
getCallManager
()
->
callStateChanged
(
id
,
"HUNGUP"
);
switchCall
(
""
);
// if(current_call_id.compare("") != 0)
// switchCall ("");
}
...
...
@@ -1773,6 +1776,7 @@ ManagerImpl::incomingCall (Call* call, const AccountID& accountId)
_debug
(
"ManagerImpl::incomingCall :: hasCurrentCall() %i
\n
"
,
hasCurrentCall
());
if
(
!
hasCurrentCall
())
{
call
->
setConnectionState
(
Call
::
Ringing
);
ringtone
();
// switchCall (call->getCallId());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment