you could read the return value from your GPRS module like this:
if (GSMSerial.available())
{
while(GSMSerial.available())
{
buffer[count++]=GSMSerial.read();
if(count == 64)break;
}
Serial.write(buffer,count);
clearBufferArray();
count = 0;
}