<!-- Kamailio Pull Request Template -->
<!--
IMPORTANT:
- for detailed contributing guidelines, read:
https://github.com/kamailio/kamailio/blob/master/.github/CONTRIBUTING.md
- pull requests must be done to master branch, unless they are backports
of fixes from master branch to a stable branch
- backports to stable branches must be done with 'git cherry-pick -x ...'
- code is contributed under BSD for core and main components (tm, sl, auth, tls)
- code is contributed GPLv2 or a compatible license for the other components
- GPL code is contributed with OpenSSL licensing exception
-->
#### Pre-Submission Checklist
<!-- Go over all points below, and after creating the PR, tick all the checkboxes that apply -->
<!-- All points should be verified, otherwise, read the CONTRIBUTING guidelines from above-->
<!-- If you're unsure about any of these, don't hesitate to ask on sr-dev mailing list -->
- [ ] Commit message has the format required by CONTRIBUTING guide
- [ ] Commits are split per component (core, individual modules, libs, utils, ...)
- [ ] Each component has a single commit (if not, squash them into one commit)
- [ ] No commits to README files for modules (changes must be done to docbook files
in `doc/` subfolder, the README file is autogenerated)
#### Type Of Change
- [ ] Small bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds new functionality)
- [ ] Breaking change (fix or feature that would change existing functionality)
#### Checklist:
<!-- Go over all points below, and after creating the PR, tick the checkboxes that apply -->
- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue #XXXX (replace XXXX with an open issue number)
#### Description
<!-- Describe your changes in detail -->
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1306
-- Commit Summary --
* evapi: Change NOTICE logging to DBG
-- File Changes --
M src/modules/evapi/evapi_dispatch.c (8)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1306.patchhttps://github.com/kamailio/kamailio/pull/1306.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/1306
<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature requests.
If you have questions about using Kamailio or related to its configuration file,
ask on sr-users mailing list:
* http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
If you have questions about developing extensions to Kamailio or its existing
C code, ask on sr-dev mailing list
* http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
Please try to fill this template as much as possible for any issue. It helps the
developers to troubleshoot the issue.
If you submit a feature request (or enhancement), you can delete the text of
the template and only add the description of what you would like to be added.
If there is no content to be filled in a section, the entire section can be removed.
You can delete the comments from the template sections when filling.
You can delete next line and everything above before submitting (it is a comment).
-->
### Description
<!--
Explain what you did, what you expected to happen, and what actually happened.
-->
Kamailio incorrectly routed RPACK packets with topos module enabled. In the same time there is no problem with topoh module enabled.
It's seems like related to #1097,
### Troubleshooting
#### SIP Traffic
<!--
If the issue is exposed by processing specific SIP messages, grab them with ngrep or save in a pcap file, then add them next, or attach to issue, or provide a link to download them (e.g., to a pastebin site).
-->
RPACK SIP packets with Kamailio topos module: http://imgur.com/SScErQp
RPACK SIP packets with Kamailio topoh module: http://imgur.com/45ch3HB
### Possible Solutions
<!--
If you found a solution or workaround for the issue, describe it. Ideally, provide a pull request with a fix.
-->
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.1.0-dev4 (x86_64/linux) (git revision 7dbf3fe)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 00:24:21 Jun 26 2017 with gcc 4.8.5
```
* **Operating System**:
<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `uname -a`)
-->
```
Red Hat Enterprise Linux Server release 7.3 (Maipo)
Linux 2.6.32-042stab113.21 #1 SMP Wed Mar 23 11:05:25 MSK 2016 x86_64 x86_64 x86_64 GNU/Linux
```
--
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/1167
### Description
Given the following Path header:
```
Path: <sip:10.7.0.186:5062;lr;received=sip:212.2.172.228:39808>
```
When logging with the following log line
```
xlog("L_INFO", "received_address: '$(hdr(Path){param.value,received})'");
```
I am seeing the following being logged in the logs:
```
INFO: <script>: received_address: 'sip:212.2.172.228:39808>'
```
Notice the trailing angle bracket (>).
I would have expected it to return something like the following:
```
'sip:212.2.172.228:39808'
```
Am I using this transformation correctly, or is this indeed a small bug?
### Possible Solutions
Unknown
### Additional Information
* **Kamailio Version** - output of `kamailio -v`
```
version: kamailio 5.0.4 (x86_64/linux)
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: unknown
compiled on 10:57:22 Oct 26 2017 with gcc 4.8.5
```
* **Operating System**:
```
CentOS Linux release 7.4.1708 (Core)
Linux localhost 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
```
--
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/1305
Module: kamailio
Branch: master
Commit: 54e3ce2103423fd08e9f18425f86af5ea04ed85f
URL: https://github.com/kamailio/kamailio/commit/54e3ce2103423fd08e9f18425f86af5…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-11-08T01:01:26+01:00
modules: readme files regenerated - textopsx ... [skip ci]
---
Modified: src/modules/textopsx/README
---
Diff: https://github.com/kamailio/kamailio/commit/54e3ce2103423fd08e9f18425f86af5…
Patch: https://github.com/kamailio/kamailio/commit/54e3ce2103423fd08e9f18425f86af5…
---
diff --git a/src/modules/textopsx/README b/src/modules/textopsx/README
index b3ab14c2ab..071eec2ee6 100644
--- a/src/modules/textopsx/README
+++ b/src/modules/textopsx/README
@@ -127,7 +127,7 @@ Chapter 1. Admin Guide
Note: It must be used before the transaction is created in
request_route and not inside the onreply_route[name] executed by tm
- module. Also, do not used after resuming a suspended request or reply,
+ module. Also, do not use after resuming a suspended request or reply,
at that moment the transaction is already created.
Example 1.1. msg_apply_changes() usage
Module: kamailio
Branch: master
Commit: 8443b3e28a3f44a127ab8de6b8ee329f2f796e12
URL: https://github.com/kamailio/kamailio/commit/8443b3e28a3f44a127ab8de6b8ee329…
Author: Mikko Lehto <mslehto(a)iki.fi>
Committer: Mikko Lehto <mslehto(a)iki.fi>
Date: 2017-11-08T01:48:11+02:00
textopsx: fix documentation typo
---
Modified: src/modules/textopsx/doc/functions.xml
---
Diff: https://github.com/kamailio/kamailio/commit/8443b3e28a3f44a127ab8de6b8ee329…
Patch: https://github.com/kamailio/kamailio/commit/8443b3e28a3f44a127ab8de6b8ee329…
---
diff --git a/src/modules/textopsx/doc/functions.xml b/src/modules/textopsx/doc/functions.xml
index 28bc7f17da..5412476ace 100644
--- a/src/modules/textopsx/doc/functions.xml
+++ b/src/modules/textopsx/doc/functions.xml
@@ -29,7 +29,7 @@
<para>
Note: It must be used before the transaction is created in
request_route and not inside the onreply_route[name] executed by tm
- module. Also, do not used after resuming a suspended request or reply,
+ module. Also, do not use after resuming a suspended request or reply,
at that moment the transaction is already created.
</para>
<example>
hello all
recently we are seeing some weird messages handling with dialogs in
Kamailio version 5.0
we sometimes are seeing messages like
/usr/local/kamailio/sbin/kamailio[15372]: NOTICE: dialog
[dlg_hash.c:249]: dlg_clean_run(): dialog in delete state is too old
(0x7fa65445c850 ref 3)
/usr/local/kamailio/sbin/kamailio[15372]: NOTICE: dialog
[dlg_hash.c:235]: dlg_clean_run(): dialog in early state is too old
(0x7fa652d57110 ref 1)
we increased the debug description adding some lines to the dialog
module code so we could track the calls of the calls that these messages
belong to, and we could see that those messages appeared in calls just
released at that moment, for example:
<134>Nov 4 11:21:38 localhost /usr/local/kamailio/sbin/kamailio[4108]:
INFO: mad-localhost-1 Call 97980 / Call-ID
1409565771_82382809(a)195.219.240.46: Creating dialog [8043:21772] with
hash id 21772 and hash entry 8043
<134>Nov 4 11:21:38 localhost /usr/local/kamailio/sbin/kamailio[4106]:
INFO: mad-localhost-1 Call 97980 / Call-ID
1409565771_82382809(a)195.219.240.46: Status 100, 6610
<134>Nov 4 11:21:39 localhost /usr/local/kamailio/sbin/kamailio[4111]:
INFO: mad-localhost-1 Call 97980 / Call-ID
1409565771_82382809(a)195.219.240.46: CANCEL received in A-Leg, relaying
downstream
<134>Nov 4 11:21:39 localhost /usr/local/kamailio/sbin/kamailio[4112]:
INFO: mad-localhost-1 Call 97980 / Call-ID
1409565771_82382809(a)195.219.240.46: Status 487, 6610
<133>Nov 4 11:21:39 localhost /usr/local/kamailio/sbin/kamailio[4139]:
NOTICE: dialog [dlg_hash.c:251]: dlg_clean_run(): dialog in delete state
is too old (0x7fa0c02a6870 ref 3) with callid
'1409565771_82382809(a)195.219.240.46'
<129>Nov 4 11:21:39 mad-proxy-inout-1
/usr/local/kamailio/sbin/kamailio[4112]: ALERT: dialog
[dlg_handlers.c:1715]: dlg_run_event_route(): after event route - dialog
not found [8043:21772] (1/5) (0x7fa0c02a6870) with callid
'1409565771_82382809(a)195.219.240.46'
we printed the dialog id and entry hash values and we can see there are
no other calls creating same values in the previous hours, or using same
memory allocation, or same callid, so it seems like there was some kind
of strange issue with the dialog timers....¿?
By the way, this is happening only few times (80-100 times) a day having
many thousands of calls, so it's quite difficult for us to duplicate, we
couldn't do it until now.
We also tried to use the timer_procs 0 or 1 to use a different proc
timer but seems the issue happens in both scenarios.
The configuration change we made and seems it was done when these
messages started to appear is to use dialog event_route when ended and
failed to do some stuff there managing some dialog variables.
Does ti make any sense that attempting to use those variables could
cause these behaviour?
Do you have any idea about it could be or how we can check it deeper?
thanks a lot and regards
david escartin
Module: kamailio
Branch: master
Commit: f6ccf52b1559a6e242484072765b8d223da4ec73
URL: https://github.com/kamailio/kamailio/commit/f6ccf52b1559a6e242484072765b8d2…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2017-11-07T16:21:17+01:00
pkg/kamailio/deb: version set to 5.1.0~pre1
---
Modified: pkg/kamailio/deb/buster/changelog
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/f6ccf52b1559a6e242484072765b8d2…
Patch: https://github.com/kamailio/kamailio/commit/f6ccf52b1559a6e242484072765b8d2…
---
diff --git a/pkg/kamailio/deb/buster/changelog b/pkg/kamailio/deb/buster/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/buster/changelog
+++ b/pkg/kamailio/deb/buster/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/debian/changelog b/pkg/kamailio/deb/debian/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/debian/changelog
+++ b/pkg/kamailio/deb/debian/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/jessie/changelog b/pkg/kamailio/deb/jessie/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/jessie/changelog
+++ b/pkg/kamailio/deb/jessie/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/precise/changelog b/pkg/kamailio/deb/precise/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/precise/changelog
+++ b/pkg/kamailio/deb/precise/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/sid/changelog b/pkg/kamailio/deb/sid/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/sid/changelog
+++ b/pkg/kamailio/deb/sid/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/stretch/changelog b/pkg/kamailio/deb/stretch/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/stretch/changelog
+++ b/pkg/kamailio/deb/stretch/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/trusty/changelog b/pkg/kamailio/deb/trusty/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/trusty/changelog
+++ b/pkg/kamailio/deb/trusty/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/wheezy/changelog b/pkg/kamailio/deb/wheezy/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/wheezy/changelog
+++ b/pkg/kamailio/deb/wheezy/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0
diff --git a/pkg/kamailio/deb/xenial/changelog b/pkg/kamailio/deb/xenial/changelog
index e050b15184..98d7bffe40 100644
--- a/pkg/kamailio/deb/xenial/changelog
+++ b/pkg/kamailio/deb/xenial/changelog
@@ -1,3 +1,9 @@
+kamailio (5.1.0~pre1) unstable; urgency=medium
+
+ * version set to 5.1.0-pre1
+
+ -- Victor Seva <vseva(a)debian.org> Tue, 07 Nov 2017 16:20:33 +0100
+
kamailio (5.1.0~pre0) unstable; urgency=medium
* version set to 5.1.0-pre0