blob: 8fd4d44bda811418eaff92052f968c680342ec4f [file] [log] [blame]
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Additional permission under GNU GPL version 3 section 7:
If you modify this program, or any covered work, by linking or
combining it with the OpenSSL project's OpenSSL library (or a
modified version of that library), containing parts covered by the
terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
grants you additional permission to convey the resulting work.
Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res/org.sflphone" >
<PreferenceCategory
android:id="@+id/account_advanced_category"
android:title="Advanced settings" >
<org.sflphone.views.NumberPickerPreference
android:id="@+id/account_registration_expire"
android:key="Account.registrationExpire"
android:persistent="false"
android:title="Registration Expire"
app:max="1000"
app:min="10" />
<ListPreference
android:id="@+id/account_creation_local_interface"
android:key="Account.localInterface"
android:persistent="false"
android:title="Local Interface" />
<EditTextPreference
android:id="@+id/account_local_port"
android:key="Account.localPort"
android:persistent="false"
android:title="Local Port" />
<CheckBoxPreference
android:id="@+id/account_creation_stun_enable"
android:defaultValue="false"
android:key="STUN.enable"
android:persistent="false"
android:summaryOff="disabled"
android:summaryOn="enabled"
android:title="Stun Enabled" />
<EditTextPreference
android:id="@+id/account_creation_stun_server"
android:defaultValue=""
android:enabled="false"
android:key="STUN.server"
android:persistent="false"
android:summary=""
android:title="Stun Server" />
<CheckBoxPreference
android:id="@+id/account_creation_published_sameas_local"
android:key="Account.publishedSameAsLocal"
android:persistent="false"
android:title="Published same as local" />
<EditTextPreference
android:id="@+id/account_creation_published_port"
android:enabled="false"
android:key="Account.publishedPort"
android:persistent="false"
android:title="Published Port" />
<EditTextPreference
android:id="@+id/account_creation_published_address"
android:defaultValue="0.0.0.0"
android:enabled="false"
android:key="Account.publishedAddress"
android:persistent="false"
android:title="Published Address" />
</PreferenceCategory>
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_credential_number" -->
<!-- android:key="Credential.count" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="0" -->
<!-- android:title="Credential Number" -->
<!-- android:summary="0"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_dtmf_type" -->
<!-- android:key="Account.dtmfType" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="SIP" -->
<!-- android:title="DTMF Type" -->
<!-- android:summary="SIP"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_ringtone_path" -->
<!-- android:key="Account.ringtonePath" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="Ringtone Path"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_ringtone_enabled" -->
<!-- android:key="Account.ringtoneEnabled" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="true" -->
<!-- android:title="Ringtone Enabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_keep_alive" -->
<!-- android:key="Account.keepAliveEnabled" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="Keep Alive"/> -->
<!-- android:id="@+id/account_creation_display_name" -->
<!-- android:key="Account.displayName" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="SFLPhone" -->
<!-- android:title="Display Name" -->
<!-- android:summary="SFLPhone"/> -->
<!-- <PreferenceCategory -->
<!-- android:id="@+id/account_srtp_category" -->
<!-- android:title="SRTP settings"> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_enable" -->
<!-- android:key="SRTP.enable" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="SRTP Enabled" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_key_exchange" -->
<!-- android:key="SRTP.keyExchange" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="SRTP Key Exchange" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_encryp_algo" -->
<!-- android:key="SRTP.encryptionAlgorithm" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="SRTP Encrypt Algo" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_rtp_fallback" -->
<!-- android:key="SRTP.rtpFallback" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="SRTP RTP Fallback" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_hello_hash" -->
<!-- android:key="ZRTP.helloHashEnable" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="disabled" -->
<!-- android:title="ZRTP Hello Hash" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_display_sas" -->
<!-- android:key="ZRTP.displaySAS" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="ZRTP Display SAS" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_supported_warning" -->
<!-- android:key="ZRTP.notSuppWarning" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="ZRTP Not Supported Warning" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_srtp_displaysas_once" -->
<!-- android:key="ZRTP.displaySasOnce" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="ZRTP Display SAS Once" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- </PreferenceCategory> -->
<!-- <PreferenceCategory -->
<!-- android:id="@+id/account_tls_category" -->
<!-- android:title="TLS settings"> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_tls_enable" -->
<!-- android:key="TLS.enable" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="TLS Enabled" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_listener_port" -->
<!-- android:key="TLS.listenerPort" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="5061" -->
<!-- android:title="Listener Port" -->
<!-- android:summary="5061"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_certificate_list_file" -->
<!-- android:key="TLS.certificateListFile" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="TLS Certificate List File" -->
<!-- android:summary=""/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_certificate_file" -->
<!-- android:key="TLS.certificateFile" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="TLS Certificate File" -->
<!-- android:summary=""/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_private_key_file" -->
<!-- android:key="TLS.privateKeyFile" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="disabled" -->
<!-- android:title="TLS Private Key File" -->
<!-- android:summary="disabled"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_password" -->
<!-- android:key="TLS.password" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="TLS Password" -->
<!-- android:summary=""/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_method" -->
<!-- android:key="TLS.method" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="TLS Method" -->
<!-- android:summary=""/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_ciphers" -->
<!-- android:key="TLS.ciphers" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="TLS Ciphers" -->
<!-- android:summary=""/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_server_name" -->
<!-- android:key="TLS.serverName" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="" -->
<!-- android:title="TLS Server Name" -->
<!-- android:summary=""/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_tls_verify_server" -->
<!-- android:key="TLS.verifyServer" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="TLS Verify Server" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_tls_verify_client" -->
<!-- android:key="TLS.verifyClient" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="TLS Verify Client" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <CheckBoxPreference -->
<!-- android:id="@+id/account_creation_tls_require_client_cert" -->
<!-- android:key="TLS.requireClientCertificate" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="false" -->
<!-- android:title="TLS Require Client Certificate" -->
<!-- android:summaryOn="enabled" -->
<!-- android:summaryOff="disabled"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_timeout_sec" -->
<!-- android:key="TLS.negotiationTimeoutSec" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="60" -->
<!-- android:title="TLS Timeout Sec" -->
<!-- android:summary="60"/> -->
<!-- <EditTextPreference -->
<!-- android:id="@+id/account_creation_tls_timeout_msec" -->
<!-- android:key="TLS.negotiationTimeoutMsec" -->
<!-- android:persistent="false" -->
<!-- android:defaultValue="0" -->
<!-- android:title="TLS Timeout Msec" -->
<!-- android:summary="0"/> -->
<!-- </PreferenceCategory> -->
</PreferenceScreen>