mirror of https://github.com/sipwise/kamailio.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
2.3 KiB
72 lines
2.3 KiB
<?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="avp_db" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<sectioninfo>
|
|
<title>avp_db Module</title>
|
|
<authorgroup>
|
|
<author>
|
|
<firstname>Jiri</firstname>
|
|
<surname>Kuthan</surname>
|
|
<affiliation><orgname>FhG FOKUS</orgname></affiliation>
|
|
<email>jiri@iptel.org</email>
|
|
</author>
|
|
</authorgroup>
|
|
<copyright>
|
|
<year>2004</year>
|
|
<year>2005</year>
|
|
<holder>FhG FOKUS</holder>
|
|
</copyright>
|
|
<revhistory>
|
|
<revision>
|
|
<revnumber>$Revision$</revnumber>
|
|
<date>$Date$</date>
|
|
</revision>
|
|
</revhistory>
|
|
</sectioninfo>
|
|
|
|
<title>Avp_db Module</title>
|
|
|
|
<section id="avp_db.overview">
|
|
<title>Overview</title>
|
|
<para>
|
|
This module contains several functions that can be used to
|
|
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.
|
|
</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
|
|
will be probably deprecated in favor of avpops module.
|
|
</para>
|
|
<para>
|
|
Domain module operates in caching mode. Domain module reads the
|
|
default values of AVPs into cache memory when the module is
|
|
loaded. After that default values is re-read only when module is
|
|
given avp_list_reload fifo command. Any changes in
|
|
usr_preferences_types table must thus be followed by
|
|
avp_list_reload command in order to reflect them in module
|
|
behavior.
|
|
</para>
|
|
</section>
|
|
|
|
<section id="avp_db.dep">
|
|
<title>Dependencies</title>
|
|
<para>
|
|
A database module, such as mysql, postgres, or dbtext.
|
|
</para>
|
|
</section>
|
|
|
|
<xi:include href="params.xml"/>
|
|
<xi:include href="functions.xml"/>
|
|
<!-- <xi:include href="fifo.xml"/> -->
|
|
|
|
<section><title>Example extra attributes usage</title>
|
|
<para><programlisting><include xmlns="http://www.w3.org/2001/XInclude"
|
|
href="avp_dialogs.cfg" parse="text"/></programlisting></para>
|
|
</section>
|
|
</section>
|