THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#187 - Error in generating Publush with state confirmed at recived 200OK package.
User who did this - Tomek Kotecki (koteckit)
----------
We noticed the problem in the function of the switch and applied the patch:
+--- kamailio-3.2.1/modules_k/pua_dialoginfo/pua_dialoginfo.c 2011-12-01 14:31:12.000000000 +0000
++++ kamailio-3.2.1-new/modules_k/pua_dialoginfo/pua_dialoginfo.c 2011-12-27 13:28:26.970458641 +0000
+@@ -230,6 +230,7 @@
+ break;
+ case DLGCB_CONFIRMED:
+ case DLGCB_REQ_WITHIN:
++ case DLGCB_CONFIRMED_NA:
+ LM_DBG("dialog confirmed, from=%.*s\n", dlginfo->from_uri.len, dlginfo->from_uri.s);
+ dialog_publish("confirmed", &(dlginfo->from_uri), &uri, &(dlginfo->callid), 1, dlginfo->lifetime, 0, 0, &(dlginfo->from_contact), &target);
+ dialog_publish("confirmed", &uri, &(dlginfo->from_uri), &(dlginfo->callid), 0, dlginfo->lifetime, 0, 0, &target, &(dlginfo->from_contact));
Patch solves the problem.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=187#comment476
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Hi,
we are using the PUA_XMPP and PUA modules from the master branch. When
the modules are started, everything are ok, the presence events from
XMPP are sent to kamailio SIP servers (PUBLISH/SUBSCRIBE) and cached
in the hash. But when there are several thousands records in the hash
tabel, the update_pua function called in the hashT_clean gives a lot
of "No memory left" error when the hashT_clean is waked up from the
time:
ERROR: pua [send_subscribe.c]: No memory left
ERROR: pua [pua.c]: while building tm dlg_t structure
The failed call is:
td = (dlg_t*)pkg_malloc(size);
if(td == NULL)
{
LM_ERR("No memory left\n");
return NULL;
}
in dlg_t* pua_build_dlg_t(ua_pres_t* presentity) function in
send_subscribe.c. The size is about 400 and something... It's
strange.....
Is it the memory leak in the PUA module?
I also try to increase the pkg_memory from 4MB default to 16MB, but it
doesn't help.
Any Idea?
Thanks in advanced
Laura