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
8606b945
Commit
8606b945
authored
Mar 27, 2008
by
Emmanuel Milou
Browse files
Handle "call reject" event in IAX2
parent
abba7cbb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/iaxvoiplink.cpp
View file @
8606b945
...
...
@@ -671,11 +671,15 @@ IAXVoIPLink::iaxHandleCallEvent(iax_event* event, IAXCall* call)
break
;
case
IAX_EVENT_REJECT
:
Manager
::
instance
().
peerHungupCall
(
id
);
//
Manager::instance().peerHungupCall(id);
if
(
Manager
::
instance
().
isCurrentCall
(
id
))
{
// stop audio
audiolayer
->
stopStream
();
}
call
->
setConnectionState
(
Call
::
Connected
);
call
->
setState
(
Call
::
Error
);
Manager
::
instance
().
displayErrorText
(
id
,
"Failure"
);
Manager
::
instance
().
callFailure
(
id
);
removeCall
(
id
);
break
;
...
...
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