[OpenSIPS-Users] ERROR:presence:mi_refreshWatchers: no rules doc found for the user

Gustavo Santana Robledo gsantana at fedetec.es
Tue Mar 17 15:06:49 CET 2009


Hi there, 

I'm encountering this error, when I import a presence rule for a 
particular user. 

This is the scenario: 


Presence rules for user pepe: 

<?xml version="1.0" encoding="UTF-8"?>
<ruleset xmlns="urn:ietf:params:xml:ns:common-policy" 
xmlns:pr="urn:ietf:params:xml:ns:pres-rules">
        <rule id="blacklist">
                <conditions>
                        <identity>
                                <one id = "sip:gustavo at sip2.fedetec.es"/>
                        </identity>
                </conditions>
                <actions>
                        <pr:sub-handling>block</pr:sub-handling>
                </actions>
                <transformations/>
        </rule>
</ruleset>


I can see that the xcap entry gets written to the DB, however, the rule 
doesn´t take effect. Checking the logs, I can see that opensips is 
complaining that I can´t find the rules doc (see below)

Any clues?

Ta


Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]: 
DBG:presence:mi_refreshWatchers: start
Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]: 
DBG:presence:mi_refreshWatchers: event 'presence'
Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]: 
DBG:presence:search_event: start event= [presence]
Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]: 
ERROR:presence:mi_refreshWatchers: no rules doc found for the user
Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]: 
ERROR:mi_xmlrpc:default_method: command (refreshWatchers) processing 
failed.






Gustavo Santana Robledo
Departamento de I+D 
Homeland Security
FEDETEC - Efectivos de Técnicas S.A.
Autovía de Andalucía Km 12,700
Polígono Industrial Los Ángeles
28906 - Getafe - Madrid
España
Tel + 34 91 453 24 00 - ext: 4137
Fax + 34 91 724 30 14
e-mail: gsantana at fedetec.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20090317/fcbc9209/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 13717 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20090317/fcbc9209/attachment-0001.jpeg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 120 bytes
Desc: not available
Url : http://lists.opensips.org/pipermail/users/attachments/20090317/fcbc9209/attachment-0001.gif 


More information about the Users mailing list