title: How to get phone number when have an incoming call on PCI modem
body: <p>I want to build the java application like callerID application.<br>
  When having an incoming call then this application will show phone number in the textbox.<br>
  I use <strong>serialEvent</strong> function and detected when have incoming.
  But I just got <strong>RING</strong> text. <br></p>
  
  <pre><code>public synchronized void serialEvent(SerialPortEvent oEvent) {
      if (oEvent.getEventType() == SerialPortEvent.DATA_AVAILABLE) {
          try {
              String inputLine=input.readLine();
              System.out.println(inputLine);
          } catch (Exception e) {
              System.err.println(e.toString());
          }
      }
  }
  </code></pre>
  
  <p>How can we get the phone number?</p>
  
  <p>ps: I use PCI modem</p>