blob: aa0715d1dcaec94e5e0bf5bb4ddf1d1766df66cd [file] [log] [blame]
Alexandre Savard3bbb4792012-10-05 11:30:01 -04001<?xml version="1.0" encoding="utf-8"?>
Alexandre Lision451f2a82013-11-12 12:55:55 -05002<!--
Alexandre Lisionafd40e42013-10-15 13:48:37 -04003Copyright (C) 2004-2013 Savoir-Faire Linux Inc.
Alexandre Savard3bbb4792012-10-05 11:30:01 -04004
Alexandre Lisionc48c36a2013-11-12 16:26:10 -05005Author: Alexandre Lision <alexandre.lision@savoirfairelinux.com>
Alexandre Savard3bbb4792012-10-05 11:30:01 -04006
7This program is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 3 of the License, or
10(at your option) any later version.
11
12This program is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with this program; if not, write to the Free Software
19 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
21Additional permission under GNU GPL version 3 section 7:
22
23If you modify this program, or any covered work, by linking or
24combining it with the OpenSSL project's OpenSSL library (or a
25modified version of that library), containing parts covered by the
26terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
27grants you additional permission to convey the resulting work.
28Corresponding Source for a non-source form of such a combination
29shall include the source code for the parts of OpenSSL used as well
30as that of the covered work.
Alexandre Lision451f2a82013-11-12 12:55:55 -050031-->
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050032
Alexandre Lision451f2a82013-11-12 12:55:55 -050033<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
34
35 <PreferenceCategory
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050036 android:id="@+id/account_advanced_category"
37 android:title="Advanced settings" >
Alexandre Lision451f2a82013-11-12 12:55:55 -050038 <EditTextPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050039 android:id="@+id/account_registration_expire"
40 android:defaultValue="60"
41 android:key="Account.registrationExpire"
Alexandre Lision451f2a82013-11-12 12:55:55 -050042 android:persistent="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050043 android:title="Registration Expire" />
44
45 <ListPreference
46 android:id="@+id/account_creation_local_interface"
47 android:key="Account.localInterface"
48 android:persistent="false"
49 android:title="Local Interface" />
50
Alexandre Lision451f2a82013-11-12 12:55:55 -050051 <EditTextPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050052 android:id="@+id/account_local_port"
53 android:key="Account.localPort"
Alexandre Lision451f2a82013-11-12 12:55:55 -050054 android:persistent="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050055 android:title="Local Port" />
Alexandre Lision451f2a82013-11-12 12:55:55 -050056
57 <CheckBoxPreference
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050058 android:id="@+id/account_creation_stun_enable"
Alexandre Lision451f2a82013-11-12 12:55:55 -050059 android:defaultValue="false"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050060 android:key="STUN.enable"
Alexandre Lision451f2a82013-11-12 12:55:55 -050061 android:persistent="false"
62 android:summaryOff="disabled"
63 android:summaryOn="enabled"
Alexandre Lisionc48c36a2013-11-12 16:26:10 -050064 android:title="Stun Enabled" />
65
66 <EditTextPreference
67 android:id="@+id/account_creation_stun_server"
68 android:defaultValue=""
69 android:key="STUN.server"
70 android:persistent="false"
71 android:summary=""
72 android:title="Stun Server" />
73
74 <CheckBoxPreference
75 android:id="@+id/account_creation_published_sameas_local"
76 android:defaultValue="false"
77 android:key="Account.publishedSameAsLocal"
78 android:persistent="false"
79 android:summaryOff="no"
80 android:summaryOn="yes"
81 android:title="Published same as local" />
82
83 <EditTextPreference
84 android:id="@+id/account_creation_published_port"
85 android:key="Account.publishedPort"
86 android:persistent="false"
87 android:title="Published Port" />
88 <EditTextPreference
89 android:id="@+id/account_creation_published_address"
90 android:defaultValue="0.0.0.0"
91 android:key="Account.publishedAddress"
92 android:persistent="false"
93 android:summary="0.0.0.0"
94 android:title="Published Address" />
Alexandre Lision451f2a82013-11-12 12:55:55 -050095 </PreferenceCategory>
Alexandre Lision451f2a82013-11-12 12:55:55 -050096 <!-- <EditTextPreference -->
97 <!-- android:id="@+id/account_creation_credential_number" -->
98 <!-- android:key="Credential.count" -->
99 <!-- android:persistent="false" -->
100 <!-- android:defaultValue="0" -->
101 <!-- android:title="Credential Number" -->
102 <!-- android:summary="0"/> -->
103 <!-- <EditTextPreference -->
104 <!-- android:id="@+id/account_creation_dtmf_type" -->
105 <!-- android:key="Account.dtmfType" -->
106 <!-- android:persistent="false" -->
107 <!-- android:defaultValue="SIP" -->
108 <!-- android:title="DTMF Type" -->
109 <!-- android:summary="SIP"/> -->
110 <!-- <EditTextPreference -->
111 <!-- android:id="@+id/account_creation_ringtone_path" -->
112 <!-- android:key="Account.ringtonePath" -->
113 <!-- android:persistent="false" -->
114 <!-- android:defaultValue="" -->
115 <!-- android:title="Ringtone Path"/> -->
116 <!-- <CheckBoxPreference -->
117 <!-- android:id="@+id/account_creation_ringtone_enabled" -->
118 <!-- android:key="Account.ringtoneEnabled" -->
119 <!-- android:persistent="false" -->
120 <!-- android:defaultValue="true" -->
121 <!-- android:title="Ringtone Enabled"/> -->
122 <!-- <CheckBoxPreference -->
123 <!-- android:id="@+id/account_creation_keep_alive" -->
124 <!-- android:key="Account.keepAliveEnabled" -->
125 <!-- android:persistent="false" -->
126 <!-- android:defaultValue="false" -->
127 <!-- android:title="Keep Alive"/> -->
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500128
129
Alexandre Lision451f2a82013-11-12 12:55:55 -0500130 <!-- android:id="@+id/account_creation_display_name" -->
131 <!-- android:key="Account.displayName" -->
132 <!-- android:persistent="false" -->
133 <!-- android:defaultValue="SFLPhone" -->
134 <!-- android:title="Display Name" -->
135 <!-- android:summary="SFLPhone"/> -->
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500136
137
Alexandre Lision451f2a82013-11-12 12:55:55 -0500138 <!-- <PreferenceCategory -->
139 <!-- android:id="@+id/account_srtp_category" -->
140 <!-- android:title="SRTP settings"> -->
141 <!-- <CheckBoxPreference -->
142 <!-- android:id="@+id/account_creation_srtp_enable" -->
143 <!-- android:key="SRTP.enable" -->
144 <!-- android:persistent="false" -->
145 <!-- android:defaultValue="false" -->
146 <!-- android:title="SRTP Enabled" -->
147 <!-- android:summaryOn="enabled" -->
148 <!-- android:summaryOff="disabled"/> -->
149 <!-- <CheckBoxPreference -->
150 <!-- android:id="@+id/account_creation_srtp_key_exchange" -->
151 <!-- android:key="SRTP.keyExchange" -->
152 <!-- android:persistent="false" -->
153 <!-- android:defaultValue="false" -->
154 <!-- android:title="SRTP Key Exchange" -->
155 <!-- android:summaryOn="enabled" -->
156 <!-- android:summaryOff="disabled"/> -->
157 <!-- <CheckBoxPreference -->
158 <!-- android:id="@+id/account_creation_srtp_encryp_algo" -->
159 <!-- android:key="SRTP.encryptionAlgorithm" -->
160 <!-- android:persistent="false" -->
161 <!-- android:defaultValue="false" -->
162 <!-- android:title="SRTP Encrypt Algo" -->
163 <!-- android:summaryOn="enabled" -->
164 <!-- android:summaryOff="disabled"/> -->
165 <!-- <CheckBoxPreference -->
166 <!-- android:id="@+id/account_creation_srtp_rtp_fallback" -->
167 <!-- android:key="SRTP.rtpFallback" -->
168 <!-- android:persistent="false" -->
169 <!-- android:defaultValue="false" -->
170 <!-- android:title="SRTP RTP Fallback" -->
171 <!-- android:summaryOn="enabled" -->
172 <!-- android:summaryOff="disabled"/> -->
173 <!-- <CheckBoxPreference -->
174 <!-- android:id="@+id/account_creation_srtp_hello_hash" -->
175 <!-- android:key="ZRTP.helloHashEnable" -->
176 <!-- android:persistent="false" -->
177 <!-- android:defaultValue="disabled" -->
178 <!-- android:title="ZRTP Hello Hash" -->
179 <!-- android:summaryOn="enabled" -->
180 <!-- android:summaryOff="disabled"/> -->
181 <!-- <CheckBoxPreference -->
182 <!-- android:id="@+id/account_creation_srtp_display_sas" -->
183 <!-- android:key="ZRTP.displaySAS" -->
184 <!-- android:persistent="false" -->
185 <!-- android:defaultValue="false" -->
186 <!-- android:title="ZRTP Display SAS" -->
187 <!-- android:summaryOn="enabled" -->
188 <!-- android:summaryOff="disabled"/> -->
189 <!-- <CheckBoxPreference -->
190 <!-- android:id="@+id/account_creation_srtp_supported_warning" -->
191 <!-- android:key="ZRTP.notSuppWarning" -->
192 <!-- android:persistent="false" -->
193 <!-- android:defaultValue="false" -->
194 <!-- android:title="ZRTP Not Supported Warning" -->
195 <!-- android:summaryOn="enabled" -->
196 <!-- android:summaryOff="disabled"/> -->
197 <!-- <CheckBoxPreference -->
198 <!-- android:id="@+id/account_creation_srtp_displaysas_once" -->
199 <!-- android:key="ZRTP.displaySasOnce" -->
200 <!-- android:persistent="false" -->
201 <!-- android:defaultValue="false" -->
202 <!-- android:title="ZRTP Display SAS Once" -->
203 <!-- android:summaryOn="enabled" -->
204 <!-- android:summaryOff="disabled"/> -->
Alexandre Lisionc48c36a2013-11-12 16:26:10 -0500205
206
Alexandre Lision451f2a82013-11-12 12:55:55 -0500207 <!-- </PreferenceCategory> -->
208 <!-- <PreferenceCategory -->
209 <!-- android:id="@+id/account_tls_category" -->
210 <!-- android:title="TLS settings"> -->
211 <!-- <CheckBoxPreference -->
212 <!-- android:id="@+id/account_creation_tls_enable" -->
213 <!-- android:key="TLS.enable" -->
214 <!-- android:persistent="false" -->
215 <!-- android:defaultValue="false" -->
216 <!-- android:title="TLS Enabled" -->
217 <!-- android:summaryOn="enabled" -->
218 <!-- android:summaryOff="disabled"/> -->
219 <!-- <EditTextPreference -->
220 <!-- android:id="@+id/account_creation_tls_listener_port" -->
221 <!-- android:key="TLS.listenerPort" -->
222 <!-- android:persistent="false" -->
223 <!-- android:defaultValue="5061" -->
224 <!-- android:title="Listener Port" -->
225 <!-- android:summary="5061"/> -->
226 <!-- <EditTextPreference -->
227 <!-- android:id="@+id/account_creation_tls_certificate_list_file" -->
228 <!-- android:key="TLS.certificateListFile" -->
229 <!-- android:persistent="false" -->
230 <!-- android:defaultValue="" -->
231 <!-- android:title="TLS Certificate List File" -->
232 <!-- android:summary=""/> -->
233 <!-- <EditTextPreference -->
234 <!-- android:id="@+id/account_creation_tls_certificate_file" -->
235 <!-- android:key="TLS.certificateFile" -->
236 <!-- android:persistent="false" -->
237 <!-- android:defaultValue="" -->
238 <!-- android:title="TLS Certificate File" -->
239 <!-- android:summary=""/> -->
240 <!-- <EditTextPreference -->
241 <!-- android:id="@+id/account_creation_tls_private_key_file" -->
242 <!-- android:key="TLS.privateKeyFile" -->
243 <!-- android:persistent="false" -->
244 <!-- android:defaultValue="disabled" -->
245 <!-- android:title="TLS Private Key File" -->
246 <!-- android:summary="disabled"/> -->
247 <!-- <EditTextPreference -->
248 <!-- android:id="@+id/account_creation_tls_password" -->
249 <!-- android:key="TLS.password" -->
250 <!-- android:persistent="false" -->
251 <!-- android:defaultValue="" -->
252 <!-- android:title="TLS Password" -->
253 <!-- android:summary=""/> -->
254 <!-- <EditTextPreference -->
255 <!-- android:id="@+id/account_creation_tls_method" -->
256 <!-- android:key="TLS.method" -->
257 <!-- android:persistent="false" -->
258 <!-- android:defaultValue="" -->
259 <!-- android:title="TLS Method" -->
260 <!-- android:summary=""/> -->
261 <!-- <EditTextPreference -->
262 <!-- android:id="@+id/account_creation_tls_ciphers" -->
263 <!-- android:key="TLS.ciphers" -->
264 <!-- android:persistent="false" -->
265 <!-- android:defaultValue="" -->
266 <!-- android:title="TLS Ciphers" -->
267 <!-- android:summary=""/> -->
268 <!-- <EditTextPreference -->
269 <!-- android:id="@+id/account_creation_tls_server_name" -->
270 <!-- android:key="TLS.serverName" -->
271 <!-- android:persistent="false" -->
272 <!-- android:defaultValue="" -->
273 <!-- android:title="TLS Server Name" -->
274 <!-- android:summary=""/> -->
275 <!-- <CheckBoxPreference -->
276 <!-- android:id="@+id/account_creation_tls_verify_server" -->
277 <!-- android:key="TLS.verifyServer" -->
278 <!-- android:persistent="false" -->
279 <!-- android:defaultValue="false" -->
280 <!-- android:title="TLS Verify Server" -->
281 <!-- android:summaryOn="enabled" -->
282 <!-- android:summaryOff="disabled"/> -->
283 <!-- <CheckBoxPreference -->
284 <!-- android:id="@+id/account_creation_tls_verify_client" -->
285 <!-- android:key="TLS.verifyClient" -->
286 <!-- android:persistent="false" -->
287 <!-- android:defaultValue="false" -->
288 <!-- android:title="TLS Verify Client" -->
289 <!-- android:summaryOn="enabled" -->
290 <!-- android:summaryOff="disabled"/> -->
291 <!-- <CheckBoxPreference -->
292 <!-- android:id="@+id/account_creation_tls_require_client_cert" -->
293 <!-- android:key="TLS.requireClientCertificate" -->
294 <!-- android:persistent="false" -->
295 <!-- android:defaultValue="false" -->
296 <!-- android:title="TLS Require Client Certificate" -->
297 <!-- android:summaryOn="enabled" -->
298 <!-- android:summaryOff="disabled"/> -->
299 <!-- <EditTextPreference -->
300 <!-- android:id="@+id/account_creation_tls_timeout_sec" -->
301 <!-- android:key="TLS.negotiationTimeoutSec" -->
302 <!-- android:persistent="false" -->
303 <!-- android:defaultValue="60" -->
304 <!-- android:title="TLS Timeout Sec" -->
305 <!-- android:summary="60"/> -->
306 <!-- <EditTextPreference -->
307 <!-- android:id="@+id/account_creation_tls_timeout_msec" -->
308 <!-- android:key="TLS.negotiationTimeoutMsec" -->
309 <!-- android:persistent="false" -->
310 <!-- android:defaultValue="0" -->
311 <!-- android:title="TLS Timeout Msec" -->
312 <!-- android:summary="0"/> -->
313 <!-- </PreferenceCategory> -->
314
315</PreferenceScreen>