Thanks Anca for looking into the problem.<br>Here are the details you asked for. I earlier didn't include the fallback2db parameter. now included it. <br>Now, the error changes to <br>"ERROR:presence:get_database_info: No matching subscription dialog found in database"<br>
<br>Here is my Config file:<br>
<br>
#--rls parameters --<br>
modparam("rls","db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>
modparam("rls", "server_address", "sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a>")<br>
modparam("rls", "xcap_root", "<a href="http://128.61.113.210/xcap-root:80" target="_blank">http://128.61.113.210/xcap-root:80</a>")<br>
modparam("rls|presence_xml", "integrated_xcap_server", 1)<br>
modparam("rls", "presence_server", "sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a>")<br>
modparam("rls", "to_presence_code", 10)<br>
modparam("rls", "waitn_time", 10)<br>
<br>
# ----- presence params -----<br>
/* uncomment the following lines if you want to enable presence */<br>
modparam("presence|presence_xml", "db_url",<br>
"mysql://opensips:opensipsrw@localhost/opensips")<br>
modparam("presence_xml", "force_active", 0)<br>
modparam("presence", "server_address", "sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a>")<br>
<br>
#-- mi_xmlrpc params --<br>
/*set the same port in OpenXCAP configuration file*/<br>
modparam("mi_xmlrpc","port", 8081)<br>
<br>
#--pua parameters --<br>
modparam("pua","db_url","mysql://opensips:opensipsrw@localhost/opensips")<br>
<br>----------------------------------*--------------------------------------<br>Also, another thing, I noted. <br>In watcher info of cnn which is buddy of 'alice', alice was listed when I first subscribe to the list.<br>
But subsequently from the next notify, 'alice' 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>-----------------------------&;--------------------------<br>
<br>Log file is attached with the mail.<br>It contains log from "DBG:core:parse_msg: method: <SUBSCRIBE>" with the first occurrence of the error.<br>------------------------------------------------*--------------------------------------------------<br>
Log of sip trace for alice-buddies. (adding the last notify message. other notify'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)-> <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: <<a href="mailto:sip%3Aalice-buddies@128.61.113.210">sip:alice-buddies@128.61.113.210</a>>;tag=10.19334.1235682406.1^M<br>To: <<a href="mailto:sip%3Aalice@128.61.113.210">sip:alice@128.61.113.210</a>>;tag=EtLEID3iRHnpXSPQXBwo.JW3UjEfawbp^M<br>
CSeq: 6 NOTIFY^M<br>Contact: <sip:arQ7pqMfhm@128.61.113.210:59003;transport=udp>^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"><<a href="mailto:anca@opensips.org" target="_blank">anca@opensips.org</a>></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: <SUBSCRIBE>.<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 'alice' with two buddies. I am able to subscribe to the buddy list.<br>
But, when one of the buddy publishes it presence information, 'alice' 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>
"<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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> <mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> <<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>> on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> <<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>> on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> for event presence"<div>
<br>
<br>
sometimes, I get this error as well, "Feb 26 12:44:03 [7918] ERROR:rls:rls_notify_callback: record not found in hash table".<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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> <mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> <<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>> on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> <<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>> on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> <mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> <<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>> on behalf of <a href="mailto:sip%3Abbc@128.61.113.210" target="_blank">sip:bbc@128.61.113.210</a> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> via sip:<a href="http://128.61.113.210:5060" target="_blank">128.61.113.210:5060</a> <<a href="http://128.61.113.210:5060" target="_blank">http://128.61.113.210:5060</a>> on behalf of <a href="mailto:sip%3Acnn@128.61.113.210" target="_blank">sip:cnn@128.61.113.210</a> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Acnn@128.61.113.210" target="_blank">sip%3Acnn@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Abbc@128.61.113.210" target="_blank">sip%3Abbc@128.61.113.210</a>> 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> <mailto:<a href="mailto:sip%253Aalice@128.61.113.210" target="_blank">sip%3Aalice@128.61.113.210</a>> for resource list uri <a href="mailto:sip%3Aalice-buddies@128.61.113.210" target="_blank">sip:alice-buddies@128.61.113.210</a> <mailto:<a href="mailto:sip%253Aalice-buddies@128.61.113.210" target="_blank">sip%3Aalice-buddies@128.61.113.210</a>> 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>