New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
presence: error "transaction already started" when updating watcher records on db-only mode #960
Comments
is there any way to check if we are inside a transaction using srdb1? |
linuxmaniac
added a commit
to torreviejawireless/kamailio
that referenced
this issue
Jan 31, 2017
… mark_presentity_for_delete() * publ_notify_notifier() and mark_presentity_for_delete() are called inside a already created transaction * adding transaction handle for msg_presentity_clean() fix kamailio#960
linuxmaniac
added a commit
to torreviejawireless/kamailio
that referenced
this issue
Jan 31, 2017
… mark_presentity_for_delete() * publ_notify_notifier() and mark_presentity_for_delete() are called inside a already created transaction * adding transaction handle for msg_presentity_clean() fix kamailio#960
lbalaceanu
pushed a commit
to lbalaceanu/kamailio
that referenced
this issue
Mar 16, 2017
… mark_presentity_for_delete() * publ_notify_notifier() and mark_presentity_for_delete() are called inside a already created transaction * adding transaction handle for msg_presentity_clean() fix kamailio#960
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We do have this
presence
module parameters:And we are getting this errors several times per second
This logs are from kamailio 4.4.4 but I think the problem is in master too.
I do see that publ_notify_notifier() has a call to start_transaction()
https://github.com/kamailio/kamailio/blob/master/src/modules/presence/notify.c#L1366-L1373
but we are already inside a transaction either at
https://github.com/kamailio/kamailio/blob/master/src/modules/presence/presentity.c#L686-L693
or
https://github.com/kamailio/kamailio/blob/master/src/modules/presence/presentity.c#L735-L742
The text was updated successfully, but these errors were encountered: