blob: faf857538983822b78c49f5c0f31a65af6e4206e (
plain) (
blame)
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
;===============TRANSPORT
[simpletrans]
type=transport
protocol=udp
bind=0.0.0.0
local_net=192.168.4.0/24
local_net=192.168.5.0/24
local_net=192.168.6.0/24
local_net=192.168.9.0/24
external_media_address=2.59.235.35
external_signaling_address=2.59.235.35
;===============ENDPOINT TEMPLATES
[endpoint-basic](!)
type=endpoint
context=from-internal
message_context=send-text
disallow=all
;allow=g722
allow=ulaw
;allow=alaw
;allow=opus
;allow=all
[auth-userpass](!)
type=auth
auth_type=userpass
[aor-single-reg](!)
type=aor
max_contacts=1
;===============ATA site A port 1
[1001](endpoint-basic)
auth=auth1001
aors=1001
acl=internal
[auth1001](auth-userpass)
password=REDACTED
username=1001
[1001](aor-single-reg)
;===============ATA site A port 2
[1002](endpoint-basic)
auth=auth1002
aors=1002
acl=internal
[auth1002](auth-userpass)
password=REDACTED
username=1002
[1002](aor-single-reg)
;===============ATA site B port 1
[1011](endpoint-basic)
auth=auth1011
aors=1011
acl=internal
[auth1011](auth-userpass)
password=REDACTED
username=1011
[1011](aor-single-reg)
;===============ATA site B port 2
[1012](endpoint-basic)
auth=auth1012
aors=1012
acl=internal
[auth1012](auth-userpass)
password=REDACTED
username=1012
[1012](aor-single-reg)
;===============soft phone 1
[1021](endpoint-basic)
auth=auth1021
aors=1021
acl=internal
[auth1021](auth-userpass)
password=REDACTED
username=1021
[1021](aor-single-reg)
;===============soft phone 2
[1022](endpoint-basic)
auth=auth1022
aors=1022
acl=internal
[auth1022](auth-userpass)
password=REDACTED
username=1022
[1022](aor-single-reg)
;===============remote phone 1
[1031](endpoint-basic)
auth=auth1031
aors=1031
rtp_symmetric=yes
force_rport=yes
direct_media=no
rewrite_contact=yes
acl=internal ; these are currently disabled for external registration so they arent really remote
[auth1031](auth-userpass)
password=REDACTED
username=1031
[1031](aor-single-reg)
;===============remote phone 2
[1032](endpoint-basic)
auth=auth1032
aors=1032
rtp_symmetric=yes
force_rport=yes
direct_media=no
rewrite_contact=yes
acl=internal
[auth1032](auth-userpass)
password=REDACTED
username=1032
[1032](aor-single-reg)
;===============Cisco 3911 SIP phone 1
[1051](endpoint-basic)
auth=auth1051
aors=1051
rtp_symmetric=yes
force_rport=yes
direct_media=no
rewrite_contact=yes
;acl=internal
[auth1051](auth-userpass)
password=REDACTED
username=1051
[1051](aor-single-reg)
; ============= anonymous inbound calls
[anonymous]
type=endpoint
context=from-anonymous
;disallow=all
;allow=speex,g726,g722,ilbc,gsm,alaw,ulaw
allow=all
acl=external
;=============== SDF TRUNK
[sdf]
type=registration
outbound_auth=sdf
server_uri=sip:sip.sdf.org
client_uri=sip:2063@sip.sdf.org
retry_interval=120
forbidden_retry_interval=180
auth_rejection_permanent=no
max_retries=3
contact_user=2063
expiration=1200
[sdf]
type=auth
auth_type=userpass
username=2063
password=REDACTED
[sdf]
type=aor
contact=sip:sip.sdf.org:5060
qualify_frequency=58
[sdf]
type=endpoint
context=from-sdf
disallow=all
allow=ulaw
allow=g729
allow=alaw
allow=opus
;allow=all
outbound_auth=sdf
aors=sdf
;rtp_symmetric=yes
;force_rport=yes
direct_media=no
;rewrite_contact=yes
acl=sdf
[sdf]
type=identify
endpoint=sdf
match=sip.sdf.org
;=============== AVANZA PSTN TRUNK
[pstn]
type=registration
outbound_auth=pstn
server_uri=sip:sip.avanzafibra.net
client_uri=sip:mta69987-1@sip.avanzafibra.net
retry_interval=120
forbidden_retry_interval=180
auth_rejection_permanent=no
max_retries=3
contact_user=868925554
expiration=1200
[pstn]
type=auth
auth_type=userpass
username=mta69987-1
password=REDACTED
[pstn]
type=aor
contact=sip:sip.avanzafibra.net:5060
qualify_frequency=58
[pstn]
type=endpoint
transport=simpletrans
context=from-pstn
disallow=all
allow=ulaw
allow=g729
allow=alaw
allow=opus
;allow=all
outbound_auth=pstn
aors=pstn
;rtp_symmetric=yes
;force_rport=yes
direct_media=no
;rewrite_contact=yes
acl=pstn
[pstn]
type=identify
endpoint=pstn
match=sip.avanzafibra.net
|