Module: sip-router
Branch: master
Commit: cdd23170e8fd6da4817619ee82ded0fa27936081
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=cdd2317…
Author: Andrew Mortensen <admorten(a)isc.upenn.edu>
Committer: Andrew Mortensen <admorten(a)isc.upenn.edu>
Date: Wed Jan 30 15:17:28 2013 -0500
sca: db table version incremented to 1
- should have been part of commit adding record_route to table.
---
lib/srdb1/schema/sca.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/lib/srdb1/schema/sca.xml b/lib/srdb1/schema/sca.xml
index 51c531a..337b315 100644
--- a/lib/srdb1/schema/sca.xml
+++ b/lib/srdb1/schema/sca.xml
@@ -9,7 +9,7 @@
<table id="sca_susbcriptions" xmlns:db="http://docbook.org/ns/docbook">
<name>sca_subscriptions</name>
- <version>0</version>
+ <version>1</version>
<type db="mysql">&MYSQL_TABLE_TYPE;</type>
<description>
<db:para>This table is used by the sca module to store active subscriptions. At startup time, the sca module loads unexpired subscriptions into its subscription hash table. More information about the sca module can be found at: &KAMAILIO_MOD_DOC;sca.html
Hello,
There seems to be a race condition in Makefile.libs that occurs
sporadically when doing parallel builds (make -j). I believe the culprit
part is this:
$(NAME): $(LIB_RUNTIME_NAME) $(LIB_LINK_NAME) $(LIBINAME_F)
$(LIB_RUNTIME_NAME):
-@ln -s $(LIB_NAME) $(LIB_RUNTIME_NAME)
$(LIB_LINK_NAME):
ifeq ($(OS), freebsd)
-@ln -s $(LIB_RUNTIME_NAME) $(LIB_LINK_NAME)
else
-@ln -s $(LIB_NAME) $(LIB_LINK_NAME)
endif
The problem is that dependencies (the ln -s commands) get built first,
and the actual target ($(NAME)) last. The result is that for a while,
the symlinks already exist while the lib itself is not fully built yet.
In the meantime, other make children build something else that depends
on the lib, see that the symlink already exists and hence think the
target has already been built, which then results in various funny
errors when the linker tries to read a non-existent or half-finished .so
file. At least I think that's what happens.
Unfortunately I have no idea how to fix this within the current makefile
framework. I tried reordering the dependencies (making the symlink
targets depend on the lib instead of the other way around) but those all
resulted in build failures.
cheers
Module: sip-router
Branch: master
Commit: 2eeb686ea57ce569d3c5eb05430c78d0fdbdd4eb
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2eeb686…
Author: Olle E. Johansson <oej(a)edvina.net>
Committer: Olle E. Johansson <oej(a)edvina.net>
Date: Wed Jan 30 13:26:35 2013 +0100
tls Small modificiation in tls configuration example
---
modules/tls/tls.cfg | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/modules/tls/tls.cfg b/modules/tls/tls.cfg
index 39e7213..cdb1e03 100644
--- a/modules/tls/tls.cfg
+++ b/modules/tls/tls.cfg
@@ -1,7 +1,7 @@
#
# $Id$
#
-# Example SER TLS Configuration File
+# Example Kamailio TLS Configuration File
#
# This is the default server domain, settings
@@ -17,8 +17,8 @@
method = TLSv1
verify_certificate = no
require_certificate = no
-private_key = ./modules/tls/ser-selfsigned.key
-certificate = ./modules/tls/ser-selfsigned.pem
+private_key = /usr/local/etc/kamailio/kamailio-selfsigned.key
+certificate = /usr/local/etc/kamailio/kamailio-selfsigned.pem
#ca_list = ./modules/tls/cacert.pem
#crl = ./modules/tls/crl.pem
@@ -32,7 +32,7 @@ certificate = ./modules/tls/ser-selfsigned.pem
verify_certificate = yes
require_certificate = yes
-# This is example server domain for TLS connections
+# This is an example server domain for TLS connections
# received from the loopback interface. We allow
# the use of SSLv2 and SSLv3 protocols here, we do
# not require that clients present client certificates
Sorry, and please ignore.
--
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
In DB mode 1 a completely different code path - without notifier processes - is run.
As I mentioned you only need the notifier processes for resilient multi-server systems. For single server the default presence behaviour without notifier is fine - and multi-server resilient presence will not work in 3.3 anyway (you need git master with PostgreSQL DB for this).
Regards,
Peter
Shane Harrison <shane.harrison(a)paragon.co.nz> wrote:
>_______________________________________________
>sr-dev mailing list
>sr-dev(a)lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Hello,
The processing for presence.winfo and other events do require separate calls. This is because the processing of the dialogs in the first call can affect the processing of the dialogs in the second.
If all event types were handled in one call some processing would not occur until the next handling of the round - five seconds later.
It may well be the case that there is a bug in the loop as you described, but my statement from before still holds that the notifier stuff will never work properly in 3.3 due to DB limitations - even if you fix the bug you've found you will need to use the version in bit master to cope with any real load.
I suppose the DB limitations may not be an issue on a single server (non-resilient) presence configuration, but in that case you should use the default (non-notifier) setup for presence anyway.
Regards,
Peter
Shane Harrison <shane.harrison(a)paragon.co.nz> wrote:
>_______________________________________________
>sr-dev mailing list
>sr-dev(a)lists.sip-router.org
>http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Hi,
I'm changing carrierroute module so that it could set into another avp the
ID of the rule that was chosen. I have already adjusted all functions but I
have still one problem when kamailio starts.
tmp_id.s=(char *)row->values[COL_ID].val.string_val;
It gives Segfault at this line. The question is, how can I convert the row
value that is int(10) to char (tmp_id is const str *, it is the same as
comment). Thanks,
Mino