     }
     delay(1000);
   }
+  digitalWrite(NO_NETWORK_LED_PIN, LOW);
 }
 
 void loop() {

  pinMode(ASTERISK_PIN, INPUT);
  pinMode(NUMBER_SIGN_PIN, INPUT);
  pinMode(PLUS_PIN, INPUT);
  pinMode(RING_PIN, OUTPUT);
  pinMode(AUTO_START_GSM_PIN, OUTPUT);
  delay(100);
  digitalWrite(AUTO_START_GSM_PIN, HIGH);

  buttonHandset.setHandler(pickedUpHandler);

const int ASTERISK_PIN = A3;
const int NUMBER_SIGN_PIN = A4;
const int PLUS_PIN = A5;
const int NO_NETWORK_LED_PIN = 13;
const int RING_PIN = 5;
const int AUTO_START_GSM_PIN = 8;

// Should be 25Hz, but 31 is the arduino's minimum.
