| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Copyright (C) 2004-2012 Savoir-Faire Linux Inc. |
| |
| Author: Alexandre Savard <alexandre.savard@gmail.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"> |
| <PreferenceCategory |
| android:id="@+id/account_basic_category" |
| android:title="Basic settings"> |
| <CheckBoxPreference |
| android:id="@+id/account_creation_enable" |
| android:key="Account.enable" |
| android:persistent="false" |
| android:defaultValue="true" |
| android:title="Account enabled" |
| android:summaryOn="Current value:: enabled" |
| android:summaryOff="Current value:: disabled"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_type" |
| android:key="Account.type" |
| android:persistent="false" |
| android:defaultValue="SIP" |
| android:title="Type" |
| android:summary="Current value:: SIP"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_alias" |
| android:key="Account.alias" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Alias" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_hostname" |
| android:key="Account.hostname" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Hostname" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_username" |
| android:key="Account.username" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Username" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_routeset" |
| android:key="Account.routeset" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Route Set" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_password" |
| android:key="Account.password" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Password" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_realm" |
| android:key="Account.realm" |
| android:persistent="false" |
| android:defaultValue="*" |
| android:title="Realm" |
| android:summary="Current value:: *"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_useragent" |
| android:key="Account.useragent" |
| android:persistent="false" |
| android:defaultValue="SFLPhone" |
| android:title="User Agent" |
| android:summary="Current value:: SFLPhone"/> |
| </PreferenceCategory> |
| <PreferenceCategory |
| android:id="@+id/account_advanced_category" |
| android:title="Advanced settings"> |
| <EditTextPreference |
| android:id="@+id/account_creation_registration_expire" |
| android:key="Account.registrationExpire" |
| android:persistent="false" |
| android:defaultValue="60" |
| android:title="Registration Expire" |
| android:summary="Current value:: 60"/> |
| <CheckBoxPreference |
| android:id="@+id/account_creation_autoanswer" |
| android:key="Account.autoAnswer" |
| android:persistent="false" |
| android:defaultValue="false" |
| android:title="Auto Answer" |
| android:summaryOn="Current value:: enabled" |
| android:summaryOff="Current value:: disabled"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_registration_status" |
| android:key="Account.registrationStatus" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Registration Status" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_registration_state_code" |
| android:key="Account.registrationCode" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Registration Code" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_registration_state_desc" |
| android:key="Account.registrationDescription" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Registration Desciption" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_credential_number" |
| android:key="Credential.count" |
| android:persistent="false" |
| android:defaultValue="0" |
| android:title="Credential Number" |
| android:summary="Current value:: 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="Current value:: SIP"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_ringtone_path" |
| android:key="Account.ringtonePath" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Ringtone Path" |
| android:summary="Current value:: "/> |
| <CheckBoxPreference |
| android:id="@+id/account_creation_ringtone_enabled" |
| android:key="Account.ringtoneEnabled" |
| android:persistent="false" |
| android:defaultValue="true" |
| android:title="Ringtone Enabled" |
| android:summaryOn="Current value:: enabled" |
| android:summaryOff="Current value:: disabled"/> |
| <CheckBoxPreference |
| android:id="@+id/account_creation_keep_alive" |
| android:key="Account.keepAliveEnabled" |
| android:persistent="false" |
| android:defaultValue="false" |
| android:title="Keep Alive" |
| android:summaryOn="Current value:: enabled" |
| android:summaryOff="Current value:: disabled"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_local_interface" |
| android:key="Account.localInterface" |
| android:persistent="false" |
| android:defaultValue="eth0" |
| android:title="Local Interface" |
| android:summary="Current value:: eth0"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_interface" |
| android:key="Account.interface" |
| android:persistent="false" |
| android:defaultValue="eht0" |
| android:title="Interface" |
| android:summary="Current value:: eth0"/> |
| <CheckBoxPreference |
| android:id="@+id/account_creation_published_sameas_local" |
| android:key="Account.publishedSameAsLocal" |
| android:persistent="false" |
| android:defaultValue="false" |
| android:title="Published same as local" |
| android:summaryOn="Current value:: yes" |
| android:summaryOff="Current value:: no"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_local_port" |
| android:key="Account.localPort" |
| android:persistent="false" |
| android:defaultValue="5060" |
| android:title="Local Port" |
| android:summary="Current value:: 5060"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_published_port" |
| android:key="Account.publishedPort" |
| android:persistent="false" |
| android:defaultValue="5060" |
| android:title="Published Port" |
| android:summary="Current value:: 5060"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_published_address" |
| android:key="Account.publishedAddress" |
| android:persistent="false" |
| android:defaultValue="0.0.0.0" |
| android:title="Published Address" |
| android:summary="Current value:: 0.0.0.0"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_display_name" |
| android:key="Account.displayName" |
| android:persistent="false" |
| android:defaultValue="SFLPhone" |
| android:title="Display Name" |
| android:summary="Current value:: SFLPhone"/> |
| <CheckBoxPreference |
| android:id="@+id/account_creation_stun_enable" |
| android:key="STUN.enable" |
| android:persistent="false" |
| android:defaultValue="false" |
| android:title="Stun Enabled" |
| android:summaryOn="Current value:: enabled" |
| android:summaryOff="Current value:: disabled"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_stun_server" |
| android:key="STUN.server" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="Stun Server" |
| android:summary="Current value:: "/> |
| </PreferenceCategory> |
| <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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: 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="Current value:: "/> |
| <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="Current value:: "/> |
| <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="Current value:: disabled"/> |
| <EditTextPreference |
| android:id="@+id/account_creation_tls_password" |
| android:key="TLS.password" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="TLS Password" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_tls_method" |
| android:key="TLS.method" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="TLS Method" |
| android:summary="Current value:: "/> |
| <EditTextPreference |
| android:id="@+id/account_creation_tls_ciphers" |
| android:key="TLS.ciphers" |
| android:persistent="false" |
| android:defaultValue="" |
| android:title="TLS Ciphers" |
| android:summary="Current value:: "/> |
| <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="Current value:: "/> |
| <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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: enabled" |
| android:summaryOff="Current value:: 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="Current value:: 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="Current value:: 0"/> |
| </PreferenceCategory> |
| </PreferenceScreen> |