1 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts smeserver-freepbx-0.1/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts |
2 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts 2016-06-13 06:12:50.323000000 -0400 |
3 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts 2016-06-13 06:20:41.465000000 -0400 |
4 |
@@ -1 +1 @@ |
5 |
-5060,5061,4569 |
6 |
+5060,5061,5160,5161,4569,1000-2000 |
7 |
diff -Nur smeserver-freepbx-0.1.old/root/etc/e-smith/db/configuration/migrate/freepbx smeserver-freepbx-0.1/root/etc/e-smith/db/configuration/migrate/freepbx |
8 |
--- smeserver-freepbx-0.1.old/root/etc/e-smith/db/configuration/migrate/freepbx 2016-06-13 06:12:50.331000000 -0400 |
9 |
+++ smeserver-freepbx-0.1/root/etc/e-smith/db/configuration/migrate/freepbx 2016-06-13 06:23:10.469000000 -0400 |
10 |
@@ -21,6 +21,18 @@ |
11 |
$UDPPorts = "$UDPPorts,5061"; |
12 |
$freepbx->set_prop('UDPPorts',$UDPPorts); |
13 |
} |
14 |
+unless ('5160' ~~ @UDPlist){ |
15 |
+ $UDPPorts = "$UDPPorts,5160"; |
16 |
+ $freepbx->set_prop('UDPPorts',$UDPPorts); |
17 |
+} |
18 |
+unless ('5161' ~~ @UDPlist){ |
19 |
+ $UDPPorts = "$UDPPorts,5161"; |
20 |
+ $freepbx->set_prop('UDPPorts',$UDPPorts); |
21 |
+} |
22 |
+unless ('1000-2000' ~~ @UDPlist){ |
23 |
+ $UDPPorts = "$UDPPorts,1000-2000"; |
24 |
+ $freepbx->set_prop('UDPPorts',$UDPPorts); |
25 |
+} |
26 |
|
27 |
} |
28 |
|