Преглед изворни кода

registrar Documentation update

Olle E. Johansson пре 13 година
родитељ
комит
114d674da5
2 измењених фајлова са 38 додато и 34 уклоњено
  1. 22 20
      modules_k/registrar/README
  2. 16 14
      modules_k/registrar/doc/registrar_admin.xml

+ 22 - 20
modules_k/registrar/README

@@ -186,17 +186,18 @@ Chapter 1. Admin Guide
    1.1. PATH support
    1.1. PATH support
    1.2. GRUU Support
    1.2. GRUU Support
 
 
-   The module contains REGISTER processing logic.
+   The module contains REGISTER processing logic. The actual location
+   database is managed by the USRLOC module.
 
 
 1.1. PATH support
 1.1. PATH support
 
 
-   Register module includes Path support (according to RFC 3327) for usage
-   in registrars and home-proxies.
+   The Register module includes Path support (according to RFC 3327) for
+   usage in registrars and home-proxies.
 
 
-   A call to save(...) stores, if path-support is enabled in the
-   registrar-module, the values of the Path Header(s) along with the
-   contact into usrloc. There are three modes regarding the reply to a
-   REGISTER including one or more Path HFs:
+   If path support is enabled in the registrar module, a call to save(...)
+   stores the values of the Path Header(s) along with the contact into
+   usrloc. There are three modes regarding the reply to a REGISTER
+   including one or more Path HFs:
      * off - stores the value of the Path headers into usrloc without
      * off - stores the value of the Path headers into usrloc without
        passing it back to the UAC in the reply.
        passing it back to the UAC in the reply.
      * lazy - stores the Path header and passes it back to the UAC if
      * lazy - stores the Path header and passes it back to the UAC if
@@ -348,13 +349,13 @@ modparam("registrar", "default_q", 1000)
 
 
 3.6. realm_prefix (string)
 3.6. realm_prefix (string)
 
 
-   Prefix to be automatically strip from realm. As an alternative to SRV
-   records (not all SIP clients support SRV lookup), a subdomain of the
-   master domain can be defined for SIP purposes (like sip.mydomain.net
-   pointing to same IP address as the SRV record for mydomain.net). By
-   ignoring the realm_prefix "sip.", at registration, sip.mydomain.net
-   will be equivalent to mydomain.net.This parameter can be modified via
-   ser config framework.
+   Prefix to be automatically stripped from realm. As an alternative to
+   SRV records (not all SIP clients support SRV lookup), a subdomain of
+   the master domain can be defined for SIP purposes (like
+   sip.mydomain.net pointing to same IP address as the SRV record for
+   mydomain.net). By ignoring the realm_prefix "sip.", at registration,
+   sip.mydomain.net will be equivalent to mydomain.net.This parameter can
+   be modified via the Kamailio config framework.
 
 
    Default value is NULL (none).
    Default value is NULL (none).
 
 
@@ -372,7 +373,7 @@ modparam("registrar", "realm_prefix", "sip.")
    structure and can be later used by tm for forking. If the parameter is
    structure and can be later used by tm for forking. If the parameter is
    set to 0, only Request-URI will be overwritten with the highest-q rated
    set to 0, only Request-URI will be overwritten with the highest-q rated
    contact and the rest will be left unprocessed. This parameter can be
    contact and the rest will be left unprocessed. This parameter can be
-   modified via ser config framework.
+   modified via Kamailio config framework.
 
 
    Default value is 1.
    Default value is 1.
 
 
@@ -391,7 +392,7 @@ modparam("registrar", "append_branches", 0)
    If set to 1 then AOR comparison and also storing will be case
    If set to 1 then AOR comparison and also storing will be case
    sensitive, if set to 0 then AOR comparison and storing will be case
    sensitive, if set to 0 then AOR comparison and storing will be case
    insensitive--This is recommended. This parameter can be modified via
    insensitive--This is recommended. This parameter can be modified via
-   ser config framework.
+   Kamailio config framework.
 
 
    Default value is 0.
    Default value is 0.
 
 
@@ -436,7 +437,8 @@ modparam("registrar", "received_param", "rcv")
 
 
    The parameter can be used to limit the number of contacts per AOR
    The parameter can be used to limit the number of contacts per AOR
    (Address of Record) in the user location database. Value 0 disables the
    (Address of Record) in the user location database. Value 0 disables the
-   check. This parameter can be modified via ser config framework.
+   check. This parameter can be modified via the Kamailio config
+   framework.
 
 
    Default value is 0.
    Default value is 0.
 
 
@@ -452,7 +454,7 @@ modparam("registrar", "max_contacts", 10)
    It can, for example, happen when the max_contacts parameter is set and
    It can, for example, happen when the max_contacts parameter is set and
    the processing of REGISTER request would exceed the limit. In this case
    the processing of REGISTER request would exceed the limit. In this case
    the registrar would generate "503 Service Unavailable" response. This
    the registrar would generate "503 Service Unavailable" response. This
-   parameter can be modified via ser config framework.
+   parameter can be modified via the Kamailio config framework.
 
 
    If you want to add the Retry-After header field in 5xx replies, set
    If you want to add the Retry-After header field in 5xx replies, set
    this parameter to a value grater than zero (0 means do not add the
    this parameter to a value grater than zero (0 means do not add the
@@ -471,7 +473,7 @@ modparam("registrar", "retry_after", 30)
    for a header which contains a socket description (IP:port). This socket
    for a header which contains a socket description (IP:port). This socket
    info will be stored by register instead of the received socket info.
    info will be stored by register instead of the received socket info.
 
 
-   This make sens only in multiple replicated servers scenarios.
+   This makes sense only in multiple replicated servers scenarios.
 
 
    Default value is -1 (no flag).
    Default value is -1 (no flag).
 
 
@@ -486,7 +488,7 @@ modparam("registrar", "sock_flag", 18)
    the received socket info. The header will be read only if the flag
    the received socket info. The header will be read only if the flag
    sock_flag is set.
    sock_flag is set.
 
 
-   This make sens only in multiple replicated servers scenarios.
+   This makes sense only in multiple replicated servers scenarios.
 
 
    Default value is NULL.
    Default value is NULL.
 
 

+ 16 - 14
modules_k/registrar/doc/registrar_admin.xml

@@ -15,18 +15,19 @@
 	
 	
 	<section>
 	<section>
 	<title>Overview</title>
 	<title>Overview</title>
-	<para>The module contains REGISTER processing logic.</para>
+	<para>The module contains REGISTER processing logic. The actual location
+		database is managed by the USRLOC module.
+	</para>
 	<section>
 	<section>
 		<title>PATH support</title>
 		<title>PATH support</title>
 		<para>
 		<para>
-		Register module includes Path support (according to RFC 3327) 
+		The Register module includes Path support (according to RFC 3327) 
 		for usage in registrars and home-proxies.
 		for usage in registrars and home-proxies.
 		</para>
 		</para>
 		<para>
 		<para>
-		A call to save(...) stores, if path-support is enabled
-		in the registrar-module, the values of the Path
-		Header(s) along with the contact into usrloc. There are
-		three modes regarding the reply to a REGISTER including
+		If path support is enabled in the registrar module, a call to save(...)
+		stores the values of the Path Header(s) along with the contact into usrloc. 
+		There are three modes regarding the reply to a REGISTER including
 		one or more Path HFs:
 		one or more Path HFs:
 		</para>
 		</para>
 		<itemizedlist>
 		<itemizedlist>
@@ -247,13 +248,13 @@ modparam("registrar", "default_q", 1000)
 	<section>
 	<section>
 		<title><varname>realm_prefix</varname> (string)</title>
 		<title><varname>realm_prefix</varname> (string)</title>
 		<para>
 		<para>
-		 Prefix to be automatically strip from realm. As an alternative to 
+		 Prefix to be automatically stripped from realm. As an alternative to 
 		 SRV records (not all SIP clients support SRV lookup), a subdomain of 
 		 SRV records (not all SIP clients support SRV lookup), a subdomain of 
 		 the master domain can be defined for SIP purposes (like 
 		 the master domain can be defined for SIP purposes (like 
 		 sip.mydomain.net pointing to same IP address as the SRV record for 
 		 sip.mydomain.net pointing to same IP address as the SRV record for 
 		 mydomain.net). By ignoring the realm_prefix "sip.", at registration,
 		 mydomain.net). By ignoring the realm_prefix "sip.", at registration,
 		 sip.mydomain.net will be equivalent to mydomain.net.This parameter 
 		 sip.mydomain.net will be equivalent to mydomain.net.This parameter 
-		 can be modified via ser config framework.
+		 can be modified via the &kamailio; config framework.
 		</para>
 		</para>
 		<para>
 		<para>
 		<emphasis>
 		<emphasis>
@@ -281,7 +282,7 @@ modparam("registrar", "realm_prefix", "sip.")
 		appended to sip_msg structure and can be later used by tm for forking.
 		appended to sip_msg structure and can be later used by tm for forking.
 		If the parameter is set to 0, only Request-URI will be overwritten 
 		If the parameter is set to 0, only Request-URI will be overwritten 
 		with the highest-q rated contact and the rest will be left unprocessed.
 		with the highest-q rated contact and the rest will be left unprocessed.
-		This parameter can be modified via ser config framework.
+		This parameter can be modified via &kamailio; config framework.
 		</para>
 		</para>
 		<para>
 		<para>
 		<emphasis>
 		<emphasis>
@@ -312,7 +313,7 @@ modparam("registrar", "append_branches", 0)
 		If set to 1 then <acronym>AOR</acronym> comparison and also
 		If set to 1 then <acronym>AOR</acronym> comparison and also
 		storing will be case sensitive, if set to 0 then <acronym>AOR</acronym>
 		storing will be case sensitive, if set to 0 then <acronym>AOR</acronym>
 		comparison and storing will be case insensitive--This is recommended.
 		comparison and storing will be case insensitive--This is recommended.
-		This parameter can be modified via ser config framework.
+		This parameter can be modified via &kamailio; config framework.
 		</para>
 		</para>
 		<para>
 		<para>
 		<emphasis>
 		<emphasis>
@@ -385,7 +386,8 @@ modparam("registrar", "received_param", "rcv")
 		<para>
 		<para>
 		The parameter can be used to limit the number of contacts per 
 		The parameter can be used to limit the number of contacts per 
 		AOR (Address of Record) in the user location database. Value 0 
 		AOR (Address of Record) in the user location database. Value 0 
-		disables the check. This parameter can be modified via ser config framework.
+		disables the check. This parameter can be modified via the &kamailio;
+		config framework.
 		</para>
 		</para>
 		<para>
 		<para>
 		<emphasis>
 		<emphasis>
@@ -411,7 +413,7 @@ modparam("registrar", "max_contacts", 10)
 		<varname>max_contacts</varname> parameter is set and the
 		<varname>max_contacts</varname> parameter is set and the
 		processing of REGISTER request would exceed the limit. In this case 
 		processing of REGISTER request would exceed the limit. In this case 
 		the registrar would generate "503 Service Unavailable" response.
 		the registrar would generate "503 Service Unavailable" response.
-		This parameter can be modified via ser config framework.
+		This parameter can be modified via the &kamailio; config framework.
 		</para>
 		</para>
 		<para>
 		<para>
 		If you want to add the Retry-After header field in 5xx replies, set 
 		If you want to add the Retry-After header field in 5xx replies, set 
@@ -442,7 +444,7 @@ modparam("registrar", "retry_after", 30)
 		socket info.
 		socket info.
 		</para>
 		</para>
 		<para>
 		<para>
-		This make sens only in multiple replicated servers scenarios.
+		This makes sense only in multiple replicated servers scenarios.
 		</para>
 		</para>
 		<para>
 		<para>
 		<emphasis>
 		<emphasis>
@@ -467,7 +469,7 @@ modparam("registrar", "sock_flag", 18)
 		flag sock_flag is set.
 		flag sock_flag is set.
 		</para>
 		</para>
 		<para>
 		<para>
-		This make sens only in multiple replicated servers scenarios.
+		This makes sense only in multiple replicated servers scenarios.
 		</para>
 		</para>
 		<para>
 		<para>
 		<emphasis>
 		<emphasis>