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.
69 lines
1.4 KiB
69 lines
1.4 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="uri_db.functions" xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
<sectioninfo>
|
|
</sectioninfo>
|
|
|
|
<title>Functions</title>
|
|
|
|
<section id="check_to">
|
|
<title>
|
|
<function>check_to()</function>
|
|
</title>
|
|
<para>
|
|
Check To username against URI table or digest credentials.
|
|
</para>
|
|
<example>
|
|
<title><function>check_to</function> usage</title>
|
|
<programlisting>
|
|
...
|
|
if (check_to()) {
|
|
...
|
|
};
|
|
...
|
|
</programlisting>
|
|
</example>
|
|
</section>
|
|
|
|
<section id="check_from">
|
|
<title>
|
|
<function>check_from()</function>
|
|
</title>
|
|
<para>
|
|
Check From username against URI table or digest credentials.
|
|
</para>
|
|
<example>
|
|
<title><function>check_from</function> usage</title>
|
|
<programlisting>
|
|
...
|
|
if (check_from()) {
|
|
...
|
|
};
|
|
...
|
|
</programlisting>
|
|
</example>
|
|
</section>
|
|
|
|
<section id="does_uri_exist">
|
|
<title>
|
|
<function>does_uri_exist()</function>
|
|
</title>
|
|
<para>
|
|
Check if username in the request URI belongs to an existing user.
|
|
</para>
|
|
<example>
|
|
<title><function>does_uri_exist</function> usage</title>
|
|
<programlisting>
|
|
...
|
|
if (does_uri_exist()) {
|
|
...
|
|
};
|
|
...
|
|
</programlisting>
|
|
</example>
|
|
</section>
|
|
|
|
</section>
|