run a
in terminal after you plug in your headphones.
Open another terminal and type in
and make sure the mic does not get muted when you plug the headphones in.
Other than that. We can't reply with vague scenario descriptions.
My sig sentence covers this statement.
Edit. Usually for mic troubleshooting and setup. I use mhwaveedit
Code:
$ apt search mhwaveedit
Sorting... Done
Full Text Search... Done
mhwaveedit/testing 1.4.23-1 i386
Simple and fast GTK2 sound editor