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
e3ee8ce2
Commit
e3ee8ce2
authored
Apr 02, 2010
by
Alexandre Savard
Browse files
[#2926] Fix warnings (manager, sipvoiplink)
parent
59b3966a
Changes
2
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/managerimpl.cpp
View file @
e3ee8ce2
...
...
@@ -182,38 +182,6 @@ void ManagerImpl::switchCall (const CallID& id) {
ost
::
MutexLock
m
(
_currentCallMutex
);
_debug
(
"----- Switch current call id to %s -----"
,
id
.
c_str
());
_currentCallId2
=
id
;
/*
AudioLayer *al = getAudioDriver();
if (id != "") {
if(isConference(id)) {
Conference *conf;
ConferenceMap::iterator iter = _conferencemap.find(id);
if(iter != _conferencemap.end())
{
_debug(" set call recordable in audio layer");
conf = iter->second;
al->setRecorderInstance((Recordable*)conf);
}
}
else {
// set the recordable instance in audiolayer
AccountID account_id = getAccountFromCall(id);
Call *call = NULL;
call = getAccountLink (account_id)->getCall(id);
_debug(" set call recordable in audio layer");
al->setRecorderInstance((Recordable*)call);
}
}
*/
}
///////////////////////////////////////////////////////////////////////////////
...
...
@@ -3218,7 +3186,7 @@ std::map<std::string, std::string> ManagerImpl::getAccountDetails (
a
.
insert
(
std
::
pair
<
std
::
string
,
std
::
string
>
(
ACCOUNT_DTMF_TYPE
,
getConfigString
(
accountID
,
ACCOUNT_DTMF_TYPE
)));
RegistrationState
state
;
RegistrationState
state
=
Unregistered
;
std
::
string
registrationStateCode
;
std
::
string
registrationStateDescription
;
...
...
@@ -3235,8 +3203,6 @@ std::map<std::string, std::string> ManagerImpl::getAccountDetails (
registrationStateDescription
=
account
->
getRegistrationStateDetailed
().
second
;
}
}
else
{
state
=
Unregistered
;
}
(
accountID
==
IP2IP_PROFILE
)
?
a
.
insert
(
...
...
sflphone-common/src/sip/sipvoiplink.cpp
View file @
e3ee8ce2
...
...
@@ -2976,7 +2976,6 @@ void call_on_state_changed (pjsip_inv_session *inv, pjsip_event *e)
_debug
(
"UserAgent: Call state changed to %s"
,
invitationStateMap
[
inv
->
state
]);
pjsip_rx_data
*
rdata
;
pj_status_t
status
=
PJ_SUCCESS
;
/* Retrieve the call information */
SIPCall
*
call
=
NULL
;
...
...
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