-
Notifications
You must be signed in to change notification settings - Fork 19
/
conf.example.yml
46 lines (46 loc) · 1.52 KB
/
conf.example.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
log_level: trace
ami:
host: localhost
user: admin
pass: admin
# port: 5038
dialplan:
incoming_context:
- from-pstn
outgoing_context:
- macro-dialout-trunk
ext_context:
- macro-dial-one
- macro-dial
dial_context: from-internal
# pbx:
# dids:
# - '561600'
# - '561610'
# - '561620'
# cid_format:
# - {expr: "^\\d{9}$", repl: "+998$0"}
# - {expr: "^\\d{7}$", repl: "+99878$0"}
# dial_format:
# - {expr: "^(\\+|)998(\\d{9})$", repl: "$2"}
# bitrix24:
# default_user: 1
# webhook_url: https://mycrm.bitrix24.eu/rest/1/mytoken/
# webhook_originate_token: my_originate_token
# webhook_endpoint_addr: "0.0.0.0:5678"
# # rec_upload: "http://mypbx.example.org/recfiles/"
# # create_leads: true
# # search_format:
# # - {expr: ".*", repl: "$0"}
# # - {expr: "^\\+(\\d{5})(\\d{7})$", repl: "+$1 $2"} # +XXXXX XXXXXXX
# # - {expr: "^\\+(\\d{5})(\\d{3})(\\d{2})(\\d{2})$", repl: "+$1 $2 $3 $4"} # +XXXXX XXX XX XXX
# # - {expr: "^\\+(\\d{5})(\\d{3})(\\d{2})(\\d{2})$", repl: "+$1 $2-$3-$4"} # +XXXXX XXX-XX-XXX
# # - {expr: "^\\+(\\d{5})(\\d{3})(\\d{2})(\\d{2})$", repl: "$1 $2-$3-$4"} # XXXXX XXX XX XX
# # - {expr: "^\\+(\\d{5})(\\d{3})(\\d{2})(\\d{2})$", repl: "$2 $3 $4"} # XXX XX XX
# # - {expr: "^\\+(\\d{5})(\\d{3})(\\d{2})(\\d{2})$", repl: "$2-$3-$4"} # XXX-XX-XX
# # - {expr: "^\\+(\\d{5})(\\d{3})(\\d{2})(\\d{2})$", repl: "(+$1) $2-$3-$4"} # (+XXXXX) XXX-XX-XX
# suitecrm:
# url: http://localhost/suitecrm/
# endpoint_token: my_endpoint_token
# endpoint_addr: "0.0.0.0:5678"