GSM Module SIM900 detect incoming call

Hi all

Im using the SIM 900 to detect an incoming call i used the following code but i can’t detect the incoming caller number

//Serial Relay - pour Arduino 1.0 
// Arduino will patch a serial link between the computer 
// and the GPRS Shield at 19200 bps 8-N-1
//Computer is connected to Hardware UART
//GPRS Shield is connected to the Software UART 
#include <SoftwareSerial.h>    // For Arduino 1.0
SoftwareSerial mySerial(7, 8); // For Arduino 1.0
void setup()
  mySerial.begin(19200);               // the GPRS baud rate   
  Serial.begin(19200);                 // the GPRS baud rate   
void loop()
       char c =;
    else  if(mySerial.available())
        char c =;

But the problem i can see only RING
Is there a way to detect the number (With AT command)


thanks for your answers

Hi I am just learning AT commands at the ripe old age of 62…so here goes!


type the AT command in hyper terminal press return you should get ok then ring the number and you should see RING
then the next line should read


you can download commands file from the tinternet! there are some good examples on you tube type …at commands
oh! just another thing the spec I’ve got for sim900 is baud rate 115200 this might make a difference
All the best