<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Andrew,<div><br></div><div>When the pres-rules document for a user changes in OpenXCAP, the presence agent in OpenSER must be informed because it might need to notify at that point certain watchers based on what the policy contains. For example a new watcher will&nbsp;immediately&nbsp;receive a presence status update when you grant him the rights.<div><br></div><div>When you do a put on OpenXCAP for pres-rules document, the server contacts OpenSER using the management interface for this purpose.</div><div><br></div><div>Adrian</div><div><div><br><div><div>On Sep 20, 2008, at 1:52 PM, Andrew Pogrebennyk wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>What does it mean if OpenXCAP 1.0 throws this error?<br><br>Error while notifying OpenSER management interface for user <br><a href="mailto:000100@domain.com">000100@domain.com</a>: &lt;Fault -500: 'Command (refreshWatchers) processing <br>failed.\n'><br>Stopping factory &lt;twisted.web.xmlrpc._QueryFactory instance at 0x85cd68c><br><br>In OpenSIPS log I see that it can not find rules doc for the user:<br><br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>DBG:mi_xmlrpc:default_method: starting up.....<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>DBG:mi_xmlrpc:default_method: done looking the mi command.<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>DBG:mi_xmlrpc:default_method: done parsing the mi tree.<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>DBG:presence:mi_refreshWatchers: start<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>DBG:presence:mi_refreshWatchers: event 'presence'<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: DBG:presence:search_event: <br>start event= [presence]<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>ERROR:presence:mi_refreshWatchers: no rules doc found for the user<br>Sep 20 21:06:41 home ./sbin/opensips[9261]: <br>ERROR:mi_xmlrpc:default_method: command (refreshWatchers) processing failed.<br><br>But why does it look for it in the first place? OpenSIPS and OpenXCAP <br>are running on the different servers. Thanks!<br><br>-- <br>Sincerely,<br>Andrew Pogrebennyk<br><br>_______________________________________________<br>Devel mailing list<br><a href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a><br><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br></div></blockquote></div><br></div></div></div></body></html>