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.
kamailio/modules_s/pdt/doc/fifo.xml

44 lines
1.2 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="pdt.fifo" xmlns:xi="http://www.w3.org/2001/XInclude">
<sectioninfo>
</sectioninfo>
<title>FIFO Interface</title>
<para>
The modules uses only the cache to look up domains. If you want to add
or delete a new prefix-domain pair you have to use FIFO commands. All
changes made via FIFO are applied to database. The database is loaded
only at SER start up time.
</para>
<para>
There are three FIFO commands to use with PDT.
</para>
<itemizedlist>
<listitem>
<para>
pdt_add - add a new prefix-domain pair
</para>
</listitem>
<listitem>
<para>
pdt_delete - remove a prefix-domain pair
</para>
</listitem>
<listitem>
<para>
pdt_list - list the prefixes and the domains
</para>
</listitem>
</itemizedlist>
<para>
Example shell scripts for these commands are placed in './doc/'
(pdt_fifo_add.sh, pdt_fifo_delete.sh, pdt_fifo_list.sh). More about, in
the comments before the implementation of the functions, inside the
'pdt.c' file.
</para>
</section>