Module: kamailio
Branch: master
Commit: 5a889756a5386d6df86bd2ae11ac68595200fd65
URL: https://github.com/kamailio/kamailio/commit/5a889756a5386d6df86bd2ae11ac685…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-08-15T14:56:40+02:00
tls: completed the code for event_route[tls:connection-out]
- event route executed after the connect to destination is done
- using drop() in the event route marks connection for no-send data, so
nothing is sent over it, being also closed
- added also support for kemi interface
- new mod param: event_callback - specify the name of kemi callback
function
---
Modified: src/modules/tls/tls_dump_vf.c
Modified: src/modules/tls/tls_mod.c
Modified: src/modules/tls/tls_server.c
---
Diff: https://github.com/kamailio/kamailio/commit/5a889756a5386d6df86bd2ae11ac685…
Patch: https://github.com/kamailio/kamailio/commit/5a889756a5386d6df86bd2ae11ac685…
### Description
During some test on my server I forgot to configure a valid listen network address. It's my fault but Kamailio crashed with a useless message:
> kamailio[4739]: segfault at 0 ip 00007f022ede5e71 sp 00007fff94033f08 error 4 in libc-2.17.so[7f022ec82000+1b6000
I think it's better to abort the startup if no listen address is specified and with an explicit error message, instead of produce a segfault and a crash without any error
--
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/1098
Hi fulks
I try changing info value in PAI header-field by using subst() function
into route block as below:
route[3]
{
...
$var(fromU) = 22227777;
...
subst('/^P-Asserted-Identity:(.*)sip:[^@]*@([a-zA-Z0-9.:]+)(
.*)$/P-Asserted-Identity:\1sip:$var(fromU)@\2\3/ig');
...
...
forward();
exit;
}
But when I read ngrep command output I catch P-Asserted-Identity header as
below:
+++++++++++++++++++++++++++++++++++++++++++++++
before route[3] processing:
INVITE sip:99992222@15.113.132.21:5060 SIP/2.0.
...
P-Asserted-Identity: "Display Name 7777" <sip:7777@101.14.101.245>.
...
+++++++++++++++++++++++++++++++++++++++++++++++
after route[3] processing:
INVITE sip:99992222@15.113.132.21:5060 SIP/2.0.
...
P-Asserted-Identity: "Display Name 7777"
<sip:22227777@101.14.101.245>.P-Asserted-Identity:
"Display Name 7777" <sip:7777@101.14.101.245>.
...
+++++++++++++++++++++++++++++++++++++++++++++++
So, is it normal or bug behaviors?
Regards
CMA
CC (gcc) [M rls.so] subscribe.o
subscribe.c: In function 'reply_200':
subscribe.c:340:6: warning: unused variable 'len' [-Wunused-variable]
int len;
^~~
Module: kamailio
Branch: master
Commit: 1fe94fe8129649703c92a87ebd402068faa66624
URL: https://github.com/kamailio/kamailio/commit/1fe94fe8129649703c92a87ebd40206…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-08-14T23:29:41+02:00
pkg/kamailio/deb: version set to 5.1.0-dev6
---
Modified: pkg/kamailio/deb/debian/changelog
Modified: pkg/kamailio/deb/jessie/changelog
Modified: pkg/kamailio/deb/precise/changelog
Modified: pkg/kamailio/deb/sid/changelog
Modified: pkg/kamailio/deb/stretch/changelog
Modified: pkg/kamailio/deb/trusty/changelog
Modified: pkg/kamailio/deb/wheezy/changelog
Modified: pkg/kamailio/deb/xenial/changelog
---
Diff: https://github.com/kamailio/kamailio/commit/1fe94fe8129649703c92a87ebd40206…
Patch: https://github.com/kamailio/kamailio/commit/1fe94fe8129649703c92a87ebd40206…
---
diff --git a/pkg/kamailio/deb/debian/changelog b/pkg/kamailio/deb/debian/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/jessie/changelog b/pkg/kamailio/deb/jessie/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/precise/changelog b/pkg/kamailio/deb/precise/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/stretch/changelog b/pkg/kamailio/deb/stretch/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/trusty/changelog b/pkg/kamailio/deb/trusty/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/wheezy/changelog b/pkg/kamailio/deb/wheezy/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
diff --git a/pkg/kamailio/deb/xenial/changelog b/pkg/kamailio/deb/xenial/changelog
index 8174ad58ea..d2709ed68c 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~dev6) unstable; urgency=medium
+
+ * version set to 5.1.0-dev6
+
+ -- Victor Seva <vseva(a)debian.org> Mon, 14 Aug 2017 23:28:16 +0200
+
kamailio (5.1.0~dev5) unstable; urgency=medium
* version set to 5.1.0-dev5
Compiling fails on CentOS 6 after this change
```
CC (gcc) [M dialog.so] dlg_cseq.o
dlg_cseq.c:273: error: expected ')' before '*' token
dlg_cseq.c:350: error: expected ')' before '*' token
dlg_cseq.c: In function 'dlg_register_cseq_callbacks':
dlg_cseq.c:538: error: 'dlg_cseq_msg_received' undeclared (first use in this function)
dlg_cseq.c:538: error: (Each undeclared identifier is reported only once
dlg_cseq.c:538: error: for each function it appears in.)
dlg_cseq.c:539: error: 'dlg_cseq_msg_sent' undeclared (first use in this function)
make[2]: *** [dlg_cseq.o] Error 1
make[1]: *** [modules] Error 1
```
--
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/commit/4eec934a537551d78e833769c182f80…