<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML con formato previo Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLconformatoprevioCar
        {mso-style-name:"HTML con formato previo Car";
        mso-style-priority:99;
        mso-style-link:"HTML con formato previo";
        font-family:Consolas;
        color:black;}
span.EstiloCorreo19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Mircea et all,<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It was the configuration problem that Mircea mentioned. I was
using &#8216;Database&#8217; as the backend and it didn´t work, now with &#8216;OpenSER&#8217;
as the backend it seems to work fine.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I wonder why my previous configuration was not working, as the
configuration parameters were the same (subscribers table, xcap table, xmlrpc
URI&#8230;), I would also suggest to clarify this point somewhere in openSER
documentation as it was not obvious for me and it is an issue difficult to find
out.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Thanks for your help, and kind regards.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Gregorio.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>De:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'> Mircea Amarascu [mailto:mircea@ag-projects.com] <br>
<b>Enviado el:</b> viernes, 07 de marzo de 2008 9:25<br>
<b>Para:</b> Gregorio<br>
<b>CC:</b> users@lists.openser.org<br>
<b>Asunto:</b> Re: [OpenSER-Users] OpenSER + OpenXcap for pres-rules: no NOTIFY<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Hi Gregorio,<br>
<br>
This means there's a problem when OpenXCAP should send this command to OpenSER.
First, check if the XMLRPC server in OpenSER is working, if you can connect to
it. Then, make sure that in OpenXCAP's configuration file you have backend =
OpenSER under [Server] section, and that xmlrpc_url under [OpenSER] section is
set to the address where the XMLRPC server is listening.<br>
<br>
Gregorio wrote: <o:p></o:p></p>

<pre>Hi Anca et all,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I have repeated the same test described in the first name with the debug<o:p></o:p></pre><pre>level set to 7 and I couldn't find the string 'mi_refreshWatchers' in the<o:p></o:p></pre><pre>debbug messages. I can't attach the debug messages file because it is too<o:p></o:p></pre><pre>large.<o:p></o:p></pre><pre>I am using OpenSer 1.3 and openXcap 0.99. My configuration related to<o:p></o:p></pre><pre>presence is this:<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>modparam(&quot;presence|usrloc&quot;,<o:p></o:p></pre><pre>&quot;db_url&quot;,<a
href="mailto:mysql://openser:password@127.0.0.1/openser">&quot;mysql://openser:password@127.0.0.1/openser&quot;</a>)<o:p></o:p></pre><pre>modparam(&quot;presence&quot;, &quot;presentity_table&quot;, &quot;presentity&quot;) <o:p></o:p></pre><pre>modparam(&quot;presence&quot;, &quot;active_watchers_table&quot;, &quot;active_watchers&quot;) <o:p></o:p></pre><pre>modparam(&quot;presence&quot;, &quot;watchers_table&quot;, &quot;watchers&quot;)<o:p></o:p></pre><pre> modparam(&quot;presence&quot;, &quot;clean_period&quot;, 100) <o:p></o:p></pre><pre>modparam(&quot;presence&quot;, &quot;max_expires&quot;, 3600) <o:p></o:p></pre><pre>modparam(&quot;presence&quot;, &quot;server_address&quot;, &quot;sip:192.168.1.210:5060&quot;) <o:p></o:p></pre><pre>modparam(&quot;presence&quot;, &quot;fallback2db&quot;, 1)<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>#MI_XMLRPC<o:p></o:p></pre><pre>modparam(&quot;mi_xmlrpc&quot;, &quot;log_file&quot;, &quot;/var/log/openser-xmlrpc.log&quot;) <o:p></o:p></pre><pre>modparam(&quot;mi_xmlrpc&quot;, &quot;port&quot;, 8080)<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>modparam(&quot;pua&quot;, &quot;db_url&quot;, <a
href="mailto:mysql://openser:password@127.0.0.1/openser">&quot;mysql://openser:password@127.0.0.1/openser&quot;</a>)<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre># -- xcap params --<o:p></o:p></pre><pre>modparam(&quot;presence_xml&quot;, &quot;db_url&quot;,<o:p></o:p></pre><pre><a
href="mailto:mysql://openser:password@127.0.0.1/openser">&quot;mysql://openser:password@127.0.0.1/openser&quot;</a>)<o:p></o:p></pre><pre>modparam(&quot;presence_xml&quot;, &quot;force_active&quot;, 0) #0 Activates permissions for<o:p></o:p></pre><pre>subscriptions <o:p></o:p></pre><pre>modparam(&quot;presence_xml&quot;, &quot;xcap_table&quot;, &quot;xcap&quot;) modparam(&quot;presence_xml&quot;,<o:p></o:p></pre><pre>&quot;integrated_xcap_server&quot;, 1)<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>If someone needs the debug messages I can send it to personal mail accounts,<o:p></o:p></pre><pre>and thank you very much for helping.<o:p></o:p></pre><pre>Regards,<o:p></o:p></pre><pre>Gregorio.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>-----Mensaje original-----<o:p></o:p></pre><pre>De: <a
href="mailto:users-bounces@lists.openser.org">users-bounces@lists.openser.org</a> [<a
href="mailto:users-bounces@lists.openser.org">mailto:users-bounces@lists.openser.org</a>]<o:p></o:p></pre><pre>En nombre de Anca Vamanu<o:p></o:p></pre><pre>Enviado el: jueves, 06 de marzo de 2008 10:34<o:p></o:p></pre><pre>Para: greg.co<o:p></o:p></pre><pre>CC: <a
href="mailto:users@lists.openser.org">users@lists.openser.org</a><o:p></o:p></pre><pre>Asunto: Re: [OpenSER-Users] OpenSER + OpenXcap for pres-rules: no NOTIFY<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Hi,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I think you might be right about the problem source.<o:p></o:p></pre><pre>The real time update in OpenSER is triggered by OpenXCAP with an mi <o:p></o:p></pre><pre>command: &quot;mi_refreshWatchers&quot;. You could set the 'debug' in config file <o:p></o:p></pre><pre>to 7 and search in the log for 'mi_refreshWatchers' string and send the <o:p></o:p></pre><pre>debug messages printed while processing.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>regards,<o:p></o:p></pre><pre>Anca Vamanu<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>greg.co wrote:<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Hi all,<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I am stuck with a presence authorization problem using openSer 1.3 and<o:p></o:p></pre><pre>openXcap 0.9.9. I have read some similar posts in the mailing list but I<o:p></o:p></pre><pre>couldn't find a solution, so I'll try to explain my scenario to see if it<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>is<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>my mistake or it is a bug.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>I explain the scenario:<o:p></o:p></pre><pre>User test1 and test2 successfully register and sunscribe to<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>presence.winfo.<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Both receive a NOTIFY informing that their winfo subscriptions are active.<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>Test2 adds test1 as a contact so he subscribes to test1's presence, then<o:p></o:p></pre><pre>test1 receives a winfo NOTIFY requesting authorization for test2. Test1<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>does<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>it sending a XCAP document to openXcap the document is correctly stored in<o:p></o:p></pre><pre>openSer xcap table.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>User test2 receives a presence NOTIFY in pending state, even if user test1<o:p></o:p></pre><pre>publishes other presence state, the subscription state of test2 remains<o:p></o:p></pre><pre>pending forever.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>If we look the data base in that moment:<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+------+--------------------------+------------------+----------------+-----<o:p></o:p></pre><pre>----+----------------+----------------+----------+----------------------+---<o:p></o:p></pre><pre>------------+--------------------------------------+------------+-----------<o:p></o:p></pre><pre>--+-------------------+--------------+------------+--------+--------+-------<o:p></o:p></pre><pre>--+------------------------+------------------------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| id   | presentity_uri           | watcher_username | watcher_domain |<o:p></o:p></pre><pre>to_user | to_domain      | event          | event_id | to_tag<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| from_tag      | callid                               | local_cseq |<o:p></o:p></pre><pre>remote_cseq | contact           | record_route | expires    | status |<o:p></o:p></pre><pre>reason | version | socket_info            | local_contact          |<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+------+--------------------------+------------------+----------------+-----<o:p></o:p></pre><pre>----+----------------+----------------+----------+----------------------+---<o:p></o:p></pre><pre>------------+--------------------------------------+------------+-----------<o:p></o:p></pre><pre>--+-------------------+--------------+------------+--------+--------+-------<o:p></o:p></pre><pre>--+------------------------+------------------------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| 1177 | sip:test2@Mydomain       | test2            | Mydomain             |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>test2  <o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| Mydomain       | presence.winfo | NULL     | 10.2670.1209516359.7 |<o:p></o:p></pre><pre>cvvUDerBXK1Qc | b4c2997e-64ac-122b-2780-39a48cb53b8d |          1 |   <o:p></o:p></pre><pre>96206117 | sip:192.168.1.222 | NULL         | 1209519959 |      1 |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>|      <o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>1 | udp:192.168.1.210:5060 | sip:192.168.1.210:5060 |<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+------+--------------------------+------------------+----------------+-----<o:p></o:p></pre><pre>----+----------------+----------------+----------+----------------------+---<o:p></o:p></pre><pre>------------+--------------------------------------+------------+-----------<o:p></o:p></pre><pre>--+-------------------+--------------+------------+--------+--------+-------<o:p></o:p></pre><pre>--+------------------------+------------------------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><o:p>&nbsp;</o:p></pre><pre>WATCHERS<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+----+--------------------------+------------------+----------------+-------<o:p></o:p></pre><pre>---+--------+--------+---------------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| id | presentity_uri           | watcher_username | watcher_domain |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>event   <o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| status | reason | inserted_time |<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+----+--------------------------+------------------+----------------+-------<o:p></o:p></pre><pre>---+--------+--------+---------------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| 80 | sip:test1@Mydomain       | test2            | Mydomain       |<o:p></o:p></pre><pre>presence |      2 | NULL   |    1209516407 |<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+----+--------------------------+------------------+----------------+-------<o:p></o:p></pre><pre>---+--------+--------+---------------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre><o:p>&nbsp;</o:p></pre><pre>XCAP<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+-----+----------+----------------+-----------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>------------------------------------------------------------------+---------<o:p></o:p></pre><pre>-+----------------------------------+--------+-------------+------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| id  | username | domain         | doc<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| doc_type | etag                             | source | doc_uri     |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>port<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+-----+----------+----------------+-----------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>------------------------------------------------------------------+---------<o:p></o:p></pre><pre>-+----------------------------------+--------+-------------+------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>| 190 | test2    | Mydomain | &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<o:p></o:p></pre><pre>&lt;resource-lists xmlns=&quot;urn:ietf:params:xml:ns:resource-lists&quot;&gt;&lt;list<o:p></o:p></pre><pre>name=&quot;Users&quot;&gt;&lt;entry<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>uri=&quot;sip:test1@Mydomain&quot;&gt;&lt;display-name&gt;test1&lt;/display-name&gt;&lt;/entry&gt;&lt;/list&gt;&lt;/<o:p></o:p></pre><pre>resource-lists&gt;<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|        4 | 8ea82eeb40e00fcf626dbe17d1961ad5 |      0 | buddies.xml |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>0<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|<o:p></o:p></pre><pre>| 191 | test2    | Mydomain | &lt;?xml version='1.0'<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>encoding='UTF-8'?&gt;&lt;ruleset <o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>xmlns='urn:ietf:params:xml:ns:common-policy' <o:p></o:p></pre><pre>xmlns:pr='urn:ietf:params:xml:ns:pres-rules'&gt;&lt;rule<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>id='whitelist'&gt;&lt;conditions&gt;&lt;identity&gt;&lt;/identity&gt;&lt;/conditions&gt;&lt;actions&gt;&lt;pr:su<o:p></o:p></pre><pre>b-handling&gt;allow&lt;/pr:sub-handling&gt;&lt;/actions&gt;&lt;/rule&gt;&lt;rule<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>id='politeblocklist'&gt;&lt;conditions&gt;&lt;identity&gt;&lt;/identity&gt;&lt;/conditions&gt;&lt;actions&gt;<o:p></o:p></pre><pre>&lt;pr:sub-handling&gt;polite-block&lt;/pr:sub-handling&gt;&lt;/actions&gt;&lt;/rule&gt;&lt;rule<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>id='blacklist'&gt;&lt;conditions&gt;&lt;identity&gt;&lt;/identity&gt;&lt;/conditions&gt;&lt;actions&gt;&lt;pr:su<o:p></o:p></pre><pre>b-handling&gt;block&lt;/pr:sub-handling&gt;&lt;/actions&gt;&lt;/rule&gt;&lt;/ruleset&gt;<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|        2 | 46353b3b55d23d24fd4d9c87a5ff7ba4 |      0 | index.xml   |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>0<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|<o:p></o:p></pre><pre>| 192 | test1    | Mydomain | &lt;?xml version='1.0'<o:p></o:p></pre><pre>encoding='UTF-8'?&gt;&lt;resource-lists<o:p></o:p></pre><pre>xmlns='urn:ietf:params:xml:ns:resource-lists'&gt;&lt;list<o:p></o:p></pre><pre>name='Users'&gt;&lt;/list&gt;&lt;/resource-lists&gt;<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|        4 | f854971d48ed1a8913e20b3409a6b723 |      0 | buddies.xml |<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>0<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>|<o:p></o:p></pre><pre>| 193 | test1    | Mydomain | &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<o:p></o:p></pre><pre>&lt;ruleset xmlns=&quot;urn:ietf:params:xml:ns:common-policy&quot;<o:p></o:p></pre><pre>xmlns:pr=&quot;urn:ietf:params:xml:ns:pres-rules&quot;&gt;&lt;rule<o:p></o:p></pre><pre>id=&quot;whitelist&quot;&gt;&lt;conditions&gt;&lt;identity&gt;&lt;one<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>id=&quot;sip:test2@Mydomain&quot;/&gt;&lt;/identity&gt;&lt;/conditions&gt;&lt;actions&gt;&lt;pr:sub-handling&gt;a<o:p></o:p></pre><pre>llow&lt;/pr:sub-handling&gt;&lt;/actions&gt;&lt;/rule&gt;&lt;rule<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>id=&quot;politeblocklist&quot;&gt;&lt;conditions/&gt;&lt;actions&gt;&lt;pr:sub-handling&gt;polite-block&lt;/pr<o:p></o:p></pre><pre>:sub-handling&gt;&lt;/actions&gt;&lt;/rule&gt;&lt;rule<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>id=&quot;blacklist&quot;&gt;&lt;conditions/&gt;&lt;actions&gt;&lt;pr:sub-handling&gt;block&lt;/pr:sub-handling<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>&lt;/actions&gt;&lt;/rule&gt;&lt;/ruleset&gt;<o:p></o:p></pre><pre>                             |        2 | 8afbf7f0464de1273303bbea554404ff<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>|     <o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>0 | index.xml   |    0 |<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>+-----+----------+----------------+-----------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>----------------------------------------------------------------------------<o:p></o:p></pre><pre>------------------------------------------------------------------+---------<o:p></o:p></pre><pre>-+----------------------------------+--------+-------------+------+<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>We can see in 'WATCHERS' table that test2 has a pending presence<o:p></o:p></pre><pre>subscription but as can be seen in 'XCAP' table user test1 has authorized<o:p></o:p></pre><pre>test2 to see his presence.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>My thinking is that once test1 changes his authorization rule, the<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>presence<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>subscription should chage to active, am I right?<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>My conclusion is that something between the presence rules authorization<o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre>and<o:p></o:p></pre><pre>  <o:p></o:p></pre>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>the subscriptions is not working fine, or I did something wrong and I<o:p></o:p></pre><pre>haven't noticed it.<o:p></o:p></pre><pre>Please, I really need help with that as I have been stuck here for weeks.<o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>Thanks in advance!!<o:p></o:p></pre><pre>Gregorio<o:p></o:p></pre><pre>  <o:p></o:p></pre><pre>    <o:p></o:p></pre></blockquote>

<pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a
href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><o:p></o:p></pre><pre><a
href="http://lists.openser.org/cgi-bin/mailman/listinfo/users">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre><o:p>&nbsp;</o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Users mailing list<o:p></o:p></pre><pre><a
href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><o:p></o:p></pre><pre><a
href="http://lists.openser.org/cgi-bin/mailman/listinfo/users">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre><pre>  <o:p></o:p></pre>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>