Module: kamailio
Branch: master
Commit: c3a29047c21d278d60f0185e3e3b5d789605d238
URL: https://github.com/kamailio/kamailio/commit/c3a29047c21d278d60f0185e3e3b5d7…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: 2015-03-16T19:17:06+01:00
xhttp_rpc: Remove SVN ID
---
Modified: modules/xhttp_rpc/xhttp_rpc.c
Modified: modules/xhttp_rpc/xhttp_rpc.h
Modified: modules/xhttp_rpc/xhttp_rpc_fnc.c
Modified: modules/xhttp_rpc/xhttp_rpc_fnc.h
---
Diff: https://github.com/kamailio/kamailio/commit/c3a29047c21d278d60f0185e3e3b5d7…
Patch: https://github.com/kamailio/kamailio/commit/c3a29047c21d278d60f0185e3e3b5d7…
---
diff --git a/modules/xhttp_rpc/xhttp_rpc.c b/modules/xhttp_rpc/xhttp_rpc.c
index 4e0bef2..7f6f791 100644
--- a/modules/xhttp_rpc/xhttp_rpc.c
+++ b/modules/xhttp_rpc/xhttp_rpc.c
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* Copyright (C) 2011 VoIP Embedded, Inc.
*
* This file is part of Kamailio, a free SIP server.
@@ -19,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * 2011-11-11 initial version (osas)
*/
#include <string.h>
diff --git a/modules/xhttp_rpc/xhttp_rpc.h b/modules/xhttp_rpc/xhttp_rpc.h
index 2cb423c..74662de 100644
--- a/modules/xhttp_rpc/xhttp_rpc.h
+++ b/modules/xhttp_rpc/xhttp_rpc.h
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* Copyright (C) 2011 VoIP Embedded, Inc.
*
* This file is part of Kamailio, a free SIP server.
@@ -19,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * 2011-11-11 initial version (osas)
*/
diff --git a/modules/xhttp_rpc/xhttp_rpc_fnc.c b/modules/xhttp_rpc/xhttp_rpc_fnc.c
index da4c0c9..6975d1f 100644
--- a/modules/xhttp_rpc/xhttp_rpc_fnc.c
+++ b/modules/xhttp_rpc/xhttp_rpc_fnc.c
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* Copyright (C) 2011 VoIP Embedded, Inc.
*
* This file is part of Kamailio, a free SIP server.
@@ -19,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * 2011-11-11 initial version (osas)
*/
#include <string.h>
diff --git a/modules/xhttp_rpc/xhttp_rpc_fnc.h b/modules/xhttp_rpc/xhttp_rpc_fnc.h
index db1ba79..980fa4a 100644
--- a/modules/xhttp_rpc/xhttp_rpc_fnc.h
+++ b/modules/xhttp_rpc/xhttp_rpc_fnc.h
@@ -1,6 +1,4 @@
/*
- * $Id$
- *
* Copyright (C) 2011 VoIP Embedded, Inc.
*
* This file is part of Kamailio, a free SIP server.
@@ -19,7 +17,6 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
- * 2011-11-11 initial version (osas)
*/
Yesterday I used the UAC module to register 10.000 accounts while testing a platform. I guess this is something it wasn't built for. I just wanted to add some notes to the archives about this:
- The module seems to read all 10.000 entries from the database in one go and then add them to shared memory.
It may be good for the future to limit the amounts of records for each read and take it in multiple batches (other modules
have this functionality).
- The module registers all at once, it's very fast. I think we could add a throttle and register in batches in the future.
- The error handling seems very simple. If something goes bad, we disable the account. I am not sure if the
TM module will handle failover and retries if we get a 503 with retry-after. There's no code in uac_reg.c for it.
- There's no different handling of local timeouts and remote 408s. Again, maybe the TM module handles some
of that.
- Maybe we need an event route for disabling/enabling registrations.
I created a branch and added counter support for all database entries, disabled entries and active entries (working registrations). Pull request will come :-)
All in all, while this is not a normal use of it, I think it is a very good tool for testing of new platforms. As usual - Kamailio rocks!
/O