-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathasterisk_reconnect-sample.cfg
31 lines (26 loc) · 1.42 KB
/
asterisk_reconnect-sample.cfg
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
27
28
29
30
31
# Interval Settings
[intervals]
check_interval = 60 ; How often to check clients are connected
reconnect_interval = 30 ; How often to retry if the AMI is disconnected
ping_interval = 30 ; How often to ping the AMI to keep the connection up
# AMI Settings
[ami]
host = 127.0.0.1 ; AMI Host
port = 5038 ; AMI Port
username = admin ; AMI Username
password = password ; AMI Password
# Logging Settings
[logger]
log_file = /tmp/asterisk_reconnect ; Path to log file
log_handlers = console-timed,file-timed-rotate ; Log handlers
log_level = DEBUG ; Log level
log_name = asterisk_reconnect ; Log Name
# Reconnect clients. You can enter as many as you like
[teamspeak]
context = sip-client ; Context to drop client into
extension = 47920 ; Extension to drop client into
uri = sip:[email protected]:5070 ; URI to dial
[audio-bridge]
context = sip-client ; Context to drop client into
extension = 1000 ; Extension to drop client into
uri = sip:[email protected]:5070 ; URI to dial