Thanks Anca for looking into the problem.<br>Here are the details you asked for. I earlier didn&#39;t include the fallback2db parameter. now included it. <br>Now, the error changes to <br>&quot;ERROR:presence:get_database_info: No matching subscription dialog found in database&quot;<br>


<br>Here is my Config file:<br>
<br>
#--rls parameters --<br>
modparam(&quot;rls&quot;,&quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)<br>
modparam(&quot;rls&quot;, &quot;server_address&quot;, &quot;sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a>&quot;)<br>
modparam(&quot;rls&quot;, &quot;xcap_root&quot;, &quot;<a href="http://128.61.113.210/xcap-root:80" target="_blank">http://128.61.113.210/xcap-root:80</a>&quot;)<br>
modparam(&quot;rls|presence_xml&quot;, &quot;integrated_xcap_server&quot;, 1)<br>
modparam(&quot;rls&quot;, &quot;presence_server&quot;, &quot;sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a>&quot;)<br>
modparam(&quot;rls&quot;, &quot;to_presence_code&quot;, 10)<br>
modparam(&quot;rls&quot;, &quot;waitn_time&quot;, 10)<br>
<br>
# ----- presence params -----<br>
/* uncomment the following lines if you want to enable presence */<br>
modparam(&quot;presence|presence_xml&quot;, &quot;db_url&quot;,<br>
        &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)<br>
modparam(&quot;presence_xml&quot;, &quot;force_active&quot;, 0)<br>
modparam(&quot;presence&quot;, &quot;server_address&quot;, &quot;sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a>&quot;)<br>
<br>
#-- mi_xmlrpc params --<br>
/*set the same port in OpenXCAP configuration file*/<br>
modparam(&quot;mi_xmlrpc&quot;,&quot;port&quot;, 8081)<br>
<br>
#--pua parameters --<br>
modparam(&quot;pua&quot;,&quot;db_url&quot;,&quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)<br>
<br>----------------------------------*--------------------------------------<br>Also, another thing, I noted. <br>In watcher info of cnn which is buddy of &#39;alice&#39;, alice was listed when I first subscribe to the list.<br>


But subsequently from the next notify, &#39;alice&#39; disappears from that list. <br>----<br>Received NOTIFY:<br>----<br>Active watchers:<br>  <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a><br>

Terminated watchers:<br>
Pending watchers:<br>Waiting watchers:<br>----<br>Received NOTIFY:<br>----<br>Active watchers:<br>Terminated watchers:<br>Pending watchers:<br>Waiting watchers:<br>----<br>-----------------------------&amp;;--------------------------<br>


<br>Log file is attached with the mail.<br>It contains log from &quot;DBG:core:parse_msg:  method:  &lt;SUBSCRIBE&gt;&quot; with the first occurrence of the error.<br>------------------------------------------------*--------------------------------------------------<br>
Log of sip trace for alice-buddies. (adding the last notify message. other notify&#39;s are similar in content)<br>---------------------------------------------------*-------------------------------------------<br>SENDING: Packet 24, +0:24:35.137175<br>
2009-02-26 16:31:21.812429: <a href="http://128.61.113.210:59003">128.61.113.210:59003</a> -(UDP)-&gt; <a href="http://128.61.113.210:5060">128.61.113.210:5060</a><br>SIP/2.0 200 OK^M<br>Via: SIP/2.0/UDP 128.61.113.210;received=128.61.113.210;branch=z9hG4bK0.2a071b83.0^M<br>
Call-ID: I3mLPr-0nQkBLFy6swEoAI3NxNQxGFHx^M<br>From: &lt;<a href="mailto:sip%3Aalice-buddies@128.61.113.210">sip:alice-buddies@128.61.113.210</a>&gt;;tag=10.19334.1235682406.1^M<br>To: &lt;<a href="mailto:sip%3Aalice@128.61.113.210">sip:alice@128.61.113.210</a>&gt;;tag=EtLEID3iRHnpXSPQXBwo.JW3UjEfawbp^M<br>
CSeq: 6 NOTIFY^M<br>Contact: &lt;sip:arQ7pqMfhm@128.61.113.210:59003;transport=udp&gt;^M<br>Allow: SUBSCRIBE, NOTIFY, PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, MESSAGE^M<br>Supported: 100rel^M<br>Content-Length:  0^M<br><br>
<br>Please let me know, if I need to add any other details.<br><br>Thanks,<br>Visu<br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 1:23 PM, Anca Vamanu <span dir="ltr">&lt;<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Visu,<br>
<br>
I have now tested RLS for 1.4.X branch and sipsimpleclient and did not saw that error. Please give me more details.<br>
What is the configuration that you use? Do you set the fallback2db parameter? Best if you print here the parameters for presence and rls modules.<br>
Also can you please increase the debug level to 6 and the print here the part of the log that contains the errors - for that process begining with the processing of the message - you should search upwards for a line containing DBG:core:parse_msg:  method:  &lt;SUBSCRIBE&gt;.<br>



<br>
regards,<br>
Anca<br>
<br>
<br>
Visu.M wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>
Hi,<br>
<br>
Folks, I am using opensips with rls module integrated with openxcap server. Client is sipsimpleclient.<br>
I am playing around RLS and openXCAP to see the basic functionality of RLS module.<br>
<br>
I created a buddy list for &#39;alice&#39; with two buddies. I am able to subscribe to the buddy list.<br>
But, when one of the buddy publishes it presence information, &#39;alice&#39; is not receiving any notifications.<br>
<br>
On checking through the server logs, I am getting the following error message in the server.<br>
Here the info says that alice subscription has got expanded.<br>
subsequent message says that send notify request to alice on behalf of one of the buddy. But no notification is received in the client.<br>
Then the error message and notification cycle continues.<br>
<br>
I am using 1.4.4 version of Opensips. Can someone throw some light?<br>
Is the issue with config file (I dont think so) or is it some other error.<br>
Please let me know.<br>
<br>
Thanks,<br>
Visu M<br>
<br>
&quot;<br></div>
Feb 26 11:54:22 [7906] INFO:rls:resource_subscriptions: Subscription from <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>&gt; expanded to 2 contacts<div>


<br>
Feb 26 11:54:22 [7906] ERROR:presence:get_stored_info: record not found in hash_table<br>
Feb 26 11:54:22 [7906] ERROR:presence:handle_subscribe: getting stored info<br>
Feb 26 11:54:22 [7906] ERROR:presence:get_stored_info: record not found in hash_table<br>
Feb 26 11:54:22 [7906] ERROR:presence:handle_subscribe: getting stored info<br></div>
Feb 26 11:54:22 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> &lt;<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>&gt; on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:54:22 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> &lt;<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>&gt; on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; for event presence&quot;<div>


<br>
<br>
sometimes, I get this error as well, &quot;Feb 26 12:44:03 [7918] ERROR:rls:rls_notify_callback: record not found in hash table&quot;.<br>
<br>
<br>
------------------complete Log file------------------<br>
Feb 26 11:40:12 [7906] WARNING:core:main: no fork mode<br>
Feb 26 11:40:12 [7906] INFO:core:init_tcp: using epoll_lt as the TCP io watch method (auto detected)<br>
Feb 26 11:40:12 [7906] NOTICE:core:main: version: opensips 1.4.4-notls (i386/linux)<br>
Feb 26 11:40:12 [7906] INFO:core:main: using 32 Mb shared memory<br>
Feb 26 11:40:12 [7906] INFO:core:main: using 1 Mb private memory per process<br>
Feb 26 11:40:12 [7906] INFO:sl:mod_init: Initializing StateLess engine<br>
Feb 26 11:40:12 [7906] INFO:tm:mod_init: TM - initializing...<br>
Feb 26 11:40:12 [7906] INFO:maxfwd:mod_init: initializing...<br>
Feb 26 11:40:12 [7906] INFO:usrloc:ul_init_locks: locks array size 512<br>
Feb 26 11:40:12 [7906] INFO:registrar:mod_init: initializing...<br>
Feb 26 11:40:12 [7906] INFO:textops:mod_init: initializing...<br>
Feb 26 11:40:12 [7906] INFO:xlog:mod_init: initializing...<br>
Feb 26 11:40:12 [7906] INFO:acc:mod_init: initializing...<br>
Feb 26 11:40:12 [7906] NOTICE:presence:mod_init: initializing module ...<br>
Feb 26 11:40:13 [7906] INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb<br>
Feb 26 11:40:13 [7918] NOTICE:presence:child_init: init_child [-1]  pid [7918]<br>
Feb 26 11:40:13 [7919] INFO:mi_xmlrpc:xmlrpc_process: starting xmlrpc server<br>
Feb 26 11:40:13 [7906] NOTICE:presence:child_init: init_child [1]  pid [7906]<br></div>
Feb 26 11:46:59 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:zRyKH7i8zw@128.61.113.210:36252;transport=udp on behalf of <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:49:27 [7906] INFO:rls:resource_subscriptions: Subscription from <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>&gt; expanded to 2 contacts<br>



Feb 26 11:49:27 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> &lt;<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>&gt; on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:49:27 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> &lt;<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>&gt; on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:50:31 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; via sip:SfXhTToFOs@128.61.113.210:36762;transport=udp on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; for event presence.winfo<br>



Feb 26 11:51:31 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; via sip:xol3nysRsC@128.61.113.210:49318;transport=udp on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; for event presence.winfo<br>



Feb 26 11:53:33 [7918] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:zRyKH7i8zw@128.61.113.210:36252;transport=udp on behalf of <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:54:22 [7906] INFO:rls:resource_subscriptions: Subscription from <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>&gt; expanded to 2 contacts<div>


<br>
Feb 26 11:54:22 [7906] ERROR:presence:get_stored_info: record not found in hash_table<br>
Feb 26 11:54:22 [7906] ERROR:presence:handle_subscribe: getting stored info<br>
Feb 26 11:54:22 [7906] ERROR:presence:get_stored_info: record not found in hash_table<br>
Feb 26 11:54:22 [7906] ERROR:presence:handle_subscribe: getting stored info<br></div>
Feb 26 11:54:22 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> &lt;<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>&gt; on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:54:22 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> &lt;<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>&gt; on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; for event presence<br>



Feb 26 11:55:26 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; via sip:SfXhTToFOs@128.61.113.210:36762;transport=udp on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>&gt; for event presence.winfo<br>



Feb 26 11:56:26 [7906] INFO:presence:send_notify_request: NOTIFY <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; via sip:xol3nysRsC@128.61.113.210:49318;transport=udp on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>&gt; for event presence.winfo<br>



Feb 26 11:59:17 [7906] INFO:rls:resource_subscriptions: Subscription from <a href="mailto:sip%3Aalice@128.61.113.210" target="_blank">sip:alice@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>&gt; for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> &lt;mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>&gt; expanded to 2 contacts<div>


<br>
Feb 26 11:59:17 [7906] ERROR:presence:get_stored_info: record not found in hash_table<br>
Feb 26 11:59:17 [7906] ERROR:presence:handle_subscribe: getting stored info<br>
Feb 26 11:59:17 [7906] ERROR:presence:get_stored_info: record not found in hash_table<br>
Feb 26 11:59:17 [7906] ERROR:presence:handle_subscribe: getting stored info<br>
---------------------------*----------------------------------------------------------<br></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
  <br>
</blockquote>
<br>
</blockquote></div><br>