[Kamailio-Devel] SF.net SVN: openser:[5770] trunk/modules/pua

Inaki Baz Castillo ibc at aliax.net
Fri Mar 27 01:25:05 CET 2009


Revision: 5770
          http://openser.svn.sourceforge.net/openser/?rev=5770&view=rev
Author:   ibc_sf
Date:     2009-03-27 00:25:05 +0000 (Fri, 27 Mar 2009)

Log Message:
-----------
- Improved the case in which Kamailio was restarted before storing an entry in 'pua' DB table.
  In that case the next refresh registration from that user would create an UPDATE action in
  pua_usrloc and since the appropiate entry doesn't exist in pua hast table it would fail
  ("empty body").
- The patch solves this problem by invoking an INSERT action if an UPDATE action failed with
  code ERR_PUBLISH_NO_BODY. It will however generate a new presentity status in the presence
  server until the previous one expires.

Modified Paths:
--------------
    trunk/modules/pua/send_publish.c
    trunk/modules/pua/send_publish.h
    trunk/modules/pua_usrloc/ul_publish.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list