Boolean.valueOf(JFritz.getProperty("option.activateDialPrefix")));
Boolean.valueOf(JFritz.getProperty("option.activateDialPrefix")) && !providerInput.contains("@"));
    public void callOutMsg(String calledInput, String providerInput) {        Debug.msg("Called: " + calledInput); //$NON-NLS-1$        Debug.msg("Provider: " + providerInput); //$NON-NLS-1$        String calledstr = "", providerstr = "", name = ""; //$NON-NLS-1$,  //$NON-NLS-2$,  //$NON-NLS-3$		String firstname = "", surname = "", company = ""; //$NON-NLS-1$,  //$NON-NLS-2$,  //$NON-NLS-3$				calledstr = calledInput;        if (!calledInput.startsWith("SIP")) { //$NON-NLS-1$            PhoneNumber called = new PhoneNumber(calledInput, jfritz,            		Boolean.valueOf(JFritz.getProperty("option.activateDialPrefix")));            if (!called.getIntNumber().equals("")) //$NON-NLS-1$				calledstr = called.getIntNumber();             }		providerstr = providerInput;        if (providerInput.startsWith("SIP")) //$NON-NLS-1$			providerstr = getSIPProviderTableModel().getSipProvider(                    providerInput, providerInput);        name = searchNameToPhoneNumber(calledstr);		String [] nameArray = searchFirstAndLastNameToPhoneNumber(calledstr);		firstname = nameArray[0];		surname = nameArray[1];		company = nameArray[2];		if (name.equals("")) name = JFritz.getMessage("unknown"); //$NON-NLS-1$,  //$NON-NLS-2$		if (firstname.equals("") && surname.equals("")) surname = JFritz.getMessage("unknown"); //$NON-NLS-1$,  //$NON-NLS-2$,  //$NON-NLS-3$		if (company.equals("")) company = JFritz.getMessage("unknown"); //$NON-NLS-1$,  //$NON-NLS-2$				if (calledstr.startsWith("+49")) calledstr = "0" + calledstr.substring(3); //$NON-NLS-1$,  //$NON-NLS-2$				String outstring = JFritz.getMessage("outgoing_call")+"\n " //$NON-NLS-1$,  //$NON-NLS-2$		                   + JFritz.getMessage("to") +  " " + calledstr; //$NON-NLS-1$,  //$NON-NLS-2$		if (!name.equals(JFritz.getMessage("unknown"))) outstring += " (" + name + ")\n "; //$NON-NLS-1$,  //$NON-NLS-2$,  //$NON-NLS-3$		else  outstring += "\n "; //$NON-NLS-1$		outstring += JFritz.getMessage("through_provider") + " " + providerstr; //$NON-NLS-1$,  //$NON-NLS-2$		        infoMsg(outstring);                        if (JFritzUtils.parseBoolean(JFritz.getProperty("option.playSounds", //$NON-NLS-1$                "true"))) { //$NON-NLS-1$            playSound(callSound);        }		        // z.Z. noch deaktiviert        if (false && JFritzUtils.parseBoolean(JFritz.getProperty(                "option.startExternProgram", "false"))) {  //$NON-NLS-1$,  //$NON-NLS-2$            String programString = JFritz.getProperty("option.externProgram", //$NON-NLS-1$                    ""); //$NON-NLS-1$            programString = programString.replaceAll("%Number", providerstr); //$NON-NLS-1$            programString = programString.replaceAll("%Name", name); //$NON-NLS-1$            programString = programString.replaceAll("%Called", calledstr); //$NON-NLS-1$			programString = programString.replaceAll("%Firstname", firstname); //$NON-NLS-1$			programString = programString.replaceAll("%Surname", surname); //$NON-NLS-1$			programString = programString.replaceAll("%Company", company); //$NON-NLS-1$            if (programString.indexOf("%URLENCODE") > -1) { //$NON-NLS-1$                try {                    Pattern p;                    p = Pattern.compile("%URLENCODE\\(([^;]*)\\);"); //$NON-NLS-1$                    Matcher m = p.matcher(programString);                    while (m.find()) {                        String toReplace = m.group();                        toReplace = toReplace.replaceAll("\\\\", "\\\\\\\\"); //$NON-NLS-1$,  //$NON-NLS-2$                        toReplace = toReplace.replaceAll("\\(", "\\\\("); //$NON-NLS-1$,  //$NON-NLS-2$                        toReplace = toReplace.replaceAll("\\)", "\\\\)"); //$NON-NLS-1$,  //$NON-NLS-2$                        String toEncode = m.group(1);                        programString = programString.replaceAll(toReplace,                                URLEncoder.encode(toEncode, "UTF-8")); //$NON-NLS-1$                    }                } catch (UnsupportedEncodingException uee) {                    Debug.err("JFritz.class: UnsupportedEncodingException: " //$NON-NLS-1$                            + uee.toString());                }            }            if (programString.equals("")) { //$NON-NLS-1$                Debug                        .errDlg(JFritz.getMessage("no_external_program") //$NON-NLS-1$                                + programString);                return;            }            Debug.msg("Starting external Program: " + programString); //$NON-NLS-1$            try {                Runtime.getRuntime().exec(programString);            } catch (IOException e) {                Debug.errDlg(JFritz.getMessage("not_external_program_start") //$NON-NLS-1$                        + programString);                Debug.err(e.toString());            }        }    }