|
@@ -1,8 +1,4 @@
|
|
/*
|
|
/*
|
|
- * $Id
|
|
|
|
- *
|
|
|
|
- * presence - presence server implementation
|
|
|
|
- *
|
|
|
|
* Copyright (C) 2006 Voice Sistem SRL
|
|
* Copyright (C) 2006 Voice Sistem SRL
|
|
*
|
|
*
|
|
* This file is part of Kamailio, a free SIP server.
|
|
* This file is part of Kamailio, a free SIP server.
|
|
@@ -27,7 +23,8 @@
|
|
* 2006-10-09 first version (anca)
|
|
* 2006-10-09 first version (anca)
|
|
*/
|
|
*/
|
|
|
|
|
|
-/*! \file
|
|
|
|
|
|
+/*!
|
|
|
|
+ * \file
|
|
* \brief Kamailio presence module :: Core
|
|
* \brief Kamailio presence module :: Core
|
|
* \ingroup presence
|
|
* \ingroup presence
|
|
*/
|
|
*/
|
|
@@ -46,14 +43,14 @@
|
|
|
|
|
|
/* DB modes */
|
|
/* DB modes */
|
|
|
|
|
|
-/* subscriptions are held in memory and periodically updated to db, but retrieved from db only at startup */
|
|
|
|
|
|
+/** subscriptions are held in memory and periodically updated to db, but retrieved from db only at startup */
|
|
#define DB_MEMORY_ONLY 0
|
|
#define DB_MEMORY_ONLY 0
|
|
-/* same as memory_only, but if a subscription is not found, it falls back to db */
|
|
|
|
|
|
+/** same as memory_only, but if a subscription is not found, it falls back to db */
|
|
#define DB_FALLBACK 1
|
|
#define DB_FALLBACK 1
|
|
-/* subscriptions are held only in database */
|
|
|
|
|
|
+/** subscriptions are held only in database */
|
|
#define DB_ONLY 2
|
|
#define DB_ONLY 2
|
|
|
|
|
|
-/* TM bind */
|
|
|
|
|
|
+/** TM bind */
|
|
extern struct tm_binds tmb;
|
|
extern struct tm_binds tmb;
|
|
|
|
|
|
extern sl_api_t slb;
|
|
extern sl_api_t slb;
|