Hello All, I am hoping the authors of the RLS/PUA modules can answer this question since I am not sure what's going on. I have the rls module enabled, with the following config spec:
# ------rls module params ------ modparam("rls", "db_url", DBURL) modparam("rls", "db_mode", 2) modparam("rls", "integrated_xcap_server", 1) modparam("rls", "to_presence_code" ,10) modparam("rls", "server_address", "sip:rls@ip:5060")
#!endif
and modparam("pua_reginfo", "default_domain", "ip") modparam("pua_reginfo", "server_address", "sip:reginfo@ip") modparam("pua", "db_mode", 2)
So for both I have DB_MODE set to DB ONLY. For whatever reason, even though all I am doing is bringing up my client I see over 250+ entries in the rls_watchers table for the same watcher and over 100 entries in the pua list table for the same presentity?
Anyone have any idea what would be triggering this. There is definitely not anymore more than the normal messaging going on between the client and the server.
Only error I see in the syslog: Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11745]: ERROR: db_mysql [km_dbase.c:122]: driver error on query: Duplicate entry '1350937406' for key 'expires_idx' Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11744]: DEBUG: presence [subscribe.c:1216]: subs->contact= sip:rls@ip:5060 - len = 25 Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11761]: DEBUG: <core> [db_val.c:117]: converting STRING [8475551001] Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11746]: DEBUG: <core> [parser/msg_parser.c:626]: method: <SUBSCRIBE> Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11745]: ERROR: <core> [db_query.c:210]: error while submitting query Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11744]: DEBUG: rls [rls.h:241]: did= 41826031568472f9-11752@127.0.0.1;533cb9e91f4b999cf76861cbb9ed54ed-93a3;a6a1c5f60faecf035a1ae5b6e96e979a-464d Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11761]: DEBUG: <core> [db_val.c:117]: converting STRING [10.50.251.12] Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11746]: DEBUG: <core> [parser/msg_parser.c:628]: uri: sip:8475551001@ip Oct 22 15:22:22 RCS-Presence /usr/local/sbin/kamailio[11745]: ERROR: pua [pua_db.c:1149]: DB insert failed