sip_uri.xml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
  3. "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
  4. <section id="struct.sip_uri" xmlns:xi="http://www.w3.org/2001/XInclude">
  5. <sectioninfo>
  6. <revhistory>
  7. <revision>
  8. <revnumber>$Revision$</revnumber>
  9. <date>$Date$</date>
  10. </revision>
  11. </revhistory>
  12. </sectioninfo>
  13. <title>Structure <structname>sip_uri</structname></title>
  14. <para>
  15. This structure represents parsed SIP URI.
  16. </para>
  17. <programlisting>
  18. struct sip_uri {
  19. str user; /* Username */
  20. str passwd; /* Password */
  21. str host; /* Host name */
  22. str port; /* Port number */
  23. str params; /* Parameters */
  24. str headers;
  25. };
  26. </programlisting>
  27. <para>
  28. <emphasis>Field Description:</emphasis>
  29. <itemizedlist>
  30. <listitem>
  31. <para>
  32. <structfield>user</structfield> - Username if found in the URI.
  33. </para>
  34. </listitem>
  35. <listitem>
  36. <para>
  37. <structfield>passwd</structfield> - Password if found in
  38. the URI.
  39. </para>
  40. </listitem>
  41. <listitem>
  42. <para>
  43. <structfield>host</structfield> - Hostname of the URI.
  44. </para>
  45. </listitem>
  46. <listitem>
  47. <para>
  48. <structfield>params</structfield> - Parameters of the URI
  49. if any.
  50. </para>
  51. </listitem>
  52. <listitem>
  53. <para>
  54. <structfield>headers</structfield> - See the SIP RFC.
  55. </para>
  56. </listitem>
  57. </itemizedlist>
  58. </para>
  59. </section>