diff --git a/sflphone-common/src/iax/iaxvoiplink.cpp b/sflphone-common/src/iax/iaxvoiplink.cpp
index eee6c4c6586d980306de60d3256d3fe35b6013bc..abc93f36c109a815089633fffb47b82185b92976 100644
--- a/sflphone-common/src/iax/iaxvoiplink.cpp
+++ b/sflphone-common/src/iax/iaxvoiplink.cpp
@@ -245,6 +245,8 @@ IAXVoIPLink::getEvent()
 {
     IAXCall* call = NULL;
 
+    Manager::instance().getAudioLayerMutex()->enter();
+
     // lock iax_ stuff..
     _mutexIAX.enterMutex();
     iax_event* event = NULL;
@@ -280,6 +282,8 @@ IAXVoIPLink::getEvent()
 
     sendAudioFromMic();
 
+    Manager::instance().getAudioLayerMutex()->leave();
+
     // Do the doodle-moodle to send audio from the microphone to the IAX channel.
     // sendAudioFromMic();