Module: sip-router
Branch: master
Commit: 0696af54dac4ecc53bb0a9dc4e56da11bc3f2b30
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=0696af5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Sun Oct 16 11:33:16 2011 +0200
snmpstats: control exporting registrar records
- exporting of large location database may result in out of shared
memory, as well as when the records are not pulled - might be the case
of out of memory messages reported by Klaus Darilion
- new parameter export_registrar was added to enable/disable location
records export (off by default)
- fixed missing exporting the counter with all processed dialogs
(discussion from March 2011 with Stefan Tiedje)
---
modules_k/snmpstats/README | 31 ++++++++++++++++-----
modules_k/snmpstats/doc/snmpstats_admin.xml | 25 +++++++++++++++++
modules_k/snmpstats/mibs/OPENSER-MIB | 13 ++++++++-
modules_k/snmpstats/snmpObjects.c | 28 +++++++++++++++++++
modules_k/snmpstats/snmpObjects.h | 1 +
modules_k/snmpstats/snmpstats.c | 40 +++++++++++++++++----------
6 files changed, 115 insertions(+), 23 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=069…
Hi all,
I see in the wiki, IMS Module are included in developpement version ?
But, i couldn't find it, in GIT master branch ?
I know, we can find IMS Module in carstenbock/ims branch, but, we have an error during the build.
Alexis
********************************************************************************
IMPORTANT.Les informations contenues dans ce message electronique y compris les fichiers attaches sont strictement confidentielles
et peuvent etre protegees par la loi.
Ce message electronique est destine exclusivement au(x) destinataire(s) mentionne(s) ci-dessus.
Si vous avez recu ce message par erreur ou s il ne vous est pas destine, veuillez immediatement le signaler a l expediteur et effacer ce message
et tous les fichiers eventuellement attaches.
Toute lecture, exploitation ou transmission des informations contenues dans ce message est interdite.
Tout message electronique est susceptible d alteration.
A ce titre, le Groupe France Telecom decline toute responsabilite notamment s il a ete altere, deforme ou falsifie.
De meme, il appartient au destinataire de s assurer de l absence de tout virus.
IMPORTANT.This e-mail message and any attachments are strictly confidential and may be protected by law. This message is
intended only for the named recipient(s) above.
If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this e-mail message.
Any unauthorized view, usage or disclosure ofthis message is prohibited.
Since e-mail messages may not be reliable, France Telecom Group shall not be liable for any message if modified, changed or falsified.
Additionally the recipient should ensure they are actually virus free.
********************************************************************************
Hi
We are in the process of developing a branch for Kamailio IMS extensions
held at *jason.penton/kamailio_ims_extensions *branch in the GIT
repository. This branch largely originates from the Open IMS Core project
and Carsten Block's Kamailio IMS branch with the intention of using core,
tried and tested Kamailio modules (dialog, registrar, tm, usrloc, etc.) in
place of the custom defined functionality in the Open IMS Core project.
In the coming weeks we will push modules and cfg files to this branch to
implement basic xCSCF functionality, so watch this space.
Right now the branch includes stock standard Kamailio 3.3.x with an
overhauled dialog2 module which is central to the functionality of the
xCSCFs; and a slightly modified rr module (one additional method exposed to
add mo/mt to the record-route).
The dialog2 module implements the new dialog design according to:
http://www.kamailio.org/dokuwiki/doku.php/modules-new-design:dialog-module-….
This allows for forked calls, concurrently confirmed calls and proxy
initiated dialog termination for early and confirmed dialogs.
- For each dialog there is now a dlg_cell structure with one or more
dlg_out cell structures.
- Forked calls have multiple dlg_out structures; once a call is confirmed
all other dlg_out structures are removed except for the confirmed one.
- Concurrent calls are allowed where multiple dialogs are confirmed at
the same time - in this case a dlg_cell structure is created for each
confirmed dialog.
- Dialog's can be terminated as in the previous dialog module from mi,
api and cfg; but this now also caters for terminating early state /
unconfirmed dialogs.
Still TO DO: Integrate old dialog functionality for dialog transfer, dialog
database management, statistics and RPC functions and general bug fixes as
they come up.
API changes: Two new exposed methods *get_current_dialog* and *
terminate_dlg_with_id*
We want to get as many eyes on the code as possible to get it integrated
into the master branch ASAP.
Regards
Richard.
Hi,
I just upgraded to kam 3.2.0 and my config started crashed. I did some
bisecting, until I came to commit 5cd87175faa97161023c37e2cc0f0c06
(core, srdb1, modules/db_*, modules_k/db_*: Added support for
configuring SQL buffer size and mediumblob/mediumtext in MySQL) which
seems to be the culprit.
It seems that this commit broke things that were earlier possible. My
existing configuration loads 'permissions' module before the
'db_postgres' module. This used to work perfectly well: the SQL modules
were usable after loading without requiring initialization.
After this commit, this causes segmentation fault with following backtrace:
#0 0xb7fabeaf in memcpy () from /lib/libc.so.0.9.32
#1 0xb7fa5b78 in ?? () from /lib/libc.so.0.9.32
#2 0xb7fa7148 in ?? () from /lib/libc.so.0.9.32
#3 0xb7fa4b16 in vsnprintf () from /lib/libc.so.0.9.32
#4 0xb7fa4862 in snprintf () from /lib/libc.so.0.9.32
#5 0xb5a7a540 in db_do_query (_h=0xb7c4553c, _k=0xbffff614, _op=0x0,
_v=0xbffff600, _c=0xbffff618, _n=1, _nc=1, _o=0x0, _r=0xbffff5fc,
val2str=0xb56ef1c0 <db_postgres_val2str>, submit_query=0xb56f4a70
<db_postgres_submit_query>,
store_result=0xb56f5350 <db_postgres_store_result>) at db_query.c:63
#6 0xb56f6a15 in db_postgres_query (_h=0xb7c4553c, _k=0xbffff614, _op=0x0,
_v=0xbffff600, _c=0xbffff618, _n=1, _nc=1, _o=0x0,
_r=0xbffff5fc) at km_dbase.c:370
#7 0xb5a7fdc9 in db_table_version (dbf=0xb5930be0,
connection=0xb7c4553c, table=0xb59303f0) at db.c:378
#8 0xb5a8044a in db_check_table_version (dbf=0xb5930be0,
dbh=0xb7c4553c, table=0xb59303f0, version=4) at db.c:416
#9 0xb591c6fe in init_addresses () at address.c:208
#10 0xb592238d in mod_init () at permissions.c:630
#11 0x001606d6 in init_mod (m=0xb7bc17f0) at sr_module.c:886
#12 0x0016064e in init_mod (m=0xb7bc1dc8) at sr_module.c:883
#13 0x0016064e in init_mod (m=0xb7bc23a8) at sr_module.c:883
#14 0x0016064e in init_mod (m=0xb7bc2a7c) at sr_module.c:883
#15 0x0016064e in init_mod (m=0xb7bc2ef4) at sr_module.c:883
#16 0x0016064e in init_mod (m=0xb7bc3430) at sr_module.c:883
#17 0x0016064e in init_mod (m=0xb7bc37a8) at sr_module.c:883
#18 0x0016064e in init_mod (m=0xb7bc3c2c) at sr_module.c:883
#19 0x0016064e in init_mod (m=0xb7bc3fa4) at sr_module.c:883
#20 0x0016064e in init_mod (m=0xb7bc4da0) at sr_module.c:883
#21 0x00161729 in init_modules () at sr_module.c:913
#22 0x00128957 in main (argc=7, argv=0xbffffd14) at main.c:2412
This is because db_do_query gets called (from permissions module when it
checks table version) before the database module was initialized (and
thus, db_query_init was not yet called).
Now, I'm not sure if the previous behaviour is to be required. But at
least we should not crash if the module ordering is not right.
Peter, please fix the code to either work as before, or give proper
error message and exit (instead of crashing).
Thanks,
Timo
Module: sip-router
Branch: master
Commit: 1b58b26b7ccf7b2c01185a22ad076a3655e43664
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=1b58b26…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Mon Oct 31 17:18:11 2011 +0100
utils/sercmd: set SRNAME at compile time
- it is set to sip server name (e.g., ser, kamailio)
- it is used to build the default path to ctl file used to communicate
with sip server via ctl module
- reported by Henning Westerholt
---
utils/sercmd/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/utils/sercmd/Makefile b/utils/sercmd/Makefile
index bc03b74..2cb406a 100644
--- a/utils/sercmd/Makefile
+++ b/utils/sercmd/Makefile
@@ -22,7 +22,7 @@ endif #ifneq (,$(MAKECMDGOALS))
# erase common DEFS (not needed)
C_DEFS:=
-DEFS:= -DNAME='"$(NAME)"' -DVERSION='"$(RELEASE)"' \
+DEFS:= -DNAME='"$(NAME)"' -DSRNAME='"$(MAIN_NAME)"' -DVERSION='"$(RELEASE)"' \
$(filter -D%HAVE -DARCH% -DOS% -D__CPU% -D__OS%, $(DEFS))
# use proper libs (we can't rely on LIBS value since we might be called