[OpenSIPS-Users] [OpenSIPS-Devel] OpenXCAP refreshWatchers error

Adrian Georgescu ag at ag-projects.com
Sat Sep 20 23:40:00 CEST 2008


Hi Andrew,

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 immediately receive a  
presence status update when you grant him the rights.

When you do a put on OpenXCAP for pres-rules document, the server  
contacts OpenSER using the management interface for this purpose.

Adrian

On Sep 20, 2008, at 1:52 PM, Andrew Pogrebennyk wrote:

> Hi,
>
> What does it mean if OpenXCAP 1.0 throws this error?
>
> Error while notifying OpenSER management interface for user
> 000100 at domain.com: <Fault -500: 'Command (refreshWatchers) processing
> failed.\n'>
> Stopping factory <twisted.web.xmlrpc._QueryFactory instance at  
> 0x85cd68c>
>
> In OpenSIPS log I see that it can not find rules doc for the user:
>
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> DBG:mi_xmlrpc:default_method: starting up.....
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> DBG:mi_xmlrpc:default_method: done looking the mi command.
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> DBG:mi_xmlrpc:default_method: done parsing the mi tree.
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> DBG:presence:mi_refreshWatchers: start
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> DBG:presence:mi_refreshWatchers: event 'presence'
> Sep 20 21:06:41 home ./sbin/opensips[9261]: DBG:presence:search_event:
> start event= [presence]
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> ERROR:presence:mi_refreshWatchers: no rules doc found for the user
> Sep 20 21:06:41 home ./sbin/opensips[9261]:
> ERROR:mi_xmlrpc:default_method: command (refreshWatchers) processing  
> failed.
>
> But why does it look for it in the first place? OpenSIPS and OpenXCAP
> are running on the different servers. Thanks!
>
> -- 
> Sincerely,
> Andrew Pogrebennyk
>
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20080920/179fc483/attachment.htm 


More information about the Users mailing list