[SR-Users] kamailio crash periodically in timer handler

Péter Barabás peter.barabas at arenim.com
Tue Apr 28 11:50:18 CEST 2015


Hi,

here is the svn diff of ul_publish.c attached.

Péter


From: Daniel-Constantin Mierla [mailto:miconda at gmail.com]
Sent: Tuesday, April 28, 2015 9:03 AM
To: Péter Barabás; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] kamailio crash periodically in timer handler

Hello,
On 27/04/15 23:59, Péter Barabás wrote:
Hi,

you gave me an idea where to find the error.
We modified the ul_publish.c source in order to achieve the following results:

-          when client sends a REGISTER, an implicit PUBLISH is called so in each registration, publication should also happen

-          when tcp socket is lost, we want that the contacts of the lost user get a presence NOTIFY with open=0 state to show the unregistered (lost) state

Here is the ul_publish.c source, maybe the bug is in it. But in our dev system, it works like a charm:
[...]

it is not easy to review the full file alone. Can you post the diff with your changes (use git diff if you cloned via git or diff -u)? That should be easier to analyze and see if you introduced any issue or is from another place.

Cheers,
Daniel




--

Daniel-Constantin Mierla

http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

Kamailio World Conference, May 27-29, 2015

Berlin, Germany - http://www.kamailioworld.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150428/9cf20f6f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ul_publish.diff
Type: application/octet-stream
Size: 5230 bytes
Desc: ul_publish.diff
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150428/9cf20f6f/attachment.obj>


More information about the sr-users mailing list