GSM900 Receive calls?

Hello I'm trying to figure out a way to automatically receive a call when i call from my cellphone for the gsm shield to pick up automatically from what i read in the 900 datasheet the command ATA should receive a call below is my sketch to send a call from my arduino to my cellphone I'm trying to go the other way around and have my gsm shield to receive the call automatically can someone please help me?

#include <SoftwareSerial.h>
SoftwareSerial SIM900(7, 8); // configure software serial port

void setup()
{
  SIM900.begin(19200);               
  SIM900power();  
  delay(20000);  // give time to log on to network. 
}

void SIM900power()
// software equivalent of pressing the GSM shield "power" button
{
  digitalWrite(9, HIGH);
  delay(1000);
  digitalWrite(9, LOW);
  delay(5000);
}

void callSomeone()
{
  SIM900.println("ATD + +1xxxxxxxxx;"); // dial US (212) 8675309
  delay(100);
  SIM900.println();

}

void loop()
{
  callSomeone(); // call someone
  SIM900power();   // power off GSM shield
  do {} while (1); // do nothing
}

hello i really need help trying to receive a call so when i call to the gsm shield i would like for it to automatically pick up can someone please help me not sure on how to do so.

Joseph

The code you have, is for the arduino shield to call you. You want to call the other way ?

If you look about halfway down this long webpage, there is an example of how they receive an incoming sms to the arduino shield. I don't know about how to get an actual call. I don't know what you could do with an actual call if you got one.

hello michinyon i don't need it to receive the sms i need it to receive a call when i call to the gsm shield. i have all the sms stuff all ready working with no problem.