Arduino GSM call keypad

Hi everyone. I have an question for the keypad of an call. For example.. I call my gsm shield and the shield recnognizes my number. So i press 1 and the motor start. But how to know what number was pressed by my arduino. I searched in the internet but i don't find solutions. Only the real keypad to touch but no keypad of the call from my telephone. (It is used for example in the call centers).

These additional digits are transfered by touch tones (two frequencies, one for the row, the other for the column). If your GSM shield can recognize them, you might be able to read them out. We don't know what GSM shield you're using.

I am using an SIM900 shield. I for, listen the sound, have an jack on the shield for connect the earphone and other. There is a method if i connect the tree wires of the cable of the earphone to the pins of arduino to recnognize the sound ?. Like: 800 on A0, 30 on A1 and i associate this number to the sound and accordingly to the button pressed.

There is a method if i connect the tree wires of the cable of the earphone to the pins of arduino to recnognize the sound ?

I don't think a simple connection to some pins solves that but with a little external circuit you may get that done using the library mentioned here.