The Quectel M10 module has two different audio ports. The GSM Shield is set up to used by default the first one, but the jack you can find on the board is attached to the second.
One way we found to make it work, was using the following AT command: AT+QAUDCH=1
You can find details on the AT command on the following datasheet:
The other problem we are having is the command is not saved on the board, and everytime the power is lost the command goes back to the default.
This thread was very helpful as I experienced same issue. The actual code becomes a bit complicated because I haven't found a way to send both raw AT commands while using the SMS library.
So I created a gist showing the code for sending raw AT commands to answer a call with proper audio settings in case other face this issue:
I have a arduino uno and gsm shield 2. I have the same issue with the audio jack. How can i send the AT command to modem? If i load the #include <SoftwareSerial.h> i get a message: "Error compiling for board Arduino/Genuino Uno".