~singpolyma/asterisk

ref: upstream/16.2.1_dfsg asterisk/contrib/systemd/asterisk.socket -rw-r--r-- 421 bytes
fe6d69c0Stephen Paul Weber import-tar 9 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[Unit]
Description=Asterisk Sockets

[Socket]
FreeBind=true
SocketUser=asterisk
SocketGroup=asterisk
SocketMode=0660

# CLI
ListenStream=/var/run/asterisk/asterisk.ctl
# AMI
ListenStream=0.0.0.0:5038
# AMIS
ListenStream=0.0.0.0:5039
# HTTP
ListenStream=127.0.0.1:8088
# HTTPS
ListenStream=127.0.0.1:8089
# chan_sip TCP
ListenStream=0.0.0.0:5060
# chan_sip TLS
ListenStream=0.0.0.0:5061

[Install]
WantedBy=sockets.target