Hi,<br><br>First of all we would like to thank the whole opensips team. For testing our client, we are mainly interested in the presence and rls topics and found that a pretty good set of features is available right now, so thanks for your job.<br>
<br>During our tests we encountered an issue running opensips 1.6 in rls-server mode (simple presence works fine). It seems to us it is just a configuration issue or a bug in the routing rules, but we can't find out it.<br>
<br>From the client point of view I cannot succeed in receiving presence Notify messages body, only rlmi parts are provided.<br><br>In fact it seems rls_handle_subscribe has issues when trying to send Subscribes to Presence on behalf of rls. I have systematically errors "presence:get_stored_info: record not found in hash_table" and sometimes "Duplicate entry
'sip:alice-list@promethee.test.com-cbb99ea81711c30ed9c0edf6' for
key 2"<br><br>Typically:<br>Apr 26 13:45:57 [20047] ERROR:db_mysql:db_mysql_do_prepared_query: driver error: Duplicate entry 'sip:alice-list@promethee.test.com-cbb99ea81711c30ed9c0edf6' for key 2<br>Apr 26 13:45:57 [20047] ERROR:presence:update_db_subs: unsuccessful sql insert<br>
Apr 26 13:46:01 [20045] ERROR:presence:get_stored_info: record not found in hash_table<br>Apr 26 13:46:01 [20045] ERROR:presence:handle_subscribe: getting stored info<br>Apr 26 13:46:11 [20045] ERROR:presence:get_stored_info: record not found in hash_table<br>
Apr 26 13:46:11 [20045] ERROR:presence:handle_subscribe: getting stored info<br>Apr 26 13:46:21 [20045] ERROR:presence:get_stored_info: record not found in hash_table<br>Apr 26 13:46:21 [20045] ERROR:presence:handle_subscribe: getting stored info<br>
Apr 26 14:25:40 [20586] ERROR:presence:get_stored_info: record not found in hash_table<br>Apr 26 14:25:40 [20586] ERROR:presence:handle_subscribe: getting stored info<br>Apr 26 14:25:45 [20586] ERROR:presence:get_stored_info: record not found in hash_table<br>
Apr 26 14:25:45 [20586] ERROR:presence:handle_subscribe: getting stored info<br>Apr 26 14:25:50 [20586] ERROR:presence:get_stored_info: record not found in hash_table<br>Apr 26 14:25:50 [20586] ERROR:presence:handle_subscribe: getting stored info<br>
Apr 26 14:25:55 [20586] ERROR:presence:get_stored_info: record not found in hash_table<br>Apr 26 14:25:55 [20586] ERROR:presence:handle_subscribe: getting stored info<br>Apr 26 14:26:05 [20586] ERROR:presence:get_stored_info: record not found in hash_table<br>
Apr 26 14:26:05 [20586] ERROR:presence:handle_subscribe: getting stored info<br>Apr 26 14:26:09 [20586] ERROR:presence:get_stored_info: record not found in hash_table<br>Apr 26 14:26:09 [20586] ERROR:presence:handle_subscribe: getting stored info<br>
<br>My main settings for presence and rls modules are:<br><br>modparam("presence|presence_xml", "db_url","mysql://opensips:opensipsrw@localhost/opensips")<br>modparam("presence", "server_address", "<a href="http://sip:pres@10.62.0.155:5060">sip:pres@10.62.0.155:5060</a>")<br>
modparam("presence", "clean_period", 30)<br>modparam("presence_xml", "integrated_xcap_server", 1)<br><br>modparam("pua", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>
<br># -- rls parameters --<br>modparam("rls","db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>modparam("rls", "server_address", "<a href="http://sip:rls@10.62.0.155:5060">sip:rls@10.62.0.155:5060</a>")<br>
modparam("rls", "integrated_xcap_server", 1)<br>modparam("rls", "xcap_root","<a href="http://promethee.test.com:8888/xcap-root">http://promethee.test.com:8888/xcap-root</a>" )<br>
modparam("rls", "presence_server", "<a href="http://sip:pres@10.62.0.155:5060">sip:pres@10.62.0.155:5060</a>")<br>modparam("rls", "to_presence_code", 10)<br>modparam("xcap_client","periodical_query",1)<br>
modparam("xcap_client","query_period",10)<br>modparam("xcap_client","db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br><br>I can send you the routing rules if neeeded.<br>
<br>Could you please help us? <br><br>Many thanks<br><br>Andrew<br>