Skip to content
Snippets Groups Projects
Commit 0f445526 authored by Alexandre Savard's avatar Alexandre Savard
Browse files

[#4879] Remove inmcoming call notification from IAX

parent 3dc19666
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,6 @@ IAXVoIPLink::IAXVoIPLink (const AccountID& accountID) : VoIPLink (accountID)
, converter (NULL)
, converterSamplingRate (NULL)
, urlhook (NULL)
, countTime (0)
{
_evThread = new EventThread (this);
......@@ -293,22 +292,6 @@ IAXVoIPLink::getEvent()
sendRegister ("");
}
// Notify (with a beep) an incoming call when there is already a call
countTime += 3;
if ( (Manager::instance().incomingCallWaiting() > 0) && Manager::instance().hasCurrentCall()) {
int countTime_modulo = countTime % 4000;
// _debug("countTime: %i", countTime);
// _debug("countTime_modulo: %i", countTime_modulo);
if ( (countTime_modulo - countTime) < 0) {
Manager::instance().notificationIncomingCall();
}
countTime = countTime_modulo;
}
// thread wait 3 millisecond
_evThread->sleep (3);
......
......@@ -316,9 +316,6 @@ class IAXVoIPLink : public VoIPLink
/* URL hook */
UrlHook *urlhook;
/** Counter for IncomingCallNotification */
int countTime;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment