From ef0407939f1bc6e5ea853bba892d2dd6ec3fd464 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Tue, 17 Nov 2015 01:58:01 +0100 Subject: Add privileges configuration to siproxd package, install/deinstall/service handling cleanups --- config/siproxd/siproxd.xml | 81 +++++++++++++++++++++++++--------------------- 1 file changed, 45 insertions(+), 36 deletions(-) diff --git a/config/siproxd/siproxd.xml b/config/siproxd/siproxd.xml index e4375d8e..b0866eb1 100644 --- a/config/siproxd/siproxd.xml +++ b/config/siproxd/siproxd.xml @@ -43,25 +43,25 @@ ]]> siproxdsettings - 1.0.6 + 1.0.7 siproxd: Settings /usr/local/pkg/siproxd.inc - /pkg_edit.php?xml=siproxd.xml&id=0 + /pkg_edit.php?xml=siproxd.xml siproxd - Modify siproxd users and settings.
Services
- /pkg_edit.php?xml=siproxd.xml&id=0 + /pkg_edit.php?xml=siproxd.xml
siproxd siproxd.sh siproxd + Proxy/Masquerading Daemon for SIP Settings - /pkg_edit.php?xml=siproxd.xml&id=0 + /pkg_edit.php?xml=siproxd.xml @@ -81,6 +81,10 @@ /usr/local/pkg/ https://packages.pfsense.org/packages/config/siproxd/siproxd.inc + + /etc/inc/priv/ + https://packages.pfsense.org/packages/config/siproxd/siproxd.priv.inc + /usr/local/www/ https://packages.pfsense.org/packages/config/siproxd/siproxd_registered_phones.php @@ -89,23 +93,23 @@ Enable siproxd sipenable - Enable or disable siproxd + Enable or disable siproxd. checkbox - Inbound interface + Inbound Interface if_inbound Select the inbound interface. interfaces_selection - Outbound interface + Outbound Interface if_outbound Select the outbound interface. interfaces_selection - Listening port + Listening Port port input + 5060 - Default expiration timeout + Default Expiration Timeout defaulttimeout - If a REGISTER request dose not contain an Expires header or expires= parameter, this number of seconds will be used and reported back to the UA in the answer. + If a REGISTER request does not contain an Expires header or expires= parameter, this number of seconds will be used and reported back to the UA in the answer. input @@ -126,38 +131,36 @@ listtopic - Enable RTP proxy + Enable RTP Proxy rtpenable - Enable or disable the RTP proxy. (default is enabled) + Enable or disable the RTP proxy. (Default: enabled) select - - + + + 1 - RTP port range (lower) + RTP Port Range (Lower) rtplower - Enter the bottom edge of the port range siproxd will allocate for incoming RTP traffic. This range must be one not blocked by the firewall (default 7070). + Enter the bottom edge of the port range siproxd will allocate for incoming RTP traffic. This range must not be blocked by the firewall. (Default: 7070) input + 7070 - RTP port range (upper) + RTP Port Range (Upper) rtpupper - Enter the top edge of the port range siproxd will allocate for incoming RTP traffic. This range must be one not blocked by the firewall (default 7079). + Enter the top edge of the port range siproxd will allocate for incoming RTP traffic. This range must not be blocked by the firewall. (Default: 7079) input + 7079 - RTP stream timeout + RTP Stream Timeout rtptimeout - After this number of seconds, an RTP stream is considered dead and proxying it will be stopped (default 300sec). + After this number of seconds, an RTP stream is considered dead and proxying it will be stopped. (Default: 300sec) input + 300 Dejittering Settings @@ -180,7 +183,7 @@ listtopic - TCP inactivity timeout + TCP Inactivity Timeout tcp_timeout tcp_connect_timeout - This should be kept as short as possible as waiting for an TCP connection to establish is a BLOCKING operation - while waiting for a connect to succeed no SIP messages are processed (RTP is not affected). + Defines How many msecs siproxd will wait for a successful connect when establishing an outgoing SIP signalling connection.
+ This should be kept as short as possible as waiting for an TCP connection to establish is a BLOCKING operation - no SIP messages are processed while waiting for a connect to succeed (RTP is not affected). ]]>
input @@ -212,19 +215,19 @@ listtopic
- Enable proxy authentication + Enable Proxy Authentication authentication - If this is checked, clients will be forced to authenticate themselves at the proxy (for registration only). + If checked, clients will be forced to authenticate themselves at the proxy (for registration only). checkbox - Outbound proxy hostname + Outbound Proxy Hostname outboundproxyhost Enter the hostname of an outbound proxy to send all traffic to. This is only useful if you have multiple masquerading firewalls to cross. input - Outbound proxy port + Outbound Proxy Port outboundproxyport Enter the port of the outbound proxy to send all traffic to. This is only useful if you have multiple masquerading firewalls to cross. input @@ -266,7 +269,7 @@ checkbox - Log redirected calls + Log Redirected Calls plugin_defaulttarget_log Log redirected calls. checkbox @@ -371,6 +374,12 @@ input + + install_package_siproxd(); + + + deinstall_package_siproxd(); + sync_package_siproxd(); @@ -378,7 +387,7 @@ sync_package_siproxd(); - siproxd_generate_rules(); + siproxd_generate_rules validate_form_siproxd($_POST, $input_errors); -- cgit v1.2.3