<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://docs.yate.ro/wiki/skins/common/feed.css?303"?>
<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-04-06T13:01:52Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.1</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 class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&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;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ; select_presence: string: Database query used to load all instances belonging to a given contact&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ; 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ;select_presence=SELECT * FROM presence WHERE contact='${contact}'&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; ;select_presence=SELECT * FROM presence WHERE contact='${contact}'&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; 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;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; 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 class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&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;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''general'' configures &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''general'' configures&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;: - the number of lists created to store presence information;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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 class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&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;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''general'' configures &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''general'' configures &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/del&gt;- the number of lists created to store presence information;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;* &lt;/del&gt;- the time to live (in miliseconds) of a presence entry&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''database'' 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* ''database'' 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='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&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: * ''general'' 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;
* ''general'' 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;
* ''database'' 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 'remove_all', 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 'remove_all', 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='${nodename}'&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('${nodename}','${contact}','${instance}','${data}')&lt;br /&gt;
 &lt;br /&gt;
 ; update_presence: string: Database query used to update a contact's instance&lt;br /&gt;
 ;update_presence=UPDATE presence SET data='${data}' WHERE contact='${contact}' AND instance='${instance}'&lt;br /&gt;
 &lt;br /&gt;
 ; remove_instance: string: Database query used to remove a contact's instance presence&lt;br /&gt;
 ;remove_instance=DELETE FROM presence WHERE contact='${contact}' AND instance='${instance}'&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='${contact}'&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='${contact}' AND instance='${instance}'&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='${contact}'&lt;/div&gt;</summary>
		<author><name>Dana</name></author>	</entry>

	</feed>