print("Incoming call # " + callId + " from " + sipUri + " (" + displayName + ").");
params.clear(); params.add(new Integer(accountId)); params.add("name"); String accName = (String) gui.execute("core.accountGet", params);
    public boolean incomingCall(int accountId, int callId, String sipUri,            String displayName) {        try {                        print("Incoming call # " + callId + " from " + sipUri + " ("                    + displayName + ").");                        DialogThread dt = new DialogThread(gui, dialog, pendingCalls, accountId, callId, sipUri, displayName);            dt.start();                                  return true;        } catch (Exception e) {            {                e.printStackTrace();                return false;            }        }    }