[OpenSER-Devel] presence duplicate entry error

Juha Heinanen jh at tutpro.com
Fri Aug 24 09:39:16 CEST 2007


i'll try again without word subscribe on subject line (which caused the
email being blocked).

handling subscribe causes the following error:

Aug 24 10:31:29 localhost /usr/sbin/openser[5962]: submit_query: Duplicate entry 'sip:jh at vm.test.fi-jh-test.fi' for key 2
Aug 24 10:31:29 localhost /usr/sbin/openser[5962]: db_insert: Error while submitting query
Aug 24 10:31:29 localhost /usr/sbin/openser[5962]: PRESENCE: subscribe:ERROR while updating watchers table

i do have en entry in watchers table where

p_uri = sip:jh at vm.test.fi
w_user = jh
w_domain = test.fi
event = presence
subs_status = 1
reason = NULL
inserted_time = 1187602182

why does openser try to insert an entry that already exists?  should it
try to update it instead?

-- juha




More information about the Devel mailing list