forked from tobiw/voip-hpc
-
Notifications
You must be signed in to change notification settings - Fork 3
/
conf.py
45 lines (44 loc) · 1.04 KB
/
conf.py
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
sip = {
"udp": {
"port": "5060"
},
"tcp": {
"port": "5060"
},
"tls": {
"port": "5061"
},
"users": "sipaccounts.sqlite",
"rtp": {
"enable": "yes",
"bistream": "dump as bistream",
"mode": ["bistream", "pcap"],
"pcap": {
"path": "var/dionaea/rtp/{personality}/%Y-%m-%d/",
"filename": "%H:%M:%S_{remote_host}_{remote_port}_in.pcap"
}
},
"personalities": {
"default": {
"domain": "my-domain",
"name": "my server",
"personality": "generic",
"serve": ["192.168.1.2"],
"default_sdp": "default",
"handle": ["REGISTER", "INVITE", "BYE", "CANCEL", "ACK", "OPTIONS"]
},
},
"actions": {
"bank-redirect": {
"do": "redirect",
"params": {
}
},
"play-hello": {
"do": "play",
"params": {
"file": "var/dionaea/.../file.ext"
}
}
}
}