/[smecontribs]/rpms/smeserver-freepbx/contribs10/smeserver-freepbx-13.bz9702-2.patch
ViewVC logotype

Annotation of /rpms/smeserver-freepbx/contribs10/smeserver-freepbx-13.bz9702-2.patch

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


Revision 1.2 - (hide annotations) (download)
Mon Mar 28 03:55:59 2022 UTC (2 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
14

1 jpp 1.1 diff -Nur smeserver-freepbx-13.old/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts smeserver-freepbx-13/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts
2     --- smeserver-freepbx-13.old/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts 2016-10-23 22:58:01.496000000 -0400
3     +++ smeserver-freepbx-13/root/etc/e-smith/db/configuration/defaults/freepbx/UDPPorts 2016-10-23 23:20:19.598000000 -0400
4     @@ -1 +1 @@
5     -5060,5061,5160,5161,4569,10000-20000
6     +5060,5061,5160,5161,4569,10000:20000
7     diff -Nur smeserver-freepbx-13.old/root/etc/e-smith/db/configuration/migrate/freepbx smeserver-freepbx-13/root/etc/e-smith/db/configuration/migrate/freepbx
8     --- smeserver-freepbx-13.old/root/etc/e-smith/db/configuration/migrate/freepbx 2016-10-23 22:58:01.496000000 -0400
9     +++ smeserver-freepbx-13/root/etc/e-smith/db/configuration/migrate/freepbx 2016-10-23 23:27:41.741000000 -0400
10     @@ -29,13 +29,14 @@
11     $UDPPorts = "$UDPPorts,5161";
12     $freepbx->set_prop('UDPPorts',$UDPPorts);
13     }
14     -unless ('10000-20000' ~~ @UDPlist){
15     - $UDPPorts = "$UDPPorts,10000-20000";
16     +if ('10000-20000' ~~ @UDPlist){
17     + $UDPPorts =~ s/,10000-20000//;
18     + $UDPPorts = "$UDPPorts,10000:20000";
19     $freepbx->set_prop('UDPPorts',$UDPPorts);
20     }
21     if ('1000-2000' ~~ @UDPlist){
22     $UDPPorts =~ s/,1000-2000//;
23     - $freepbx->set_prop('UDPPorts',$UDPPorts);
24     + $freepbx->set_prop('UDPPorts',$UDPPorts);
25     }
26    
27     }

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