<body class="help">
<h3 class="help">SIP Proxy <a name="SIP Proxy"></a></h3>
<p>SIP Proxy handles connection IP addresses of SIP calls. The button <b>Show Advanced Options</b> offers various 
settings to finetune how SIP Proxy handles connections.</p>

<p>To use the SIP Proxy, set <b>Enable SIP Proxy</b> to <b>Yes</b> and click <b>Save</b>.</p>

<ul>
	<li><b>Trust Connection IP</b> &mdash; Changes how the SIP proxy handles the connection IP address of SIP calls. Set to <b>Yes</b> or <b>No</b> to override the automatic connection IP detection. Default: <b>Automatic</b>.
	<ul>
		<li><b>Automatic</b> &mdash; The SIP proxy automatically detects the correct connection IP address. &#40;Default&#41;</li>
		<li><b>Yes</b> &mdash; The SIP proxy uses the connection IP sent as contact IP address for the RTP connection, even if it is different from the source of the SIP connection. You may need to use this setting if you are using an Asterisk server with the following settings: <br>
			<code>NAT=no <br>
			IP configuration=public IP</code>
		</li>
		<li><b>No</b> &mdash; Use the source IP address of the SIP connection for the RTP connection and ignore the suggested IP address sent by the SIP provider.</li>
	</ul>
	<li><b>Advanced Options</b> &mdash; Click on the button <b>Show Advanced Options</b> to show further configuration options.</li>
</ul>


<h4 class="help">Configuring Advanced Options</h4>
<p>To define certificates and TLS options for the SIP Proxy, click <b>Show Advanced Options</b>.</p>
<p>
<ul>
	<li><b>Allowed Destinations</b> &mdash; Add IP addresses, IP ranges, and domain names the user agents are allowed to contact. 
	    Click <b>&#43;</b> &#40;plus&#41; after each entry. &quot;0.0.0.0 &frasl; 0&quot; allows any IP address, but no domain name. 
		If the list is empty, no restrictions are applied &#40;this does not override access rules&#41;.<br>
		<p>
		<info>Block the SIP port &#40;UDP&#43;TCP 5060&#41; using an access rule to block access to the SIP proxy.</info></li>
		</p>
</ul>

<ul>
	<li><b>Use TLS</b> &mdash; If enabled, the SIP proxy will offer TLS connections on TCP port 5061. You must upload CA and TLS certificates to use TLS.</li>
</ul>

	
<h3 class="help">SIP Proxy Certificates<a name="SIP Proxy Certificates"></a></h2>

<p>
	<ul>
		<li><b>SIP Proxy Certificate</b> &mdash; Select your root certificate. You can also use a a self&ndash;signed certificate. Certificates can be uploaded on the <b>Advanced &gt; Certificate Manager</b> page. Valid file formats: PEM or PKCS12.</li>
		<li><b>External root CA cert</b> &mdash; Select an external root certificate. Certificates can be uploaded on the <b>Advanced &gt; Certificate Manager</b> page. Valid file formats: PEM or PKCS12.</li>
		<li><b>Additional Trusted Certificates</b> &mdash; Select additional trusted root certificates. Chose the desired certificates from the dropdown menu and click <b>&#43;</b> &#40;plus&#41; to add them to the list. Certificates can be uploaded on the <b>Advanced &gt; Certificate Manager</b> page. Valid file formats: PEM or PKCS12.</li>
	</ul>
</p>


<h3 class="help">Additional TLS Options <a name="Additional TLS Options"></a></h2>

<ul>
	<li><b>Accepted TLS Protocols</b> &mdash; Select which TLS protocols should be accepted by the SIP proxy when clients try to establish a connection. Use TLSv1 only if you want RFC3261 conformance and all your clients support it. <b>All</b> &#40;default&#41; means the SIP proxy will accept all protocols, but the initial SSL hello must be SSLv2, so it will not accept connections from SSLv3&ndash; or TLSv1&ndash;only clients. To support older clients, use <b>All</b>.
</li>
	<li><b>Certificate Security Level</b> &mdash; Select the severity of the SIP proxy that is accepting certificates either from other clients that are attempting to connect or from other servers when the SIP proxy tries to connect to them.</li>
    <ul>
      <li><b>High</b> &mdash; Only accept connections from clients&frasl;to servers with valid certificates issued by a trusted CA.</li>
      <li><b>Medium</b> &mdash; Only connect to servers with valid certificates; accept connections from clients that do not provide any certificate at all or whose certificate is valid. Do not accept connections from clients that provide invalid certificates.</li>
      <li><b>Low</b> &mdash; Accept all &#40;invalid and valid&#41; certificates.</li>
		<p>
		<info>The default value is <b>Low</b> for easier configuration. It is recommended to use <b>High</b> for higher security.</info>
		</p>
    </ul>
</ul>

</body>
