Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jami-libclient
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This project is archived. Its data is
read-only
.
Show more breadcrumbs
savoirfairelinux
jami-libclient
Commits
b0b16cca
Commit
b0b16cca
authored
Jan 7, 2013
by
Emmanuel Lepage Vallee
Browse files
Options
Downloads
Patches
Plain Diff
[ #18423 ] Fix non attended transfer
parent
adc84476
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/call.cpp
+6
-4
6 additions, 4 deletions
src/call.cpp
src/callmodel.hpp
+4
-3
4 additions, 3 deletions
src/callmodel.hpp
with
10 additions
and
7 deletions
src/call.cpp
+
6
−
4
View file @
b0b16cca
...
@@ -795,11 +795,13 @@ void Call::call()
...
@@ -795,11 +795,13 @@ void Call::call()
///Trnasfer the call
///Trnasfer the call
void
Call
::
transfer
()
void
Call
::
transfer
()
{
{
if
(
!
m_TransferNumber
.
isEmpty
())
{
CallManagerInterface
&
callManager
=
CallManagerInterfaceSingleton
::
getInstance
();
CallManagerInterface
&
callManager
=
CallManagerInterfaceSingleton
::
getInstance
();
qDebug
()
<<
"Transferring call to number : "
<<
m_TransferNumber
<<
". callId : "
<<
m_CallId
;
qDebug
()
<<
"Transferring call to number : "
<<
m_TransferNumber
<<
". callId : "
<<
m_CallId
;
Q_NOREPLY
callManager
.
transfer
(
m_CallId
,
m_TransferNumber
);
Q_NOREPLY
callManager
.
transfer
(
m_CallId
,
m_TransferNumber
);
setStopTime_private
(
new
QDateTime
(
QDateTime
::
currentDateTime
()));
setStopTime_private
(
new
QDateTime
(
QDateTime
::
currentDateTime
()));
}
}
}
///Unhold the call
///Unhold the call
void
Call
::
unhold
()
void
Call
::
unhold
()
...
...
...
...
This diff is collapsed.
Click to expand it.
src/callmodel.hpp
+
4
−
3
View file @
b0b16cca
...
@@ -282,6 +282,7 @@ CALLMODEL_TEMPLATE void CALLMODEL_T::transfer(Call* toTransfer, QString target)
...
@@ -282,6 +282,7 @@ CALLMODEL_TEMPLATE void CALLMODEL_T::transfer(Call* toTransfer, QString target)
{
{
qDebug
()
<<
"Transferring call "
<<
toTransfer
->
getCallId
()
<<
"to"
<<
target
;
qDebug
()
<<
"Transferring call "
<<
toTransfer
->
getCallId
()
<<
"to"
<<
target
;
toTransfer
->
setTransferNumber
(
target
);
toTransfer
->
setTransferNumber
(
target
);
toTransfer
->
changeCurrentState
(
CALL_STATE_TRANSFERRED
);
toTransfer
->
actionPerformed
(
CALL_ACTION_TRANSFER
);
toTransfer
->
actionPerformed
(
CALL_ACTION_TRANSFER
);
toTransfer
->
changeCurrentState
(
CALL_STATE_OVER
);
toTransfer
->
changeCurrentState
(
CALL_STATE_OVER
);
}
//transfer
}
//transfer
...
...
...
...
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
sign in
to comment