This repository has been archived by the owner on Jan 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsip.conf
executable file
·99 lines (91 loc) · 3.18 KB
/
sip.conf
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
[general]
context=internal ; Default context for incoming calls. Defaults to 'default'
allowguest=no ; Allow or reject guest calls (default is yes)
;allowoverlap=no ; Disable overlap dialing support. (Default is yes)
allowoverlap=yes ; Enable RFC3578 overlap dialing support.
allowoverlap=dtmf ; Enable overlap dialing support using DTMF delivery
udpbindaddr=0.0.0.0 ; IP address to bind UDP listen socket to (0.0.0.0 binds to all)
tcpenable=no ; Enable server for incoming TCP connections (default is no)
tcpbindaddr=0.0.0.0 ; IP address for TCP server to bind to (0.0.0.0 binds to all interfaces)
transport=udp ; Set the default transports. The order determines the primary default transport. ; If tcpenable=no and the transport set is tcp, we will fallback to UDP.
srvlookup=yes ; Enable DNS SRV lookups on outbound calls
disallow=all ; First disallow all codecs
allow=ulaw ; Allow codecs in order of preference
videosupport=yes ; Turn on support for SIP video. You need to turn this
[authentication]
qualify=yes
[basic-options](!) ; a template
dtmfmode=rfc2833
context=internal
type=friend
videosupport=yes
host=dynamic
nat=force_rport,comedia
[my-codecs](!) ; a template for my preferred codecs
disallow=all
allow=ulaw
allow=g723
allow=ilbc
allow=g729
allow=gsm
allow=vp8
allow=h264
; Or, more simply:
;allow=!all,ilbc,g729,gsm,g723,ulaw
[ulaw-phone](!)
disallow=all
allow=ulaw
; Again, more simply:
;allow=!all,ulaw
; LASPI SIPs
[666](basic-options,my-codecs)
callerid="Deamon"
secret = peekaboo
[200](basic-options,my-codecs)
callerid = "Ana"
secret = ana
[201](basic-options,my-codecs)
callerid = "Porta"
secret = porta
[202](basic-options,my-codecs)
callerid="Aldecy"
secret = aldecy
[203](basic-options,my-codecs)
callerid="Flora"
secret = flora
[204](basic-options,my-codecs)
callerid="Raphael"
secret = raphael
[205](basic-options,my-codecs)
callerid="Victor Esteves"
secret = victoresteves
[206](basic-options,my-codecs)
callerid="Reunião"
secret = reuniao
[207](basic-options,my-codecs)
callerid="Desenvolvimento"
secret = desenvolvimento
[208](basic-options,my-codecs)
callerid="Luciano"
secret = luciano
[209](basic-options,my-codecs)
callerid="Case"
secret = case
[210](basic-options,my-codecs)
callerid="Filipe"
secret = filipe
[211](basic-options,my-codecs)
callerid="Michel"
secret = michel
[212](basic-options,my-codecs)
callerid="Victor Ferraz"
secret = victorferraz
[213](basic-options,my-codecs)
callerid="João Victor"
secret = joaovictor
[214](basic-options,my-codecs)
callerid="Natã"
secret = nata
[216](basic-options,my-codecs)
callerid="Maurício"
secret = mauricio