Added Kamailio system files for Oracle Enterprise Linux 6/7
Created a directory structure under <SRCROOT>/pkg/kamailio directory for Oracle Enterprise Linux.
File oracle/kamailio.spec moved to oracle/el6/kamailio.spec
Added init scripts and defaults for kamailio under oracle/el6 directory.
Added systemd service and sysconfig script for kamailio under oracle/el7 directory.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/591
-- Commit Summary --
* Added Oracle Enterpise Linux 6 SPEC, init script and defaults script.
* Added Oracle Enterpise Linux 7 SPEC, init script and defaults script.
* Added logrotate and rsyslog samples for kamailio
* FIX: do not enable kamailio service after installation, only reload systmd daemon
-- File Changes --
A pkg/kamailio/oracle/el6/kamailio.default (30)
A pkg/kamailio/oracle/el6/kamailio.init (128)
R pkg/kamailio/oracle/el6/kamailio.spec (4)
A pkg/kamailio/oracle/el7/kamailio.service (17)
A pkg/kamailio/oracle/el7/kamailio.spec (854)
A pkg/kamailio/oracle/el7/kamailio.sysconfig (36)
A pkg/kamailio/oracle/kamailio.logrotate (7)
A pkg/kamailio/oracle/kamailio.rsyslog (2)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/591.patchhttps://github.com/kamailio/kamailio/pull/591.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/591
We use enum_query() to dispatch calls over a set of gateways. In our case single digits (for instance "8") can be a valid direct dial number which we would like to through against our enum server.
Is there any good reason to limit the request to 2 digits as minimum?
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/593
-- Commit Summary --
* a single number should be a valid in function enum_query()
* print out malformed enum_query() request in enum.c
-- File Changes --
M modules/enum/enum.c (11)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/593.patchhttps://github.com/kamailio/kamailio/pull/593.diff
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/593
Module: kamailio
Branch: master
Commit: aeb85ae3d9097bfd6aaad92a1d5b0c682bf5162c
URL: https://github.com/kamailio/kamailio/commit/aeb85ae3d9097bfd6aaad92a1d5b0c6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-05-02T10:26:35+02:00
usrloc: don't quote string representation of time for fetching contacts query
- the db api adds quites around string values
- it results in double quotation, rising db query error
- reported by Giovanni Mele
---
Modified: modules/usrloc/dlist.c
---
Diff: https://github.com/kamailio/kamailio/commit/aeb85ae3d9097bfd6aaad92a1d5b0c6…
Patch: https://github.com/kamailio/kamailio/commit/aeb85ae3d9097bfd6aaad92a1d5b0c6…
---
diff --git a/modules/usrloc/dlist.c b/modules/usrloc/dlist.c
index 65ea97b..08bc834 100644
--- a/modules/usrloc/dlist.c
+++ b/modules/usrloc/dlist.c
@@ -124,7 +124,7 @@ static inline int get_all_db_ucontacts(void *buf, int len, unsigned int flags,
/* get the current time in DB format */
now.len = 25;
now.s = now_s;
- if (db_time2str( time(0), now.s, &now.len)!=0) {
+ if (db_time2str_ex( time(0), now.s, &now.len, 0)!=0) {
LM_ERR("failed to print now time\n");
return -1;
}