[OpenSER-Devel] presence errors/warnings
Anca-Maria Vamanu
anca at voice-system.ro
Fri Aug 24 12:06:33 CEST 2007
It seems that the database connection is closed before the main process
calls destroy() and updates the info from cache in database. The restore
mechanism does not work and for the first Subscribe messages received
after restart no record in found and therefore the messages.
This problem needs some more investigation.
Anca
Juha Heinanen wrote:
> with latest svn trunk version, i'm seeing these kind of error message in
> syslog:
>
> Aug 24 11:49:22 localhost /usr/sbin/openser[5138]: Handling in-dialog SUBSCRIBE to <sip:192.98.101.10:5090>
> Aug 24 11:49:22 localhost /usr/sbin/openser[5138]: PRESENCE: get_stored_info: ERROR Record not found in hash_table
> Aug 24 11:49:22 localhost /usr/sbin/openser[5138]: PRESENCE: handle_subscribe:error while getting stored info
> Aug 24 11:49:22 localhost /usr/sbin/openser[5138]: WARNING: script writer didn't release transaction
>
> is this ERROR something that should not happen or can it be caused by
> a bogus subscribe request?
>
> then about the WARNING, i don't understand how it is possible that i get
> it, because my script does release the transaction:
>
> if (method == "SUBSCRIBE") {
> if (! t_newtran()) {
> xlog("L_ERR", "Could not create new transaction for <$rm> to <$ru>\n");
> sl_send_reply("500","Could not create new transaction");
> exit;
> };
> xlog("L_INFO", "Handling in-dialog SUBSCRIBE to <$ru>\n");
> if (!handle_subscribe()) {
> xlog("L_ERR", "SUBSCRIBE to <$ru> failed\n");
> t_reply("500", "SUBSCRIBE failed");
> };
> t_release();
> exit;
> } else {
> ...
>
> -- juha
>
> _______________________________________________
> Devel mailing list
> Devel at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/devel
>
>
More information about the Devel
mailing list