mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
*** empty log message ***
This commit is contained in:
@ -276,10 +276,10 @@ ManagerImpl::hangupCall (CALLID id)
|
||||
if (call == NULL) {
|
||||
return -1;
|
||||
}
|
||||
if (call->getState() == Call::Error) {
|
||||
return -1;
|
||||
int result = -1;
|
||||
if (call->getState() != Call::Error) {
|
||||
result = call->hangup();
|
||||
}
|
||||
int result = call->hangup();
|
||||
deleteCall(id);
|
||||
stopTone(); // stop tone, like a 700 error: number not found Not Found
|
||||
return result;
|
||||
|
Reference in New Issue
Block a user