From 8c3df0e9debbb49ea7bd912b7f68ae88d72baa2f Mon Sep 17 00:00:00 2001 From: doktornotor Date: Sun, 12 Jul 2015 19:45:44 +0200 Subject: Fix Bug #4561 Listening port redirect rule pulling wrong tag from in config.xml --- config/siproxd/siproxd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/siproxd') diff --git a/config/siproxd/siproxd.inc b/config/siproxd/siproxd.inc index e873e08d..53dc7a2d 100644 --- a/config/siproxd/siproxd.inc +++ b/config/siproxd/siproxd.inc @@ -81,7 +81,7 @@ function siproxd_generate_rules($type) { $ifaces = array_map('convert_friendly_interface_to_real_interface_name', $ifaces); $rtplower = ($siproxd_conf['rtplower'] ? $siproxd_conf['rtplower'] : 7070); $rtpupper = ($siproxd_conf['rtpupper'] ? $siproxd_conf['rtpupper'] : 7079); - $port = ($siproxd_conf['proxy_port'] ? $siproxd_conf['proxy_port'] : 5060); + $port = ($siproxd_conf['port'] ? $siproxd_conf['port'] : 5060); switch($type) { case 'nat': -- cgit v1.2.3