Sending SMS message vis GPRS SIM900A with Arduino UNO is not reliable

rewrite the way you listen to the response. Don't use delay. just listen and keep a rolling buffer of 2 bytes and compare with "OK" (until a given timeout)