 boolean isGettingDigit;
 boolean isTalking;
 
-int digitCounter;
 int digitValue;
 String phoneNumber;
 
-const int DIGITS_IN_PHONE_NUMBER = 11;
-char phoneNumberChars[DIGITS_IN_PHONE_NUMBER + 1];
+char phoneNumberChars[20]; // 20 - "big" number. Greater than any pnone number.
 
 //---- gsm begin
 #define SIM_PIN_NUMBER ""

  }
}

void makeCall() {
  updatePhoneNumberForRussia();
  phoneNumber.toCharArray(phoneNumberChars, DIGITS_IN_PHONE_NUMBER + 1);
  if (gsmVoiceCall.voiceCall(phoneNumberChars)) {
    isTalking = true;
    while (isTalking && (gsmVoiceCall.getvoiceCallStatus() == TALKING));
    // ПРОВЕРИТЬ: когда трубку кладут "тут" и когда кладут "там".
    // ПРОВЕРИТЬ: когда занято.
  }
}

void updatePhoneNumberForRussia() {

void pickedUpHandler(telephone::ButtonState buttonState) {
  isGettingPhoneNumber = buttonState == PRESSED;
  if (isGettingPhoneNumber) {
    Serial.println("Headset up");
    phoneNumber = "";
  } else {
    Serial.println("Headset down");
    isGettingDigit = false;
    if (isTalking) {
      gsmVoiceCall.hangCall();
