Hello,
it is almost 2 months since we packaged 3.1.2, there are commits
accumulated in branch 3.1, therefore I plan to package 3.1.3 Monday or
Tuesday next week. If anyone has something to add in this regards,
please reply.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Hi Timo,
thanks, that is very useful! I was playing with the idea of developing
it for using in small deployments and embedded devices, but couldn't
find any time for it ...
To get the code in the repository, there are some things that need to be
sorted out:
- code reviewing - from my point of view it looks ok, only readme (and
associated docbook files) is missing, but since the module is not
exporting parameters/functions to config, that should be straightforward
to do, basically a short description about the purpose of the module
- the new module must have a maintainer for one year. This is to ensure
the others can ask questions to somebody in case of troubles and get to
know the module properly to be maintained commonly afterwards if the
initial maintainer is no longer active. Are you willing to become the
maintainer? If yes, we will grant you developer access so you can handle
the module directly in the git repository - I will send you another
email in this case. If you don't, then maybe another developer
volunteers for it
Depending on whether you want to maintain the module or not, we should
get your new module first in a private branch or project's tracker so
other developers can look at it if they want.
Cheers,
Daniel
On 4/4/11 11:49 AM, Timo Teräs wrote:
> Implements the kamailio database API for SQLite.
...
--
Daniel-Constantin Mierla
http://www.asipto.com
Hello,
iirc this was at some point discussed, however, I want to go through it
again.
Many x86_64 distros expect libraries to be placed under a lib64
directory. For example the RPM spec file language returns /usr/lib64 for
%{_libdir} variable.
In the master branch I committed a patch that does this detection.
As I saw some people saying that 'lib' should be the default also for
x86_64, my question is then what do you think we should use?
Using 'lib' will definitely make building rpms fail unless we do a patch
specific for these distros.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com
Module: sip-router
Branch: master
Commit: a3bb95fcaf85199e5707a25eeef98a712719de29
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a3bb95f…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Fri Apr 1 13:22:05 2011 +0300
modules_k/textops : fix pointer return in substr transformation
Replace a local buffer with a static one, as a pointer to it was returned outside of the function
Credits go to Timo Teräs for spotting the bug
(cherry picked from commit 87f995b66b1f58f9f85b604ba1214412819c9417)
---
modules_k/textops/txt_var.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/textops/txt_var.c b/modules_k/textops/txt_var.c
index ae1fce6..a13e5e1 100644
--- a/modules_k/textops/txt_var.c
+++ b/modules_k/textops/txt_var.c
@@ -41,7 +41,7 @@ int tr_txt_eval_re(struct sip_msg *msg, tr_param_t *tp, int subtype,
int nmatches;
str* result;
#define TR_TXT_BUF_SIZE 2048
- char tr_txt_buf[TR_TXT_BUF_SIZE];
+ static char tr_txt_buf[TR_TXT_BUF_SIZE];
if(val==NULL || (!(val->flags&PV_VAL_STR)) || val->rs.len<=0)
return -1;
Module: sip-router
Branch: 3.1
Commit: 87f995b66b1f58f9f85b604ba1214412819c9417
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=87f995b…
Author: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Committer: Marius Zbihlei <marius.zbihlei(a)1and1.ro>
Date: Fri Apr 1 13:22:05 2011 +0300
modules_k/textops : fix pointer return in substr transformation
Replace a local buffer with a static one, as a pointer to it was returned outside of the function
Credits go to Timo Teräs for spotting the bug
---
modules_k/textops/txt_var.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules_k/textops/txt_var.c b/modules_k/textops/txt_var.c
index ae1fce6..a13e5e1 100644
--- a/modules_k/textops/txt_var.c
+++ b/modules_k/textops/txt_var.c
@@ -41,7 +41,7 @@ int tr_txt_eval_re(struct sip_msg *msg, tr_param_t *tp, int subtype,
int nmatches;
str* result;
#define TR_TXT_BUF_SIZE 2048
- char tr_txt_buf[TR_TXT_BUF_SIZE];
+ static char tr_txt_buf[TR_TXT_BUF_SIZE];
if(val==NULL || (!(val->flags&PV_VAL_STR)) || val->rs.len<=0)
return -1;
Module: sip-router
Branch: 3.1
Commit: 44d1984ebf7a6ef23a2ae6a2a6e7577bb75a0f37
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=44d1984…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Apr 1 12:13:39 2011 +0200
rls(k): update_rlsubs() broken in two funtions
- deletion from hash table of expired subscriptions is done
separately now in remove_expired_rlsubs()
- should allow proper notification in case of un-SUBSCRIBE events,
first doing updated of rlsubs, then sending NOTIFY requests and then
deleting from hash table
- reported by Peter Dunkley
- added several safety checks about size of built attributes, used
variables, trimmed whitespaces from attributes added in bodies to save
some bytes on the network
(cherry picked from commit b571356226b35a4f971ef77e4a83cc503de97fd8)
---
modules_k/rls/notify.c | 8 +++-
modules_k/rls/resource_notify.c | 30 ++++++++-----
modules_k/rls/rls.c | 10 +++-
modules_k/rls/rls.h | 21 ++++++---
modules_k/rls/subscribe.c | 92 +++++++++++++++++++++++++-------------
5 files changed, 108 insertions(+), 53 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=44d…
Module: sip-router
Branch: master
Commit: b571356226b35a4f971ef77e4a83cc503de97fd8
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b571356…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Apr 1 12:13:39 2011 +0200
rls(k): update_rlsubs() broken in two funtions
- deletion from hash table of expired subscriptions is done
separately now in remove_expired_rlsubs()
- should allow proper notification in case of un-SUBSCRIBE events,
first doing updated of rlsubs, then sending NOTIFY requests and then
deleting from hash table
- reported by Peter Dunkley
- added several safety checks about size of built attributes, used
variables, trimmed whitespaces from attributes added in bodies to save
some bytes on the network
---
modules_k/rls/notify.c | 8 +++-
modules_k/rls/resource_notify.c | 30 ++++++++-----
modules_k/rls/rls.c | 10 +++-
modules_k/rls/rls.h | 21 ++++++---
modules_k/rls/subscribe.c | 92 +++++++++++++++++++++++++-------------
5 files changed, 108 insertions(+), 53 deletions(-)
Diff: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commitdiff;h=b57…