<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Il 17/02/11 17.57, Anca Vamanu ha scritto:
<blockquote cite="mid:4D5D5366.50304@opensips.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
XCAP server does not store the published presence state, but only
a permanent state - through pidf manipulation (RFC 4827) ( not
sure though what clients support this). <br>
So in fact for your design, you should maybe query the published
state in presence server and also check if the user has some
default state set in XCAP server.<br>
One of our development projects this year will be add an event
notification interface to OpenSIPS. And presence status change
events will also be included. It will be announced soon, stay
tuned :) . Then it will be possible to have an external
application that will be notified when a status change occurs for
a user, maybe also say which was the previous status. And your
external application can do anything with it - insert/delete a row
usr_preferences for example.<br>
</blockquote>
HI Anca,<br>
thank you for the explanation.<br>
I'm waiting for the event notification interface, which seems very
interesting for this purpose.<br>
In the meanwhile I'll take a deeper dive into all needed presence
components and actions required.<br>
<br>
Best Regards,<br>
Carlo Dimaggio<br>
</body>
</html>