3.5mm microphone for GPRS shield

Hello,
I have SIMCOM SIM900 GSM/GPRS shield. I also have a 3.5mm microphone. If I just plug it in would it work or do I need any libraries to handle input/output ?
I'm planning to use earpiece headphones and the mic for communication.
Regards