Arduino UNO Icomsat v1.1 SIM900 GSM does not send sms

im doing a small project that basically what i wanted to do is detect the voltage reading using a voltage divider aka sensor and send me a message when the reading is 0V. Right now im using Arduino Uno R3 and a Icomsat v1.1 SIM900. i’ve combine the code that i found for the voltage reading with the code to send sms. Ive already set the jumper cable for the Icomsat v1.1 SIM900 to 6 and 7. the problem is, its not sending the message.

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

int analogInput = A1;
float vout = 0.0;
float vin = 0.0;
float R1 = 30000.0; //  
float R2 = 7500.0; //
int value = 0;

void setup()
{
   pinMode(analogInput, INPUT);
   Serial.begin(9600);
   Serial.println("\nPower Outage Alert System");

   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 sendSMS()
{
  SIM900.print("AT+CMGF=1\r");                         // AT command to send SMS message
  delay(100);
  SIM900.println("AT + CMGS = \"+60116382910\"");     // recipient's mobile number, in international format
  delay(100);
  SIM900.println("Power outage is Reported in (Location)");        // message to send
  delay(100);
  SIM900.println((char)26);                       // End AT command with a ^Z, ASCII code 26
  delay(100);
  SIM900.println();
  delay(5000);                                     // give module time to send SMS
  SIM900power();                                   // turn off module
}

int voltage()
{  
  // read the value at analog input
   value = analogRead(analogInput);
   vout = (value * 5.0) / 1024.0; // see text
   vin = vout / (R2/(R1+R2));

   Serial.print("INPUT V= ");
   Serial.println(vin,0);

   if (vin == 0)
   {
   Serial.print(", No Power Detected");
   sendSMS();
   Serial.println(", Sent");
   }

   delay(2000);
   return vin;

 }

void loop()
{

 do {

 voltage();

 } while (vin != 0);
}

the code that i use to test sending message

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

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 sendSMS()
{
SIM900.print(“AT+CMGF=1\r”); // AT command to send SMS message
delay(100);
SIM900.println("AT + CMGS = “+601116382910"”); // recipient’s mobile number, in international format
delay(100);
SIM900.println(“No electricty in (Location)”); // message to send
delay(100);
SIM900.println((char)26); // End AT command with a ^Z, ASCII code 26
delay(100);
SIM900.println();
delay(5000); // give module time to send SMS
SIM900power(); // turn off module
}

void loop()
{
sendSMS();
do {} while (1);
}

the code that i used for voltage reading

/*
DC Voltmeter Using a Voltage Divider
Based on Code Created By
T.K.Hareendran
*/

int analogInput = A1;
float vout = 0.0;
float vin = 0.0;
float R1 = 30000.0; //  
float R2 = 7500.0; // 
int value = 0;

void setup(){
   pinMode(analogInput, INPUT);
   Serial.begin(9600);
   Serial.print("DC VOLTMETER");
}
void loop(){
   // read the value at analog input
   value = analogRead(analogInput);
   vout = (value * 5.0) / 1024.0; // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V)
   vin = vout / (R2/(R1+R2)); 

Serial.print("INPUT V, ");
Serial.println(vin,4);
delay(2000);
}