/[smecontribs]/rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-Sme9Ast13Fpbx13-moreUDPPorts.patch
ViewVC logotype

Annotation of /rpms/smeserver-freepbx/contribs9/smeserver-freepbx-0.1-Sme9Ast13Fpbx13-moreUDPPorts.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Mon Jun 13 12:16:45 2016 UTC (8 years, 4 months ago) by unnilennium
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
bump to version 13

1 unnilennium 1.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    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed