<?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="speeddial" xmlns:xi="http://www.w3.org/2001/XInclude">
    <sectioninfo>
	<authorgroup>
	    <author>
		<firstname>Elena-Ramona</firstname>
		<surname>Modroiu</surname>
		<affiliation><orgname>Voice Sistem</orgname></affiliation>
		<address>
		    <email>ramona@voice-system.ro</email>
		    <otheraddr>
			<ulink url="http://www.voice-system.ro">http://www.voice-system.ro</ulink>
		    </otheraddr>
		</address>
	    </author>
	</authorgroup>
	<copyright>
	    <year>2004</year>
	    <holder>Voice Sistem</holder>
	</copyright>
	<revhistory>
	    <revision>
		<revnumber>$Revision: 1.3 $</revnumber>
		<date>$Date: 2005/08/24 22:26:20 $</date>
	    </revision>
	</revhistory>
    </sectioninfo>
    
    <title>Speedial Module</title>
    
    <section id="speeddial.overview">
	<title>Overview</title>
	<para>
	    This module provides on-server speed dial facilities. An user can
	    store records consisting of pairs short numbers (2 digits) and SIP
	    addresses into a table of SER. Then it can dial the two digits
	    whenever he wants to call the SIP address associated with those
	    digits.
	</para>
    </section>

    <section id="speeddial.dep">
	<title>Dependencies</title>
	<para>
	    The following modules must be loaded before this module:
	    <itemizedlist>
		<listitem>
		    <para>
			<emphasis>database module (mysql, dbtext, ...)</emphasis>.
		    </para>
		</listitem>
		<listitem>
		    <para>
			<emphasis>sl - stateless module</emphasis>.
		    </para>
		</listitem>
	    </itemizedlist>
	</para>
    </section>

    <section id="speeddial.nstall_and_run">
	<title>Installation And Running</title>
	<section id="database">
	    <title>Database setup</title>
	    <para>
		Before using speeddial module, you have to create the database
		table where the short dial addresses are stored. If the table
		was not created at the installation time, you can use the
		following <acronym>SQL</acronym> script (tested with MySQL) as
		template. Database, the table name, and column names can be set
		with module parameters so they can be changed.
	    </para>
	    <example>
		<title>speeddial sql script</title>
		<programlisting>
<xi:include href="speeddial.sql" parse="text"/>
		</programlisting>
		</example>
    	</section>
	
	<section id="cfg_example">
	    <title>Example SER Configuration FIle</title>
	    <example>
		<title>SER Configuration File</title>
		<programlisting>
<xi:include href="speeddial.cfg" parse="text"/>
		</programlisting>
	    </example>
	</section>

	
    </section>

    <xi:include href="params.xml"/>
    <xi:include href="functions.xml"/>
    <xi:include href="faq.xml"/>
    
</section>

