<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" 
   "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<section id="sanity.parameters" xmlns:xi="http://www.w3.org/2001/XInclude">
    <sectioninfo>
	<revhistory>
	    <revision>
		<revnumber>$Revision: 1.4 $</revnumber>
		<date>$Date: 2006/05/23 09:57:42 $</date>
	    </revision>
	</revhistory>
    </sectioninfo>

    <title>Parameters</title>

    <section id="default_checks">
	<title><varname>default_checks</varname> (integer)</title>
	<para>
		This parameter determines which of the checks from the sanity
		module are executed if no parameter was given to the sanity_check
		function call. By default all implemented checks are included
		in the execution of the sanity_check function. The integer value
		is the sum of the check numbers which should be executed by default.
	</para>
	<para>
	    Default value is 999. This resolves to the following list of
		checks: ruri_sip_version (1), ruri_scheme (2), required_headers (4),
		cseq_method (32), cseq_value (64), cotent_length (128), 
		expires_value (256), proxy_require (512).
	</para>
	<example>
	    <title>Set <varname>default_checks</varname> parameter</title>
	    <programlisting>
...
modparam("sanity", "default_checks", "1")
...
	    </programlisting>
	</example>
    </section>

	<section id="uri_checks">
	<title><varname>uri_checks</varname> (integer)</title>
	<para>
		This parameter determines which URIs are going to be checked
		if the 'parse uri' will be executed.
	</para>
	<para>
		Default value is 7. This resolves to the following list of
		parsed URIs: Request RUI (1), From URI (2) and To URI (4).
	</para>
	</section>

	<section id="proxy_require">
	<title><varname>proxy_require</varname> (string)</title>
	<para>
		This parameter set the list of supported extensions for this SER.
		The value is expected as comma seperated list of the extensions.
		This list is seperated into single tokens. Each token from
		a proxy require header will be compare to the tokens from this
		list.
	</para>
	<example>
	    <title>Set <varname>proxy_require</varname> parameter</title>
	    <programlisting>
...
modparam("sanity", "proxy_require", "foo, bar")
...
	    </programlisting>
	</example>
	</section>


</section>
