diff --git a/src/iaxvoiplink.cpp b/src/iaxvoiplink.cpp index 34649a200faf2341b362d62771e2f91ac3e966df..9c895f31e0b71d625be9dbdfabb749ca5255d77b 100644 --- a/src/iaxvoiplink.cpp +++ b/src/iaxvoiplink.cpp @@ -439,6 +439,10 @@ IAXVoIPLink::answer(const CallID& id) call->setState(Call::Active); call->setConnectionState(Call::Connected); + // Start audio + audiolayer->startStream(); + audiolayer->flushMic(); + return true; } @@ -638,6 +642,7 @@ IAXVoIPLink::iaxHandleCallEvent(iax_event* event, IAXCall* call) } Manager::instance().peerAnsweredCall(id); + audiolayer->flushMic(); audiolayer->startStream(); // start audio here? } else {