-
Notifications
You must be signed in to change notification settings - Fork 16
/
chanpj.page.php
490 lines (480 loc) · 21.9 KB
/
chanpj.page.php
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
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
<?php
global $currentcomponent;
$sa = $this->getConfig('showadvanced');
$pjsip_identifers_order_default = [0=>'ip', 1=>'username', 2=>'anonymous', 3=>'header', 4=>'auth_username'];
$pjsip_identifers = $this->getConfig("pjsip_identifers_order");
if (is_array($pjsip_identifers) && !empty($pjsip_identifers)) {
$pjsip_identifers_order = $pjsip_identifers;
} else {
$pjsip_identifers_order = $pjsip_identifers_order_default;
}
$interfaces['auto'] = ['0.0.0.0', 'All', '0'];
if ($sa != "no") {
exec("/sbin/ip -o addr", $result, $ret);
$interfaces = $this->parseIpAddr($result, $interfaces);
}
$protocols = $this->getConfig("protocols");
$protohtml = $udphtml = $bindhtml = '';
foreach ($protocols as $p) {
$allBinds = $this->getConfig("binds");
$binds = !empty($allBinds[$p]) && is_array($allBinds[$p]) ? $allBinds[$p] : [];
$cbs = '';
$lastproto="";
foreach ($interfaces as $i) {
// Skip interfaces without an IP address.
if (empty($i))
continue;
// $i = array( "1.2.3.4", "eth1", "24");
if ($p == "udp") {
$priority = 2;
} else {
$priority = 3;
}
if ($i[0] === "0.0.0.0") {
$isall = "btn-all btn-proto-$p";
} else {
$isall = "btn-notall btn-proto-$p";
}
$thisTitle = "$p - {$i[0]} - {$i[1]}";
$thisID = $p."bindip-".$i[0];
if($lastproto != $p){
if($lastproto != ""){
$cbs .= '</div>';
}
$cbs .= '
<div class="section-title" data-for="pjs.'.$p.'"><h3>
<i class="fa fa-minus"></i> '.$p.'</h3>
</div>
<div class="section" data-id="pjs.'.$p.'">
';
}
$binds[$i[0]] ??= 'off';
$cbs .= '
<!--'.$thisTitle.'-->
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="'.$thisID.'">'. $thisTitle .'</label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="'.$thisID.'"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" class="'.$isall.'" data-proto="'.$p.'" name="'.$thisID.'" id="'.$thisID.'yes" value="on" '. ($binds[$i[0]] == "on"?"CHECKED":"") .'>
<label for="'.$thisID.'yes">'. _("Yes").'</label>
<input type="radio" class="'.$isall.'" data-proto="'.$p.'" name="'.$thisID.'" id="'.$thisID.'no" value="off" '.($binds[$i[0]] == "on"?"":"CHECKED") .'>
<label for="'.$thisID.'no">'. _("No").'</label>
</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="'.$thisID.'-help" class="help-block fpbx-help-block">'. _("Use "). $thisTitle .'</span>
</div>
</div>
</div>
<!--END '.$thisTitle.'-->
';
$lastproto = $p;
}
$cbs .= '</div>';
$protohtml .= $cbs;
// Now display a section for each one.
foreach ($binds as $ip => $stat) {
if ($stat != "on") {
continue;
}
// ws and wss are not configurable
if (str_starts_with((string) $p, "ws")) {
continue;
}
$vars = [$p."port-$ip" => [_("Port to Listen On"), _("The port that this transport should listen on"), "port", $ip], $p."domain-$ip" => [_("Domain the transport comes from"), _("Typically used with SIP calling. Example user@domain, where domain is the value that would be entered here"), "domain", $ip], $p."extip-$ip" => [_("External IP Address"), _("If blank, will use the default settings"), "extip", $ip], $p."extport-$ip" => [_("External Signaling Port"), _("External Signaling Port"), "extport", $ip], $p."localnet-$ip" => [_("Local network"), _("You may use this to to define an additional local network per interface."), "localnet", $ip]];
foreach ($vars as $v => $t) {
$thisID = str_replace(['.', '-'], '' , $v);
if (!empty($t[1])) {
$udphtml .= '
<!--'.$t[0].'-->
<div class="element-container">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="'.$thisID.'">'. $t[0] .'</label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="'.$thisID.'"></i>
</div>
<div class="col-md-9">
<input type="text" class="form-control '.$t[2].'" data-orig="'.$this->getConfig($v).'" data-ip="'.$t[3].'" id="'.$thisID.'" name="'.$v.'" value="'.$this->getConfig($v).'">
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="'.$thisID.'-help" class="help-block fpbx-help-block '.(empty($t[1])?'hidden':'').'">'.$t[1].'</span>
</div>
</div>
</div>
<!--END '.$t[0].'-->
';
} else {
$udphtml = '
<!--'.$t.'-->
<div class="element-container">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="'.$thisID.'">'. $t[0] .'</label>
</div>
<div class="col-md-9">
<input type="text" class="form-control '.$t[2].'" data-orig="'.$this->getConfig($v).'" data-ip="'.$t[3].'" id="'.$thisID.'" name="'.$v.'" value="'.$this->getConfig($v).'">
</div>
</div>
</div>
</div>
</div>
</div>
<!--END '.$t.'-->
';
}
}
$bindhtml .= '
<div class="section-title" data-for="pjsbind.'.$p.'"><h3>
<i class="fa fa-minus"></i> '.$ip.' ('.$p.')</h3>
</div>
<div class="section" data-id="pjsbind.'.$p.'">
'.$udphtml.'
</div>
';
$udphtml='';
}
}
?>
<input type="hidden" name="category" value="pjsip">
<input type="hidden" name="Submit" value="Submit">
<div class="alert alert-info"><?php echo _('These settings apply only to SIP [chan_pjsip]')?></div>
<div class="section-title" data-for="pjsmisc"><h3>
<i class="fa fa-minus"></i> <?php echo _("Misc PJSip Settings")?></h3>
</div>
<div class="section" data-id="pjsmisc">
<!--Allow reload-->
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="allow_reload"><?php echo _("Allow Transports Reload") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="allow_reload"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" name="allow_reload" id="allow_reloadyes" value="yes" <?php echo ( $this->getConfig("pjsip_allow_reload") == "yes"?"CHECKED":"") ?>>
<label for="allow_reloadyes"><?php echo _("Yes");?></label>
<input type="radio" name="allow_reload" id="allow_reloadno" value="no" <?php echo ( $this->getConfig("pjsip_allow_reload") == "yes"?"":"CHECKED") ?>>
<label for="allow_reloadno"><?php echo _("No");?></label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="allow_reload-help" class="help-block fpbx-help-block"><?php echo _("Allow transports to be reloaded when the PBX is reloaded. Enabling this is not recommended, and may lead to issues.")?></span>
</div>
</div>
</div>
<!--END Allow reload-->
<!--Enable Debug-->
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="pjsip_debug"><?php echo _("Enable Debug") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="pjsip_debug"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" name="pjsip_debug" id="pjsip_debugyes" value="yes" <?php echo ( $this->getConfig("pjsip_debug") == "yes"?"CHECKED":"") ?>>
<label for="pjsip_debugyes"><?php echo _("Yes");?></label>
<input type="radio" name="pjsip_debug" id="pjsip_debugno" value="no" <?php echo ( $this->getConfig("pjsip_debug") == "yes"?"":"CHECKED") ?>>
<label for="pjsip_debugno"><?php echo _("No");?></label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="pjsip_debug-help" class="help-block fpbx-help-block"><?php echo _("Enable/Disable SIP debug logging.")?></span>
</div>
</div>
</div>
<!--END Enable Debug-->
<!--Allow reload-->
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="pjsip_keep_alive_interval"><?php echo _("Keep Alive Interval") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="pjsip_keep_alive_interval"></i>
</div>
<div class="col-md-9 radioset">
<input type="number" class="form-control" name="pjsip_keep_alive_interval" id="pjsip_keep_alive_interval" value="<?php echo ( $this->getConfig("pjsip_keep_alive_interval") ?: "90") ?>">
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="pjsip_keep_alive_interval-help" class="help-block fpbx-help-block"><?php echo _("The interval (in seconds) to send keepalives to active connection-oriented transports. <br> Default is 90. </br>")?></span>
</div>
</div>
</div>
<!--END Allow reload-->
<!--Caller ID into Contact Header-->
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="use_callerid_contact"><?php echo _("Caller ID into Contact Header") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="use_callerid_contact"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" name="use_callerid_contact" id="use_callerid_contactyes" value="yes" <?php echo ( $this->getConfig("pjsip_use_callerid_contact") == "yes"?"CHECKED":"") ?>>
<label for="use_callerid_contactyes"><?php echo _("Yes");?></label>
<input type="radio" name="use_callerid_contact" id="use_callerid_contactno" value="no" <?php echo ( $this->getConfig("pjsip_use_callerid_contact") == "yes"?"":"CHECKED") ?>>
<label for="use_callerid_contactno"><?php echo _("No");?></label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="use_callerid_contact-help" class="help-block fpbx-help-block"><?php echo "<i>use_callerid_contact</i> : "._("Place caller-id information into Contact header. Default: no.")?></span>
</div>
</div>
</div>
<div class="element-container">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="taskprocessor_overload_trigger"><?php echo _("Taskprocessor Overload Trigger")?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="taskprocessor_overload_trigger"></i>
</div>
<div class="col-md-9 radioset">
<input id="taskprocessor_overload_trigger-global" type="radio" name="taskprocessor_overload_trigger" value="global" <?php echo $this->getConfig("taskprocessor_overload_trigger")=="global"?"checked=\"global\"":""?>/>
<label for="taskprocessor_overload_trigger-global"><?php echo _("global") ?></label>
<input id="taskprocessor_overload_trigger-pjsip_only" type="radio" name="taskprocessor_overload_trigger" value="pjsip_only" <?php echo (empty($this->getConfig("taskprocessor_overload_trigger")) || $this->getConfig("taskprocessor_overload_trigger")=="pjsip_only")?"checked=\"pjsip_only\"":""?>/>
<label for="taskprocessor_overload_trigger-pjsip_only"><?php echo _("pjsip_only") ?></label>
<input id="taskprocessor_overload_trigger-none" type="radio" name="taskprocessor_overload_trigger" value="none" <?php echo $this->getConfig("taskprocessor_overload_trigger")=="none"?"checked=\"none\"":""?>/>
<label for="taskprocessor_overload_trigger-none">none</label>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="taskprocessor_overload_trigger-help" class="help-block fpbx-help-block"><?php echo _("This option specifies the trigger the distributor will use for detecting taskprocessor overloads. When it detects an overload condition, the distrubutor will stop accepting new requests until the overload is cleared.<br /> global - (default) Any taskprocessor overload will trigger.<br /> pjsip_only - Only pjsip taskprocessor overloads will trigger.<br /> none - No overload detection will be performed.")?></span>
</div>
</div>
</div>
<!--Taskprocessor Overload Trigger-->
<!--Show Advanced Settings-->
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="showadvanced"><?php echo _("Show Advanced Settings") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="showadvanced"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" name="showadvanced" id="showadvancedyes" value="yes" <?php echo ( $this->getConfig("showadvanced") == "yes"?"CHECKED":"") ?>>
<label for="showadvancedyes"><?php echo _("Yes");?></label>
<input type="radio" name="showadvanced" id="showadvancedno" value="no" <?php echo ( $this->getConfig("showadvanced") == "yes"?"":"CHECKED") ?>>
<label for="showadvancedno"><?php echo _("No");?></label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="showadvanced-help" class="help-block fpbx-help-block"><?php echo _("Show Advanced Settings")?></span>
</div>
</div>
</div>
<div class="element-container">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="pjsip_identifers_sortable"><?php echo _("Endpoint Identifier Order ")?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="pjsip_identifers_sortable"></i>
</div>
<div class="col-md-9">
<ul id="pjsip_identifers_sortable">
<?php foreach($pjsip_identifers_order as $order) {?>
<!-- -->
<li class="ui-state-default btn" id="EI_<?php echo $order?>" ><?php echo $order?></li>
<?php } ?>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="pjsip_identifers_sortable-help" class="help-block fpbx-help-block"><?php echo _("Endpoint Identifier Order . The Default order is as follows:<ul><li>ip</li><li>username</li><li>anonymous</li><li>header</li><li>auth_username</li></ul><ul>Note : Changing this to get affected may require asterisk restart</ul>")?></span>
</div>
</div>
</div>
<!--END Show Advanced Settings-->
</div>
<div class="section-title" data-for="pjtls"><h3>
<i class="fa fa-minus"></i> <?php echo _("TLS/SSL/SRTP Settings")?></h3>
</div>
<div class="section" data-id="pjtls">
<?php if(!\FreePBX::Modules()->moduleHasMethod("certman","getDefaultCertDetails")) {?>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="calistfile"><?php echo _("CA Chain File") ?></label>
</div>
<div class="col-md-9">
<input type="text" class="form-control" name="calistfile" placeholder="/etc/asterisk/keys/integration/ca-bundle.crt" value="<?php echo $this->getConfig("calistfile"); ?>"></input>
</div>
</div>
</div>
</div>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="certfile"><?php echo _("Certificate File") ?></label>
</div>
<div class="col-md-9">
<input type="text" class="form-control" name="certfile" placeholder="/etc/asterisk/keys/integration/webserver.crt" value="<?php echo $this->getConfig("certfile"); ?>"></input>
</div>
</div>
</div>
</div>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="privkeyfile"><?php echo _("Private Key File") ?></label>
</div>
<div class="col-md-9">
<input type="text" class="form-control" name="privkeyfile" placeholder="/etc/asterisk/keys/integration/webserver.key" value="<?php echo $this->getConfig("privkeyfile"); ?>"></input>
</div>
</div>
</div>
</div>
<?php } else { ?>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="pjsipcalistfile"><?php echo _("Certificate Manager") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="pjsipcalistfile"></i>
</div>
<div class="col-md-9">
<select class="form-control" id="pjsipcalistfile" name="pjsipcertid">
<option value=""><?php echo "--"._("Select a Certificate")."--"?></option>
<?php $cid = $this->getConfig("pjsipcertid"); foreach(\FreePBX::Certman()->getAllManagedCertificates() as $cert) { ?>
<option value="<?php echo $cert['cid']?>" <?php echo $cid == $cert['cid'] ? 'selected' : ''?>><?php echo $cert['basename']?></option>
<?php } ?>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="pjsipcalistfile-help" class="help-block fpbx-help-block"><?php echo _("Select a certificate to use for the TLS transport. These are configured in the module Certificate Manager")?></span>
</div>
</div>
</div>
<?php } ?>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="method"><?php echo _("SSL Method") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="method"></i>
</div>
<div class="col-md-9 radioset">
<select class="form-control" id="method" name="method">
<option value="default" <?php echo ($this->getConfig("method") == "default"?"selected":"") ?>><?php echo _("Default");?></option>
<option value="tlsv1_1" <?php echo ($this->getConfig("method") == "tlsv1_1"?"selected":"") ?>>tlsv1_1</option>
<option value="tlsv1_2" <?php echo ($this->getConfig("method") == "tlsv1_2"?"selected":"") ?>>tlsv1_2</option>
<option value="tlsv1_3" <?php echo ($this->getConfig("method") == "tlsv1_3"?"selected":"") ?>>tlsv1_3</option>
<option value="sslv2" <?php echo ($this->getConfig("method") == "sslv2"?"selected":"") ?>>sslv2 (<?php echo _('Insecure')?>)</option>
<option value="sslv3" <?php echo ($this->getConfig("method") == "sslv3"?"selected":"") ?>>sslv3 (<?php echo _('Insecure')?>)</option>
<option value="sslv23" <?php echo ($this->getConfig("method") == "sslv23"?"selected":"") ?>>sslv23 (<?php echo _('Insecure')?>)</option>
</select>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="method-help" class="help-block fpbx-help-block"><?php echo _("Method of SSL transport (TLS ONLY). The default is currently TLSv1, but may change with future releases.")?></span>
</div>
</div>
</div>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="verify_client"><?php echo _("Verify Client") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="verify_client"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" name="verify_client" id="verify_clientyes" value="yes" <?php echo ($this->getConfig("verify_client") == "yes"?"CHECKED":"") ?>>
<label for="verify_clientyes"><?php echo _("Yes");?></label>
<input type="radio" name="verify_client" id="verify_clientno" value="no" <?php echo ($this->getConfig("verify_client") == "no"?"CHECKED":"") ?>>
<label for="verify_clientno"><?php echo _("No");?></label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="verify_client-help" class="help-block fpbx-help-block"><?php echo _("Require verification of client certificate (TLS ONLY).")?></span>
</div>
</div>
</div>
<div class="element-container">
<div class="row">
<div class="form-group">
<div class="col-md-3">
<label class="control-label" for="verify_server"><?php echo _("Verify Server") ?></label>
<i class="fa fa-question-circle fpbx-help-icon" data-for="verify_server"></i>
</div>
<div class="col-md-9 radioset">
<input type="radio" name="verify_server" id="verify_serveryes" value="yes" <?php echo ($this->getConfig("verify_server") == "yes"?"CHECKED":"") ?>>
<label for="verify_serveryes"><?php echo _("Yes");?></label>
<input type="radio" name="verify_server" id="verify_serverno" value="no" <?php echo ($this->getConfig("verify_server") == "no"?"CHECKED":"") ?>>
<label for="verify_serverno"><?php echo _("No");?></label>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<span id="verify_server-help" class="help-block fpbx-help-block"><?php echo _("Require verification of server certificate (TLS ONLY).")?></span>
</div>
</div>
</div>
</div>
<div class="section-title" data-for="pjstx"><h3>
<i class="fa fa-minus"></i> <?php echo _("Transports")?></h3>
</div>
<div class="section" data-id="pjstx">
<div class="well well-info">
<?php echo _("Note that the interface is only displayed for your information, and is not referenced by asterisk.")?>
<?php if(version_compare($this->FreePBX->Config->get('ASTVERSION'),"13.8","ge") && (!$this->getConfig("pjsip_allow_reload") || $this->getConfig("pjsip_allow_reload") == "yes")) { ?>
<!-- Not sure if we need a warning here -->
<?php echo sprintf(_("You have Asterisk %s which no longer needs to be restarted for transport changes if 'Allow Transports Reload' is set to 'Yes' above. Note: If 'Allow Transports Reload' is set to 'Yes' reloading after changing transports does have the possibility to drop calls."),$this->FreePBX->Config->get('ASTVERSION'))?>
<?php } else { ?>
<?php echo _("After you enable/disable a transport, asterisk needs to be <strong>restarted</strong>, not just reloaded.")?>
<?php } ?>
</div>
</div>
<?php echo $protohtml?>
<?php echo $bindhtml?>