<?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="uri_radius.functions" xmlns:xi="http://www.w3.org/2001/XInclude">
    <sectioninfo>
    </sectioninfo>

    <title>Functions</title>

    <section id="radius_does_uri_exist">
	<title>
	    <function>radius_does_uri_exist()</function>
	</title>
	<para>
	    Checks from Radius if user@host in Request-URI is a local
	    user. Can be used to decide if 404 or 480 should be returned after
	    lookup has failed.  Adds SIP-AVP reply items, that must have a
	    string value of form "name:value", as AVPs.
	</para>
	<example>
	    <title><function>radius_does_uri_exist</function> usage</title>
	    <programlisting>
...
if (radius_does_uri_exist()) {
    ...
};
...
	    </programlisting>
	</example>
    </section>
</section>
