<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=Presence</id>
	<title>Presence - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://docs.yate.ro/wiki/index.php?action=history&amp;feed=atom&amp;title=Presence"/>
	<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Presence&amp;action=history"/>
	<updated>2026-11-25T17:41:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=7400&amp;oldid=prev</id>
		<title>Monica at 11:20, 4 November 2013</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=7400&amp;oldid=prev"/>
		<updated>2013-11-04T11:20:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:20, 4 November 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l68&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ; select_presence: string: Database query used to load all instances belonging to a given contact&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ; select_presence: string: Database query used to load all instances belonging to a given contact&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;select_presence=SELECT * FROM presence WHERE contact=&amp;#039;${contact}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;select_presence=SELECT * FROM presence WHERE contact=&amp;#039;${contact}&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:SIP]] [[Category:Client]] [[Category:Presence]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Monica</name></author>
	</entry>
	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=1046&amp;oldid=prev</id>
		<title>Dana at 13:41, 19 October 2012</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=1046&amp;oldid=prev"/>
		<updated>2012-10-19T13:41:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:41, 19 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This module keeps presence for SIP clients and has 2 sections:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This module keeps presence for SIP clients and has 2 sections:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;general&#039;&#039; configures  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &#039;&#039;general&#039;&#039; configures&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: - the number of lists created to store presence information;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: - the number of lists created to store presence information;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: - the interval (in miliseconds) at which the module will check for presence expiring;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;: - the interval (in miliseconds) at which the module will check for presence expiring;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dana</name></author>
	</entry>
	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=1045&amp;oldid=prev</id>
		<title>Dana at 13:41, 19 October 2012</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=1045&amp;oldid=prev"/>
		<updated>2012-10-19T13:41:31Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:41, 19 October 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This module keeps presence for SIP clients and has 2 sections:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This module keeps presence for SIP clients and has 2 sections:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;general&amp;#039;&amp;#039; configures  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;general&amp;#039;&amp;#039; configures  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/del&gt;- the number of lists created to store presence information;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &lt;/ins&gt;- the number of lists created to store presence information;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/del&gt;- the interval (in miliseconds) at which the module will check for presence expiring;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &lt;/ins&gt;- the interval (in miliseconds) at which the module will check for presence expiring;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* &lt;/del&gt;- the time to live (in miliseconds) of a presence entry&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;: &lt;/ins&gt;- the time to live (in miliseconds) of a presence entry&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;database&amp;#039;&amp;#039; keeps the database account name for connection purpose, and does the select, insert , update and remove presence for subscribers.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* &amp;#039;&amp;#039;database&amp;#039;&amp;#039; keeps the database account name for connection purpose, and does the select, insert , update and remove presence for subscribers.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dana</name></author>
	</entry>
	<entry>
		<id>https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=1044&amp;oldid=prev</id>
		<title>Dana: Created page with &quot;This module keeps presence for SIP clients and has 2 sections: * &#039;&#039;general&#039;&#039; configures  * - the number of lists created to store presence information; * - the interval (in mi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://docs.yate.ro/wiki/index.php?title=Presence&amp;diff=1044&amp;oldid=prev"/>
		<updated>2012-10-19T13:39:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This module keeps presence for SIP clients and has 2 sections: * &amp;#039;&amp;#039;general&amp;#039;&amp;#039; configures  * - the number of lists created to store presence information; * - the interval (in mi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This module keeps presence for SIP clients and has 2 sections:&lt;br /&gt;
* &amp;#039;&amp;#039;general&amp;#039;&amp;#039; configures &lt;br /&gt;
* - the number of lists created to store presence information;&lt;br /&gt;
* - the interval (in miliseconds) at which the module will check for presence expiring;&lt;br /&gt;
* - the time to live (in miliseconds) of a presence entry&lt;br /&gt;
* &amp;#039;&amp;#039;database&amp;#039;&amp;#039; keeps the database account name for connection purpose, and does the select, insert , update and remove presence for subscribers.&lt;br /&gt;
&lt;br /&gt;
===Configuration===&lt;br /&gt;
&lt;br /&gt;
File presence.conf:&lt;br /&gt;
&lt;br /&gt;
 ; This file configures the presence module&lt;br /&gt;
 &lt;br /&gt;
 [general]&lt;br /&gt;
 &lt;br /&gt;
 ; listcount: integer: The number of lists created to store presence information&lt;br /&gt;
 ; The entities advertising presence will be distributed by hash in the apropriate list&lt;br /&gt;
 ; A larger value will lead to a faster search at the expense of used memory&lt;br /&gt;
 ; Minimum (default) allowed value is 16&lt;br /&gt;
 ; Maximum allowed value is 256&lt;br /&gt;
 ;listcount=16&lt;br /&gt;
 &lt;br /&gt;
 ; expirecheck: integer: The interval (in miliseconds) at which the module will&lt;br /&gt;
 ;  check for presence expiring&lt;br /&gt;
 ; Minimum allowed value is 1000&lt;br /&gt;
 ; Maximum allowed value is 10000&lt;br /&gt;
 ; Defaults to 0 (no check)&lt;br /&gt;
 ;expirecheck=0&lt;br /&gt;
 &lt;br /&gt;
 ; expiretime: integer: The time to live (in miliseconds) of a presence entry&lt;br /&gt;
 ; This parameter is ignored if expirecheck is 0&lt;br /&gt;
 ; Minimum allowed value is 10000&lt;br /&gt;
 ; Maximum allowed value is 300000&lt;br /&gt;
 ; Defaults to 60000&lt;br /&gt;
 ;expiretime=60000&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 [database]&lt;br /&gt;
 ; This section configures presence database access&lt;br /&gt;
 ; All queries, except for &amp;#039;remove_all&amp;#039;, will be ignored if presence expiring is disabled&lt;br /&gt;
 ; All queries will be ignored if database account is empty&lt;br /&gt;
 ; All queries, except for &amp;#039;remove_all&amp;#039;, must be set if presence expiring is enabled&lt;br /&gt;
 ;  Presence expiring will be automatically disabled otherwise&lt;br /&gt;
 &lt;br /&gt;
 ; account: string: The name of the database account&lt;br /&gt;
 ;account=&lt;br /&gt;
 &lt;br /&gt;
 ; remove_all: string: Database query used to remove all presences belonging to this node&lt;br /&gt;
 ; This query is run on startup&lt;br /&gt;
 ;remove_all=DELETE FROM presence WHERE nodename=&amp;#039;${nodename}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 ; insert_presence: string: Database query used to add a new contact instance&lt;br /&gt;
 ;insert_presence=INSERT INTO presence (nodename,contact,instance,data) \&lt;br /&gt;
 ;VALUES(&amp;#039;${nodename}&amp;#039;,&amp;#039;${contact}&amp;#039;,&amp;#039;${instance}&amp;#039;,&amp;#039;${data}&amp;#039;)&lt;br /&gt;
 &lt;br /&gt;
 ; update_presence: string: Database query used to update a contact&amp;#039;s instance&lt;br /&gt;
 ;update_presence=UPDATE presence SET data=&amp;#039;${data}&amp;#039; WHERE contact=&amp;#039;${contact}&amp;#039; AND instance=&amp;#039;${instance}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 ; remove_instance: string: Database query used to remove a contact&amp;#039;s instance presence&lt;br /&gt;
 ;remove_instance=DELETE FROM presence WHERE contact=&amp;#039;${contact}&amp;#039; AND instance=&amp;#039;${instance}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 ; remove_presence: string: Database query used to remove all instances belonging to a contact&lt;br /&gt;
 ;remove_presence=DELETE FROM presence WHERE contact=&amp;#039;${contact}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 ; select_instance: string: Database query used to load a specific instance&lt;br /&gt;
 ;select_instance=SELECT * FROM presence WHERE contact=&amp;#039;${contact}&amp;#039; AND instance=&amp;#039;${instance}&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 ; select_presence: string: Database query used to load all instances belonging to a given contact&lt;br /&gt;
 ;select_presence=SELECT * FROM presence WHERE contact=&amp;#039;${contact}&amp;#039;&lt;/div&gt;</summary>
		<author><name>Dana</name></author>
	</entry>
</feed>