Most likely this is because the protocol that sends the mic channel is locked by another app or hangs or falls to start . Sometimes it works over Bluetooth but not headset or speaker phone.
It's a coding bug ... it should be able to determine it is not connecting properly and throw an error...