-
Notifications
You must be signed in to change notification settings - Fork 12
/
sip.conf.mustache
74 lines (53 loc) · 1.01 KB
/
sip.conf.mustache
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
; SIP Configuration
[general]
bindaddr=::
transport=tcp
tcpenable=yes
canreinvite=no
context=incoming
disallow=all
allow=gsm
allow=ulaw
allow=alaw
allow=h263
jbenable=yes
jbforce=yes
; this settings work well when the net is fucked up and laggy
;jbmaxsize=100
;jbresyncthreshold=500
; little less treshold
;jbmaxsize=50
;jbresyncthreshold=250
; this settings work well when the net is ok
jbmaxsize=25
jbresyncthreshold=200
; my own phone
[100]
type=peer
qualify=yes
secret=100
host=dynamic
context=friends
transport=udp
; my addresses
[basic-options](!)
type=peer
qualify=5000
qualifyfreq=10
context=incoming
encryption=yes
{{#addresses}}
[{{hostname}}](basic-options)
host={{ipv6}}
callerid="{{display_name}} <{{hostname}}>"
{{/addresses}}
; global addresses
[global-addresses](!)
type=peer
context=incoming
encryption=yes
{{#global_addresses}}
[global-{{phone}}](global-addresses)
host={{ipv6}}
callerid="[g] {{hostname}} <01{{phone}}>"
{{/global_addresses}}