In commit c1863d7dc5d7504a8096e9a31dfc200f5e14dd03 added homer5 functionality and table name is built based on timestamp, but corrupted. The added functionality isn't documented too.
Q: why it is mandatory to build table name based on time stamp?
Kind regards,
Seudin
---
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/issues/566
modparam("kazoo", "pua_mode", 0) - missing in docs
how to use an vhost in the connection url is missing: amqp://kamailio_ngpbx:password@rabbit01.example.com:5672/virthost01
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/530
Does anybody know if there is an existing library function/s to copy a
sip_msg (typically request) from shm to pkg? I know there is already this
functionality in the tmx module but I think it would be useful to move this
into a library so it can be used by other modules? I am just wanting to
make sure before I replicate code...
*Reason for such functionality:*
The main reason is where modules need to access specific headers from a sip
request which they get from t->uas.request (generally in instances where
only the rpl message is accessible). We all know that t->uas.request sits
in SHM, so if any additional parsing is done on this message it's pointers
will be polluted with pvt memory addresses of the processing parsing the
request. This could ultimately lead to memory corruption and segfaults.
I would therefore propose moving the pv_t_copy_msg and associated functions
from tmx modules into the core library... any objections?
Cheers
Jason
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
Module: kamailio
Branch: master
Commit: d0261b61d7cb23f437e69891e42a9c9fd3fa622b
URL: https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9…
Author: Elena-Ramona Modroiu <ramona(a)asipto.com>
Committer: Elena-Ramona Modroiu <ramona(a)asipto.com>
Date: 2016-04-29T12:04:10+02:00
xlog: exported xlogging functions to kemi
- xdbg(txt), xinfo(txt), xnotice(txt), xwarn(txt), xerr(txt),
xalert(txt), xcrit(txt), xlog(lev, txt)
- the txt can include kamailio variables even in the embedded lanaguage
script, e.g.,:
KSR.xlog.xinfo("received $rm from $si\n");
- if no kamailio variables are in the text, it is recommended to use the
KSR core functions, e.g.,: KSR.info("received INVITE from 127.0.0.1\n");
- all the parameters are parsed and evaluated for each execution of the
function, there is no fixup at startup that can be triggered by the
non-native embedded interpreters
---
Modified: modules/xlog/xlog.c
---
Diff: https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9…
Patch: https://github.com/kamailio/kamailio/commit/d0261b61d7cb23f437e69891e42a9c9…
Module: kamailio
Branch: master
Commit: 5e29aecbdc77498f95ce6d6fc764f402893eb65b
URL: https://github.com/kamailio/kamailio/commit/5e29aecbdc77498f95ce6d6fc764f40…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-04-29T11:14:39+02:00
examples/kemi: notes about use of os.exit() in python script
---
Modified: examples/kemi/kamailio-basic-kemi-python.py
---
Diff: https://github.com/kamailio/kamailio/commit/5e29aecbdc77498f95ce6d6fc764f40…
Patch: https://github.com/kamailio/kamailio/commit/5e29aecbdc77498f95ce6d6fc764f40…
---
diff --git a/examples/kemi/kamailio-basic-kemi-python.py b/examples/kemi/kamailio-basic-kemi-python.py
index ecd72eb..8d23a6b 100644
--- a/examples/kemi/kamailio-basic-kemi-python.py
+++ b/examples/kemi/kamailio-basic-kemi-python.py
@@ -4,6 +4,13 @@
## Router - the old object exporting Kamailio functions
##
+## Relevant remarks:
+## * return code -255 is used to propagate the 'exit' behaviour to the
+## parent route block function. The alternative is to use the native
+## Python function os.exit() (or exit()) -- it throws an exception that
+## is caught by Kamailio and previents the stop of the interpreter.
+
+
import sys
import Router.Logger as Logger
import KSR as KSR