File tree Expand file tree Collapse file tree 3 files changed +105
-3
lines changed Expand file tree Collapse file tree 3 files changed +105
-3
lines changed Original file line number Diff line number Diff line change 21
21
recurse : yes
22
22
mode : 055
23
23
24
- - name : Copy Twinkle configuration over
24
+ - name : Copy Twinkle profile config over
25
25
template :
26
26
src : templates/conf/raspi.j2
27
27
dest : " {{ twinkle_settings.config_dir }}/raspi.cfg"
28
+
29
+ - name : Copy Twinkle global config
30
+ template :
31
+ src : templates/conf/twinkle.sys.j2
32
+ dest : /root/.twinkle/twinkle.sys
33
+
34
+ - name : create Twinkle service script
35
+ template :
36
+ src : templates/service/TwinkleService.j2
37
+ dest : " {{ service_settings.script_dir }}/TwinkleService.sh"
38
+ mode : a+x
39
+
40
+ - name : create Twinkle service configuration
41
+ template :
42
+ src : templates/service/twinkle.service.j2
43
+ dest : " {{ service_settings.service_dir }}/twinkle.service"
44
+
45
+ - name : enable the service to start on reboots
46
+ shell : systemctl enable twinkle
47
+
48
+ - name : Reload Systemctl
49
+ systemd :
50
+ daemon_reload : yes
51
+
52
+ - name : start the twinkle service
53
+ systemd :
54
+ state : started
55
+ name : twinkle
56
+
57
+
Original file line number Diff line number Diff line change
1
+ # AUDIO
2
+ dev_ringtone={{ sound_settings.output_device }}
3
+ dev_speaker={{ sound_settings.output_device }}
4
+ dev_mic={{ sound_settings.input_device }}
5
+ validate_audio_dev=no
6
+ alsa_play_period_size=128
7
+ alsa_capture_period_size=32
8
+ oss_fragment_size=128
9
+
10
+ # LOG
11
+ log_max_size=5
12
+ log_show_sip=yes
13
+ log_show_stun=yes
14
+ log_show_memory=yes
15
+ log_show_debug=no
16
+
17
+ # GUI
18
+ gui_use_systray=yes
19
+ gui_hide_on_close=yes
20
+ gui_auto_show_incoming=no
21
+ gui_auto_show_timeout=10
22
+ gui_browser_cmd=
23
+ gui_show_call_osd=yes
24
+
25
+ # Address book
26
+ ab_show_sip_only=no
27
+ ab_lookup_name=yes
28
+ ab_override_display=yes
29
+ ab_lookup_photo=yes
30
+
31
+ # Call history
32
+ ch_max_size=50
33
+
34
+ # Services
35
+ call_waiting=yes
36
+ hangup_both_3way=yes
37
+
38
+ # Startup
39
+ start_hidden=no
40
+
41
+ # Network
42
+ sip_port=5060
43
+ rtp_port=8000
44
+ sip_max_udp_size=65535
45
+ sip_max_tcp_size=1000000
46
+
47
+ # Ring tones
48
+ play_ringtone=yes
49
+ ringtone_file=
50
+ play_ringback=yes
51
+ ringback_file=
52
+
53
+ # MIME settings
54
+ mime_shared_database=/usr/share/mime/globs
55
+
56
+ # Persistent user interface state
57
+ last_used_profile=
58
+ redial_url=
59
+ redial_display=
60
+ redial_subject=
61
+ redial_profile=
62
+ redial_hide_user=no
63
+ show_display=yes
64
+ show_buddy_list=yes
65
+ warn_hide_user=yes
66
+
67
+ # UI session settings
68
+ ui_session_id=
69
+ ui_session_main_geometry=0,0,0,0
70
+ ui_session_main_hidden=no
71
+ ui_session_main_state=0
72
+
Original file line number Diff line number Diff line change 14
14
sound_settings :
15
15
sox_path : /usr/bin/sox
16
16
driver : alsa
17
- input_device : default
18
- output_device : default
17
+ input_device : alsa:plughw:2,0
18
+ output_device : alsa:plughw:1,0
19
19
modem_port : /dev/ttyUSB3
20
20
21
21
# Twinkle Script settings
You can’t perform that action at this time.
0 commit comments