i have just install fresh kamailio 4.3.4 , after create two extention 100 and 200 , both the extention Registered successfully but unable to make call .. when i dial from 100 to 200 it seem like call going to 200 but the other side no notification ...
plz help..
---
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/712
this may happen at kamailio shutdown :
Program terminated with signal 11, Segmentation fault.
#0 0x00007fb66a73e591 in atomic_cmpxchg_int (var=0x0, old=0, new_v=1) at ../../mem/../atomic/atomic_x86.h:233
233 ATOMIC_FUNC_CMPXCHG(cmpxchg, "cmpxchgl %2, %1", int , int)
(gdb) bt
#0 0x00007fb66a73e591 in atomic_cmpxchg_int (var=0x0, old=0, new_v=1) at ../../mem/../atomic/atomic_x86.h:233
#1 0x00007fb66a73e5e0 in futex_get (lock=0x0) at ../../mem/../futexlock.h:99
#2 0x00007fb66a743183 in diameter_peer_destroy () at diameter_peer.c:416
#3 0x00007fb66a745272 in cdp_exit () at mod.c:244
#4 0x000000000059bf98 in destroy_modules () at sr_module.c:817
#5 0x00000000004a113a in cleanup (show_status=0) at main.c:513
#6 0x00000000004a272e in shutdown_children (sig=15, show_status=0) at main.c:655
#7 0x00000000004b255d in main (argc=12, argv=0x7ffcdbd4bac8) at main.c:2568
(gdb) bt full
#0 0x00007fb66a73e591 in atomic_cmpxchg_int (var=0x0, old=0, new_v=1) at ../../mem/../atomic/atomic_x86.h:233
ret = 48
#1 0x00007fb66a73e5e0 in futex_get (lock=0x0) at ../../mem/../futexlock.h:99
v = 0
i = 1024
#2 0x00007fb66a743183 in diameter_peer_destroy () at diameter_peer.c:416
pid = 1786325736
status = 32694
h = 0x7fb660289560
__FUNCTION__ = "diameter_peer_destroy"
#3 0x00007fb66a745272 in cdp_exit () at mod.c:244
__llevel = 2
__FUNCTION__ = "cdp_exit"
#4 0x000000000059bf98 in destroy_modules () at sr_module.c:817
t = 0x7fb66f3a6010
foo = 0x7fb66f3a5d40
__FUNCTION__ = "destroy_modules"
#5 0x00000000004a113a in cleanup (show_status=0) at main.c:513
memlog = 32764
__FUNCTION__ = "cleanup"
#6 0x00000000004a272e in shutdown_children (sig=15, show_status=0) at main.c:655
__FUNCTION__ = "shutdown_children"
#7 0x00000000004b255d in main (argc=12, argv=0x7ffcdbd4bac8) at main.c:2568
cfg_stream = 0x1706010
c = -1
r = 0
tmp = 0x7ffcdbd4bf2f ""
tmp_len = 0
port = 0
proto = 0
options = 0x71c738 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:"
ret = -1
seed = 1767645291
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0x76
p = 0x7ffcdbd4b9ce ""
st = {st_dev = 0, st_ino = 0, st_nlink = 0, st_mode = 0, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 0, st_blocks = 0, st_atim = {
tv_sec = 0, tv_nsec = 0}, st_mtim = {tv_sec = 0, tv_nsec = 0}, st_ctim = {tv_sec = 0, tv_nsec = 0}, __unused = {0, 0, 0}}
---Type <return> to continue, or q <return> to quit---
__FUNCTION__ = "main"
(gdb)
Patch provides a quick fix so that it will not dump core.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/710
-- Commit Summary --
* cdp: fix occasional segfault on process exit
-- File Changes --
M modules/cdp/diameter_peer.c (3)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/710.patchhttps://github.com/kamailio/kamailio/pull/710.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/710
Module: kamailio
Branch: master
Commit: 68ef4774e22cccc8801c0c3ea51b201cf01db322
URL: https://github.com/kamailio/kamailio/commit/68ef4774e22cccc8801c0c3ea51b201…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2016-07-14T12:46:23+02:00
modules: readme files regenerated - tls ...
---
Modified: modules/tls/README
---
Diff: https://github.com/kamailio/kamailio/commit/68ef4774e22cccc8801c0c3ea51b201…
Patch: https://github.com/kamailio/kamailio/commit/68ef4774e22cccc8801c0c3ea51b201…
---
diff --git a/modules/tls/README b/modules/tls/README
index 1e4d2de..dd4cb8c 100644
--- a/modules/tls/README
+++ b/modules/tls/README
@@ -191,7 +191,11 @@ Chapter 1. Admin Guide
This module implements the TLS transport for Kamailio using the OpenSSL
library (http://www.openssl.org). To enable the Kamailio TLS support
this module must be loaded and enable_tls=yes core setting must be
- added to the Kamailio config file
+ added to the Kamailio config file.
+
+ IMPORTANT: tls module must be loaded before any other Kamailio module
+ that uses libssl (OpenSSL library). A safe option is to have tls module
+ loaded first (be in the first "loadmodule" inside Kamailio.cfg).
2. Quick Start
Module: kamailio
Branch: master
Commit: 7d04380ff628d6c99f89b220c904b727a1c0f47f
URL: https://github.com/kamailio/kamailio/commit/7d04380ff628d6c99f89b220c904b72…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2016-07-14T12:34:58+02:00
tls: added note in docs about loading tls module first
---
Modified: modules/tls/doc/tls.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7d04380ff628d6c99f89b220c904b72…
Patch: https://github.com/kamailio/kamailio/commit/7d04380ff628d6c99f89b220c904b72…
---
diff --git a/modules/tls/doc/tls.xml b/modules/tls/doc/tls.xml
index 22046d8..af4ff22 100644
--- a/modules/tls/doc/tls.xml
+++ b/modules/tls/doc/tls.xml
@@ -2,7 +2,7 @@
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
[ <!ENTITY % local.common.attrib
- "xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'">
+ "xmlns:xi CDATA #FIXED 'http://www.w3.org/2001/XInclude'">
<!ENTITY % docentities SYSTEM "../../../docbook/entities.xml">
%docentities;
@@ -48,8 +48,13 @@
This module implements the TLS transport for &kamailio;
using the <ulink url="http://www.openssl.org">OpenSSL library</ulink>
(http://www.openssl.org). To enable the &kamailio; TLS support this
- module must be loaded and <emphasis>enable_tls=yes</emphasis> core setting
- must be added to the Kamailio config file
+ module must be loaded and <emphasis>enable_tls=yes</emphasis> core setting
+ must be added to the Kamailio config file.
+ </para>
+ <para>
+ IMPORTANT: tls module must be loaded before any other &kamailio; module
+ that uses libssl (OpenSSL library). A safe option is to have tls module
+ loaded first (be in the first "loadmodule" inside &kamailio;.cfg).
</para>
</section>
<section id="tls.quick_start">