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/prefix_route/doc/functions.xml

27 lines
797 B

<?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="prefixroute.functions" xmlns:xi="http://www.w3.org/2001/XInclude">
<title>Functions</title>
<section id="prefixroute.prefix_route">
<title><function>prefix_route()</function></title>
<para>
This function tries to find a route from the user part of the request URI.
If a route is found, it will be used for further processing. Otherwise the
function will return false.
</para>
<example>
<title>prefix_route() usage</title>
<programlisting>
...
if (!prefix_route()) {
xlog("L_ERR", "prefix_route(): no matching routes\n");
}
...
</programlisting>
</example>
</section>
</section>