12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?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="struct.sip_uri" xmlns:xi="http://www.w3.org/2001/XInclude">
- <sectioninfo>
- <revhistory>
- <revision>
- <revnumber>$Revision$</revnumber>
- <date>$Date$</date>
- </revision>
- </revhistory>
- </sectioninfo>
-
- <title>Structure <structname>sip_uri</structname></title>
- <para>
- This structure represents parsed SIP URI.
- </para>
- <programlisting>
- struct sip_uri {
- str user; /* Username */
- str passwd; /* Password */
- str host; /* Host name */
- str port; /* Port number */
- str params; /* Parameters */
- str headers;
- };
- </programlisting>
- <para>
- <emphasis>Field Description:</emphasis>
- <itemizedlist>
- <listitem>
- <para>
- <structfield>user</structfield> - Username if found in the URI.
- </para>
- </listitem>
- <listitem>
- <para>
- <structfield>passwd</structfield> - Password if found in
- the URI.
- </para>
- </listitem>
- <listitem>
- <para>
- <structfield>host</structfield> - Hostname of the URI.
- </para>
- </listitem>
- <listitem>
- <para>
- <structfield>params</structfield> - Parameters of the URI
- if any.
- </para>
- </listitem>
- <listitem>
- <para>
- <structfield>headers</structfield> - See the SIP RFC.
- </para>
- </listitem>
- </itemizedlist>
- </para>
- </section>
|