Receive and answer SIM900 GSM

Hi ! i have SIM900 GSM my arduino project is to receive and answer to the same number (if another phone send SMS to answer him) what command can i use ? i find this AT+CNUM but i dont know how can i make the syntax… is hard for me because my english is bad ! i need command to show me only the number of the phone so as to register the price and to mend applying the answer.

Well I don't know which one you have, but for instance this page has lots of transferable information:

Thanks for your answer but did not find what I was looking for …

i have buy from ebay this exactly :

i have find this tutorial is very useful

#include <SoftwareSerial.h>
SoftwareSerial SIM900(7, 8);

char incoming_char=0;

void setup()
Serial.begin(19200); // for serial monitor
SIM900.begin(19200); // for GSM shield
SIM900power(); // turn on shield
delay(20000); // give time to log on to network.

SIM900.print(“AT+CMGF=1\r”); // set SMS mode to text
// blurt out contents of new SMS upon receipt to the GSM shield’s serial out

void SIM900power()
// software equivalent of pressing the GSM shield “power” button
digitalWrite(9, HIGH);
digitalWrite(9, LOW);

void loop()
// Now we simply display any text that the GSM shield sends out on the serial monitor
if(SIM900.available() >0)
{; //Get the character from the cellular serial port.
Serial.print(incoming_char); //Print the incoming character to the terminal.

?t this program he can print on display the number of the sender the date and time of the SMS receipt. I want to take the number of the sender to use it for my unswer SMS. How can i do this ? i cant find another command to show only the number and if i find it how can i use it to send it ?

Try this site:

You can use their java application to operate your GSM module, test, experiment, and learn what capabilities it has.