Module: sip-router Branch: master Commit: c79c33f14d9cf15444cdd024551c788679cf71bb URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c79c33f1...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: Wed Jan 9 20:42:12 2013 +0100
avp Documentation typo fix and update (SER => Kamailio)
---
modules/avp/README | 12 ++++++------ modules/avp/doc/avp.xml | 8 ++++---- modules/avp/doc/avp_functions.xml | 9 ++++----- 3 files changed, 14 insertions(+), 15 deletions(-)
diff --git a/modules/avp/README b/modules/avp/README index 3f83d64..0f059fb 100644 --- a/modules/avp/README +++ b/modules/avp/README @@ -35,11 +35,11 @@ Michal Matyska the contents of AVPs (Attribute-Value pairs). The AVPs are variables attached to the SIP message being processed. Each variable has its name and value. AVPs can be used to store arbitrary data or as a means of - inter-module comminication. + inter-module communication.
You may also want to check the avpops module which is more flexible and - contains more functions. In future SER releases the avp module will be - probably deprecated in favor of avpops module. + contains more functions. In future Kamailio releases the avp module + will be probably deprecated in favor of avpops module.
2. Functions
@@ -84,7 +84,7 @@ set_iattr("fr_inv_timer", "60")
2.2. flags2attr("$avp")
- Store the current state of SER flags into the sepcified avp. + Store the current state of Kamailio flags into the specified AVP.
Example 2. flags2attr usage ... @@ -140,9 +140,9 @@ set_sattr("called_number", "1234") Example 4. attr_exists usage ... if (attr_exists("saved_ruri")) { - attr2uri("saved_uri"); + attr2uri("saved_uri"); } else { - rewriteuri("sip:a@iptel.org"); + rewriteuri("sip:a@iptel.org"); }; ...
diff --git a/modules/avp/doc/avp.xml b/modules/avp/doc/avp.xml index 4887335..0f876a2 100644 --- a/modules/avp/doc/avp.xml +++ b/modules/avp/doc/avp.xml @@ -28,7 +28,7 @@ </copyright> </bookinfo>
- <title>Avp Module</title> + <title>The AVP Module</title>
<section> <title>Overview</title> @@ -37,11 +37,11 @@ manipulate the contents of AVPs (Attribute-Value pairs). The AVPs are variables attached to the SIP message being processed. Each variable has its name and value. AVPs can be used to store - arbitrary data or as a means of inter-module comminication. + arbitrary data or as a means of inter-module communication. </para> <para> - You may also want to check the avpops module which is more flexible - and contains more functions. In future SER releases the avp module + You may also want to check the <emphasis>avpops</emphasis> module which is more flexible + and contains more functions. In future &kamailio; releases the avp module will be probably deprecated in favor of avpops module. </para> </section> diff --git a/modules/avp/doc/avp_functions.xml b/modules/avp/doc/avp_functions.xml index b8f900e..72e7a87 100644 --- a/modules/avp/doc/avp_functions.xml +++ b/modules/avp/doc/avp_functions.xml @@ -41,7 +41,7 @@ set_iattr("fr_inv_timer", "60") <section id="flags2attr"> <title><function>flags2attr("$avp")</function></title> <para> - Store the current state of SER flags into the sepcified avp. + Store the current state of &kamailio; flags into the specified AVP. </para> <example> <title><function>flags2attr</function> usage</title> @@ -89,8 +89,7 @@ set_sattr("called_number", "1234") <para>Meaning of the parameter is as follows:</para> <itemizedlist> <listitem> - <para><emphasis>attribute</emphasis> - The name of the - AVP. + <para><emphasis>attribute</emphasis> - The name of the AVP. </para> </listitem> </itemizedlist> @@ -144,9 +143,9 @@ set_sattr("called_number", "1234") <programlisting> ... if (attr_exists("saved_ruri")) { - attr2uri("saved_uri"); + attr2uri("saved_uri"); } else { - rewriteuri("sip:a@iptel.org"); + rewriteuri("sip:a@iptel.org"); }; ... </programlisting>