code: public char getDigit()
      {
          final String digit = agiReply.getAttribute("digit");
          if (digit == null || digit.length() == 0)
          {
              return 0x0;
          }
          return digit.charAt(0);
      }
docs: Returns the DTMF digit that was received.
  
  @return the DTMF digit that was received or 0x0 if none was received.