-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathastercti.ini.default
52 lines (40 loc) · 1.38 KB
/
astercti.ini.default
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
47
48
49
50
51
52
[dialplan]
context=rinet
channel=SIP/<username>
exten=<your number>
[server]
address=<asterisk server>
username=<ami username>
password=<ami password>
[lookup]
# Lookup can be made by command or by URL
# Output of lookup will be displayed in notification. %s is replaced with Caller ID.
;lookup_cmd=~/scripts/lookup %s
;lookup_url=http://example.com/lookup?callerid=%s
# Path to field to extract from JSON looked up, used as caller name:
;caller_name_field=clients/0/name
# set to 1 to disable SSL host checking:
;curl_insecure=0
# Lookup only long numbers:
number_min_length=7
# Lookup only numbers matching regex:
;number_match_regex=^[0-9]{3,}$
# Search clients web page url. %s replaced with Caller ID.
;search_url=https://example.com/searchcaller?phone=%s
replace_number_prefix=/810/+/,/+7/8/,/83832/2/,/83833/3/
[hooks]
;exec_ondialin=process_call.sh --email="%s"
# templates can have macros like ${name}, they are taken out of JSON returned by lookup_cmd
[templates]
client_url=https://example.com/clients.cgi?cmd=2&CT=${clienttype}&NClient=${id}
client_info=<a href="${url}">${name}</a>${services}
client_preservices=<ul>
client_service=<li>${service}</li>
client_postservices=</ul>
[gui]
# Timeout in ms to hide notification after pickup.
# -1: do not hide
pickup_notify_hide_timeout=3000
max_calls_saved=1000
;debugreport_url=http://example.com/debugreport/
;call_list_time_format=%a %d %b %H:%M