blob: 41791acc53992b6e7603fbe90f79d79ca72e530e [file] [log] [blame]
Alexandre Savard3bbb4792012-10-05 11:30:01 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3Copyright (C) 2004-2012 Savoir-Faire Linux Inc.
4
5Author: Alexandre Savard <alexandre.savard@gmail.com>
6
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.
31 -->
32<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
Alexandre Savard6afe75f2012-10-05 18:15:29 -040033 <PreferenceCategory
34 android:id="@+id/account_basic_category"
35 android:title="Basic settings">
Alexandre Savardafc10272012-10-16 14:13:07 -040036 <CheckBoxPreference
37 android:id="@+id/account_creation_enable"
38 android:key="Account.enable"
39 android:persistent="false"
40 android:defaultValue="true"
41 android:title="Account enabled"
42 android:summaryOn="Current value:: enabled"
43 android:summaryOff="Current value:: disabled"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -040044 <EditTextPreference
45 android:id="@+id/account_creation_type"
46 android:key="Account.type"
47 android:persistent="false"
48 android:defaultValue="SIP"
49 android:title="Type"
Alexandre Savardf7f9e0b2012-10-15 17:24:07 -040050 android:summary="Current value:: SIP"/>
Alexandre Savard3bbb4792012-10-05 11:30:01 -040051 <EditTextPreference
52 android:id="@+id/account_creation_alias"
Alexandre Savard6afe75f2012-10-05 18:15:29 -040053 android:key="Account.alias"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040054 android:persistent="false"
55 android:defaultValue=""
56 android:title="Alias"
57 android:summary="Current value:: "/>
Alexandre Savard3bbb4792012-10-05 11:30:01 -040058 <EditTextPreference
59 android:id="@+id/account_creation_hostname"
Alexandre Savard6afe75f2012-10-05 18:15:29 -040060 android:key="Account.hostname"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040061 android:persistent="false"
62 android:defaultValue=""
63 android:title="Hostname"
64 android:summary="Current value:: "/>
65 <EditTextPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -040066 android:id="@+id/account_creation_username"
67 android:key="Account.username"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040068 android:persistent="false"
69 android:defaultValue=""
Alexandre Savard6afe75f2012-10-05 18:15:29 -040070 android:title="Username"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040071 android:summary="Current value:: "/>
72 <EditTextPreference
73 android:id="@+id/account_creation_routeset"
Alexandre Savard6afe75f2012-10-05 18:15:29 -040074 android:key="Account.routeset"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040075 android:persistent="false"
76 android:defaultValue=""
77 android:title="Route Set"
78 android:summary="Current value:: "/>
79 <EditTextPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -040080 android:id="@+id/account_creation_password"
81 android:key="Account.password"
82 android:persistent="false"
83 android:defaultValue=""
84 android:title="Password"
85 android:summary="Current value:: "/>
86 <EditTextPreference
Alexandre Savard3bbb4792012-10-05 11:30:01 -040087 android:id="@+id/account_creation_realm"
Alexandre Savard6afe75f2012-10-05 18:15:29 -040088 android:key="Account.realm"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040089 android:persistent="false"
90 android:defaultValue="*"
91 android:title="Realm"
92 android:summary="Current value:: *"/>
93 <EditTextPreference
94 android:id="@+id/account_creation_useragent"
Alexandre Savard6afe75f2012-10-05 18:15:29 -040095 android:key="Account.useragent"
Alexandre Savard3bbb4792012-10-05 11:30:01 -040096 android:persistent="false"
97 android:defaultValue="SFLPhone"
98 android:title="User Agent"
99 android:summary="Current value:: SFLPhone"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400100 </PreferenceCategory>
101 <PreferenceCategory
102 android:id="@+id/account_advanced_category"
103 android:title="Advanced settings">
104 <EditTextPreference
105 android:id="@+id/account_creation_registration_expire"
106 android:key="Account.registrationExpire"
107 android:persistent="false"
108 android:defaultValue="60"
109 android:title="Registration Expire"
110 android:summary="Current value:: 60"/>
Alexandre Savard20d0de02012-10-16 14:05:44 -0400111 <CheckBoxPreference
Alexandre Savard3bbb4792012-10-05 11:30:01 -0400112 android:id="@+id/account_creation_autoanswer"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400113 android:key="Account.autoAnswer"
Alexandre Savard3bbb4792012-10-05 11:30:01 -0400114 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400115 android:defaultValue="false"
Alexandre Savard3bbb4792012-10-05 11:30:01 -0400116 android:title="Auto Answer"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400117 android:summaryOn="Current value:: enabled"
118 android:summaryOff="Current value:: disabled"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400119 <EditTextPreference
120 android:id="@+id/account_creation_registration_status"
121 android:key="Account.registrationStatus"
122 android:persistent="false"
123 android:defaultValue=""
124 android:title="Registration Status"
125 android:summary="Current value:: "/>
126 <EditTextPreference
127 android:id="@+id/account_creation_registration_state_code"
128 android:key="Account.registrationCode"
129 android:persistent="false"
130 android:defaultValue=""
131 android:title="Registration Code"
132 android:summary="Current value:: "/>
133 <EditTextPreference
134 android:id="@+id/account_creation_registration_state_desc"
135 android:key="Account.registrationDescription"
136 android:persistent="false"
137 android:defaultValue=""
138 android:title="Registration Desciption"
139 android:summary="Current value:: "/>
140 <EditTextPreference
141 android:id="@+id/account_creation_credential_number"
142 android:key="Credential.count"
143 android:persistent="false"
144 android:defaultValue="0"
145 android:title="Credential Number"
146 android:summary="Current value:: 0"/>
147 <EditTextPreference
148 android:id="@+id/account_creation_dtmf_type"
149 android:key="Account.dtmfType"
150 android:persistent="false"
151 android:defaultValue="SIP"
152 android:title="DTMF Type"
153 android:summary="Current value:: SIP"/>
154 <EditTextPreference
155 android:id="@+id/account_creation_ringtone_path"
156 android:key="Account.ringtonePath"
157 android:persistent="false"
158 android:defaultValue=""
159 android:title="Ringtone Path"
160 android:summary="Current value:: "/>
Alexandre Savard20d0de02012-10-16 14:05:44 -0400161 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400162 android:id="@+id/account_creation_ringtone_enabled"
163 android:key="Account.ringtoneEnabled"
164 android:persistent="false"
Alexandre Savardafc10272012-10-16 14:13:07 -0400165 android:defaultValue="true"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400166 android:title="Ringtone Enabled"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400167 android:summaryOn="Current value:: enabled"
168 android:summaryOff="Current value:: disabled"/>
169 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400170 android:id="@+id/account_creation_keep_alive"
171 android:key="Account.keepAliveEnabled"
172 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400173 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400174 android:title="Keep Alive"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400175 android:summaryOn="Current value:: enabled"
176 android:summaryOff="Current value:: disabled"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400177 <EditTextPreference
178 android:id="@+id/account_creation_local_interface"
179 android:key="Account.localInterface"
180 android:persistent="false"
181 android:defaultValue="eth0"
182 android:title="Local Interface"
183 android:summary="Current value:: eth0"/>
184 <EditTextPreference
185 android:id="@+id/account_creation_interface"
186 android:key="Account.interface"
187 android:persistent="false"
188 android:defaultValue="eht0"
189 android:title="Interface"
190 android:summary="Current value:: eth0"/>
Alexandre Savard20d0de02012-10-16 14:05:44 -0400191 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400192 android:id="@+id/account_creation_published_sameas_local"
193 android:key="Account.publishedSameAsLocal"
194 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400195 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400196 android:title="Published same as local"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400197 android:summaryOn="Current value:: yes"
198 android:summaryOff="Current value:: no"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400199 <EditTextPreference
200 android:id="@+id/account_creation_local_port"
201 android:key="Account.localPort"
202 android:persistent="false"
203 android:defaultValue="5060"
204 android:title="Local Port"
205 android:summary="Current value:: 5060"/>
206 <EditTextPreference
207 android:id="@+id/account_creation_published_port"
208 android:key="Account.publishedPort"
209 android:persistent="false"
210 android:defaultValue="5060"
211 android:title="Published Port"
212 android:summary="Current value:: 5060"/>
213 <EditTextPreference
214 android:id="@+id/account_creation_published_address"
215 android:key="Account.publishedAddress"
216 android:persistent="false"
217 android:defaultValue="0.0.0.0"
218 android:title="Published Address"
219 android:summary="Current value:: 0.0.0.0"/>
220 <EditTextPreference
221 android:id="@+id/account_creation_display_name"
222 android:key="Account.displayName"
223 android:persistent="false"
224 android:defaultValue="SFLPhone"
225 android:title="Display Name"
Alexandre Savardf7f9e0b2012-10-15 17:24:07 -0400226 android:summary="Current value:: SFLPhone"/>
Alexandre Savard20d0de02012-10-16 14:05:44 -0400227 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400228 android:id="@+id/account_creation_stun_enable"
229 android:key="STUN.enable"
230 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400231 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400232 android:title="Stun Enabled"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400233 android:summaryOn="Current value:: enabled"
234 android:summaryOff="Current value:: disabled"/>
Alexandre Savardafc10272012-10-16 14:13:07 -0400235 <EditTextPreference
236 android:id="@+id/account_creation_stun_server"
237 android:key="STUN.server"
238 android:persistent="false"
239 android:defaultValue=""
240 android:title="Stun Server"
241 android:summary="Current value:: "/>
Alexandre Savardf7f9e0b2012-10-15 17:24:07 -0400242 </PreferenceCategory>
243 <PreferenceCategory
244 android:id="@+id/account_srtp_category"
245 android:title="SRTP settings">
Alexandre Savard20d0de02012-10-16 14:05:44 -0400246 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400247 android:id="@+id/account_creation_srtp_enable"
248 android:key="SRTP.enable"
249 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400250 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400251 android:title="SRTP Enabled"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400252 android:summaryOn="Current value:: enabled"
253 android:summaryOff="Current value:: disabled"/>
254 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400255 android:id="@+id/account_creation_srtp_key_exchange"
256 android:key="SRTP.keyExchange"
257 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400258 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400259 android:title="SRTP Key Exchange"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400260 android:summaryOn="Current value:: enabled"
261 android:summaryOff="Current value:: disabled"/>
262 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400263 android:id="@+id/account_creation_srtp_encryp_algo"
264 android:key="SRTP.encryptionAlgorithm"
265 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400266 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400267 android:title="SRTP Encrypt Algo"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400268 android:summaryOn="Current value:: enabled"
269 android:summaryOff="Current value:: disabled"/>
270 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400271 android:id="@+id/account_creation_srtp_rtp_fallback"
272 android:key="SRTP.rtpFallback"
273 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400274 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400275 android:title="SRTP RTP Fallback"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400276 android:summaryOn="Current value:: enabled"
277 android:summaryOff="Current value:: disabled"/>
278 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400279 android:id="@+id/account_creation_srtp_hello_hash"
280 android:key="ZRTP.helloHashEnable"
281 android:persistent="false"
282 android:defaultValue="disabled"
283 android:title="ZRTP Hello Hash"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400284 android:summaryOn="Current value:: enabled"
285 android:summaryOff="Current value:: disabled"/>
286 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400287 android:id="@+id/account_creation_srtp_display_sas"
288 android:key="ZRTP.displaySAS"
289 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400290 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400291 android:title="ZRTP Display SAS"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400292 android:summaryOn="Current value:: enabled"
293 android:summaryOff="Current value:: disabled"/>
294 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400295 android:id="@+id/account_creation_srtp_supported_warning"
296 android:key="ZRTP.notSuppWarning"
297 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400298 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400299 android:title="ZRTP Not Supported Warning"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400300 android:summaryOn="Current value:: enabled"
301 android:summaryOff="Current value:: disabled"/>
302 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400303 android:id="@+id/account_creation_srtp_displaysas_once"
304 android:key="ZRTP.displaySasOnce"
305 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400306 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400307 android:title="ZRTP Display SAS Once"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400308 android:summaryOn="Current value:: enabled"
309 android:summaryOff="Current value:: disabled"/>
Alexandre Savardf7f9e0b2012-10-15 17:24:07 -0400310 </PreferenceCategory>
311 <PreferenceCategory
312 android:id="@+id/account_tls_category"
313 android:title="TLS settings">
Alexandre Savard20d0de02012-10-16 14:05:44 -0400314 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400315 android:id="@+id/account_creation_tls_enable"
316 android:key="TLS.enable"
317 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400318 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400319 android:title="TLS Enabled"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400320 android:summaryOn="Current value:: enabled"
321 android:summaryOff="Current value:: disabled"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400322 <EditTextPreference
Alexandre Savardafc10272012-10-16 14:13:07 -0400323 android:id="@+id/account_creation_tls_listener_port"
324 android:key="TLS.listenerPort"
325 android:persistent="false"
326 android:defaultValue="5061"
327 android:title="Listener Port"
328 android:summary="Current value:: 5061"/>
329 <EditTextPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400330 android:id="@+id/account_creation_tls_certificate_list_file"
331 android:key="TLS.certificateListFile"
332 android:persistent="false"
333 android:defaultValue=""
334 android:title="TLS Certificate List File"
335 android:summary="Current value:: "/>
336 <EditTextPreference
337 android:id="@+id/account_creation_tls_certificate_file"
338 android:key="TLS.certificateFile"
339 android:persistent="false"
340 android:defaultValue=""
341 android:title="TLS Certificate File"
342 android:summary="Current value:: "/>
343 <EditTextPreference
344 android:id="@+id/account_creation_tls_private_key_file"
345 android:key="TLS.privateKeyFile"
346 android:persistent="false"
347 android:defaultValue="disabled"
348 android:title="TLS Private Key File"
349 android:summary="Current value:: disabled"/>
350 <EditTextPreference
351 android:id="@+id/account_creation_tls_password"
352 android:key="TLS.password"
353 android:persistent="false"
354 android:defaultValue=""
355 android:title="TLS Password"
356 android:summary="Current value:: "/>
357 <EditTextPreference
358 android:id="@+id/account_creation_tls_method"
359 android:key="TLS.method"
360 android:persistent="false"
361 android:defaultValue=""
362 android:title="TLS Method"
363 android:summary="Current value:: "/>
364 <EditTextPreference
365 android:id="@+id/account_creation_tls_ciphers"
366 android:key="TLS.ciphers"
367 android:persistent="false"
368 android:defaultValue=""
369 android:title="TLS Ciphers"
370 android:summary="Current value:: "/>
371 <EditTextPreference
372 android:id="@+id/account_creation_tls_server_name"
373 android:key="TLS.serverName"
374 android:persistent="false"
375 android:defaultValue=""
376 android:title="TLS Server Name"
377 android:summary="Current value:: "/>
Alexandre Savard20d0de02012-10-16 14:05:44 -0400378 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400379 android:id="@+id/account_creation_tls_verify_server"
380 android:key="TLS.verifyServer"
381 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400382 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400383 android:title="TLS Verify Server"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400384 android:summaryOn="Current value:: enabled"
385 android:summaryOff="Current value:: disabled"/>
386 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400387 android:id="@+id/account_creation_tls_verify_client"
388 android:key="TLS.verifyClient"
389 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400390 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400391 android:title="TLS Verify Client"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400392 android:summaryOn="Current value:: enabled"
393 android:summaryOff="Current value:: disabled"/>
394 <CheckBoxPreference
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400395 android:id="@+id/account_creation_tls_require_client_cert"
396 android:key="TLS.requireClientCertificate"
397 android:persistent="false"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400398 android:defaultValue="false"
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400399 android:title="TLS Require Client Certificate"
Alexandre Savard20d0de02012-10-16 14:05:44 -0400400 android:summaryOn="Current value:: enabled"
401 android:summaryOff="Current value:: disabled"/>
Alexandre Savard6afe75f2012-10-05 18:15:29 -0400402 <EditTextPreference
403 android:id="@+id/account_creation_tls_timeout_sec"
404 android:key="TLS.negotiationTimeoutSec"
405 android:persistent="false"
406 android:defaultValue="60"
407 android:title="TLS Timeout Sec"
408 android:summary="Current value:: 60"/>
409 <EditTextPreference
410 android:id="@+id/account_creation_tls_timeout_msec"
411 android:key="TLS.negotiationTimeoutMsec"
412 android:persistent="false"
413 android:defaultValue="0"
414 android:title="TLS Timeout Msec"
415 android:summary="Current value:: 0"/>
416 </PreferenceCategory>
Alexandre Savard3bbb4792012-10-05 11:30:01 -0400417</PreferenceScreen>