<br><font size=2 face="sans-serif">Hi there, </font>
<br>
<br><font size=2 face="sans-serif">I'm encountering this error, when I
import a presence rule for a particular user. </font>
<br>
<br><font size=2 face="sans-serif">This is the scenario: </font>
<br>
<br>
<br><font size=2 face="sans-serif">Presence rules for user pepe: </font>
<br>
<br><font size=2 face="sans-serif"><?xml version="1.0" encoding="UTF-8"?></font>
<br><font size=2 face="sans-serif"><ruleset xmlns="urn:ietf:params:xml:ns:common-policy"
xmlns:pr="urn:ietf:params:xml:ns:pres-rules"></font>
<br><font size=2 face="sans-serif"> <rule
id="blacklist"></font>
<br><font size=2 face="sans-serif">
<conditions></font>
<br><font size=2 face="sans-serif">
<identity></font>
<br><font size=2 face="sans-serif">
<one id = "sip:gustavo@sip2.fedetec.es"/></font>
<br><font size=2 face="sans-serif">
</identity></font>
<br><font size=2 face="sans-serif">
</conditions></font>
<br><font size=2 face="sans-serif">
<actions></font>
<br><font size=2 face="sans-serif">
<pr:sub-handling>block</pr:sub-handling></font>
<br><font size=2 face="sans-serif">
</actions></font>
<br><font size=2 face="sans-serif">
<transformations/></font>
<br><font size=2 face="sans-serif"> </rule></font>
<br><font size=2 face="sans-serif"></ruleset></font>
<br>
<br>
<br><font size=2 face="sans-serif">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)</font>
<br>
<br><font size=2 face="sans-serif">Any clues?</font>
<br>
<br><font size=2 face="sans-serif">Ta</font>
<br>
<br>
<br><font size=2 face="sans-serif">Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]:
DBG:presence:mi_refreshWatchers: start</font>
<br><font size=2 face="sans-serif">Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]:
DBG:presence:mi_refreshWatchers: event 'presence'</font>
<br><font size=2 face="sans-serif">Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]:
DBG:presence:search_event: start event= [presence]</font>
<br><font size=2 face="sans-serif">Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]:
ERROR:presence:mi_refreshWatchers: no rules doc found for the user</font>
<br><font size=2 face="sans-serif">Mar 17 14:58:33 linux1 /usr/sbin/opensips[30181]:
ERROR:mi_xmlrpc:default_method: command (refreshWatchers) processing failed.</font>
<br>
<br><font size=2 face="sans-serif"><br>
</font>
<table>
<tr>
<td valign=top>
<td><img src=cid:_2_03B5224403B51E44004D8030C125757C>
<tr>
<td rowspan=3><img src=cid:_1_03B536D803B53588004D8030C125757C>
<td valign=top><font size=2 color=#2f2f2f face="Arial"><b>Gustavo Santana
Robledo<br>
Departamento de I+D </b></font>
<tr valign=top>
<td><font size=1 color=#3f621f face="TheSansCorrespondence">Homeland Security<br>
FEDETEC - Efectivos de Técnicas S.A.<br>
Autovía de Andalucía Km 12,700<br>
Polígono Industrial Los Ángeles<br>
28906 - Getafe - Madrid<br>
España</font>
<tr valign=top>
<td><font size=1 color=#3f621f face="TheSansCorrespondence">Tel + 34 91
453 24 00 - ext: 4137<br>
Fax + 34 91 724 30 14<br>
e-mail: </font><a href=mailto:gsantana@fedetec.es><font size=1 color=blue face="TheSansCorrespondence"><u>gsantana@fedetec.es</u></font></a></table>
<br>