else if(calltype.toInt() == CallType.CALLIN && Boolean.parseBoolean( JFritz.getProperty("option.activateDialPrefix")) && this.number.toString().startsWith(JFritz.getProperty( "dial.prefix", " ")) ) this.number = new PhoneNumber(number.toString() .substring(JFritz.getProperty("dial.prefix").length()));
    public Call(JFritz jfritz, CallType calltype, Date calldate,            PhoneNumber number, String port, String route, int duration) {        this.jfritz = jfritz;        this.calltype = calltype;        this.calldate = calldate;        this.number = number;                //fix so that an empty number doesnt get linked to an empty entry in the telephone book        if(this.number != null && this.number.toString().equals("") )        	this.number = null;                this.route = route;        this.port = port;        this.duration = duration;    }