[OpenSER-Devel] presence errors/warnings

Juha Heinanen jh at tutpro.com
Fri Aug 24 10:57:07 CEST 2007


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



More information about the Devel mailing list