blob: 87b8ed4a4856e99b7004d340ea79ab2470b669a6 (
plain) (
blame)
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
|
[general]
persistentmembers = yes
autofill = yes
monitor-type = MixMonitor
shared_lastcall = yes
log_membername_as_agent = yes
$(for queue in ${asterisk_queues:-}; do
eval "queue_strategy=\${asterisk_queue_${queue}_strategy}"
eval "queue_timeout=\${asterisk_queue_${queue}_timeout:-15}"
eval "queue_retry=\${asterisk_queue_${queue}_retry:-5}"
eval "queue_ringinuse=\${asterisk_queue_${queue}_ringinuse:-yes}"
eval "queue_members=\${asterisk_queue_${queue}_members}"
echo "\
[${queue}]
strategy = ${queue_strategy}
timeout = ${queue_timeout}
retry = ${queue_retry}
timeoutpriority = app
announce-frequency = 0
announce-holdtime = no
announce-position = no
periodic-announce-frequency = 0
joinempty = yes
leavewhenempty = no
ringinuse = ${queue_ringinuse}
timeoutrestart = yes"
for member in $queue_members; do
eval "member_name=\${asterisk_ext_${member}_cid_name}"
echo "member => PJSIP/${member},0,${member_name},PJSIP/${member}"
done; done)
|