Re: [sr-dev] [kamailio/kamailio] sipcapture: fix HEP3 capture-id >= 2^16 (#1272)

2017-10-13 Thread Alexandr Dubovikov
Merged #1272.

-- 
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/1272#event-1292772589___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:4.4:3794ecf8: Merge pull request #1272 from btriller/fix-hep3-capture-id-backport-4.4

2017-10-13 Thread GitHub
Module: kamailio
Branch: 4.4
Commit: 3794ecf832925e71dd6834c711388801aa60c274
URL: 
https://github.com/kamailio/kamailio/commit/3794ecf832925e71dd6834c711388801aa60c274

Author: Alexandr Dubovikov 
Committer: GitHub 
Date: 2017-10-13T20:10:17+02:00

Merge pull request #1272 from btriller/fix-hep3-capture-id-backport-4.4

sipcapture: fix HEP3 capture-id >= 2^16

---

Modified: modules/sipcapture/sipcapture.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/3794ecf832925e71dd6834c711388801aa60c274.diff
Patch: 
https://github.com/kamailio/kamailio/commit/3794ecf832925e71dd6834c711388801aa60c274.patch

---

diff --git a/modules/sipcapture/sipcapture.c b/modules/sipcapture/sipcapture.c
index fb999360a5..e80158b82e 100644
--- a/modules/sipcapture/sipcapture.c
+++ b/modules/sipcapture/sipcapture.c
@@ -257,7 +257,7 @@ enum hash_source source = hs_error;
 
 //unsigned int rr_idx = 0;
 
-struct hep_timehdr* heptime;
+struct hep_timeinfo* heptime;
 
 /*! \brief
  * Exported functions
@@ -1112,7 +1112,7 @@ static int child_init(int rank)
}
 
 
-   heptime = (struct hep_timehdr*)pkg_malloc(sizeof(struct hep_timehdr));
+   heptime = (struct hep_timeinfo*)pkg_malloc(sizeof(struct hep_timeinfo));
if(heptime==NULL) {
LM_ERR("no more pkg memory left\n");
return -1;


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] sipcapture: fix HEP3 capture-id >= 2^16 (#1272)

2017-10-13 Thread Bastian Triller
(cherry picked from commit dbd57c3eac30e1de54d98eb2ba8f608a17f7adbf)





 Pre-Submission Checklist



- [ ] 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:

- [ ] PR should be backported to stable branches
- [ ] Tested changes locally
- [ ] Related to issue # (replace  with an open issue number)

 Description


You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/1272

-- Commit Summary --

  * sipcapture: fix HEP3 capture-id >= 2^16

-- File Changes --

M modules/sipcapture/sipcapture.c (4)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/1272.patch
https://github.com/kamailio/kamailio/pull/1272.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/1272
___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] git:master:98609436: sipdump: implemented sipdump.enable rpc command

2017-10-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes:

> The module was just pushed earlier today, still work to do on it. The
> online html docs are generated by cron job few times a day, the html
> index is manually updated and not done yet, but the README is already in
> the source code.

OK, Juha

___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] git:master:98609436: sipdump: implemented sipdump.enable rpc command

2017-10-13 Thread Daniel-Constantin Mierla


On 13.10.17 13:11, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>> sipdump: implemented sipdump.enable rpc command
>>
>> ---
>>
>> Modified: src/modules/sipdump/sipdump_mod.c
>> Modified: src/modules/sipdump/sipdump_write.c
>> Modified: src/modules/sipdump/sipdump_write.h
> What is sipdump module?  Kamailio wiki does not know about it:
>
> http://kamailio.org/docs/modules/devel/
>
>
The module was just pushed earlier today, still work to do on it. The
online html docs are generated by cron job few times a day, the html
index is manually updated and not done yet, but the README is already in
the source code.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:98609436: sipdump: implemented sipdump.enable rpc command

2017-10-13 Thread Juha Heinanen
Daniel-Constantin Mierla writes:

> sipdump: implemented sipdump.enable rpc command
> 
> ---
> 
> Modified: src/modules/sipdump/sipdump_mod.c
> Modified: src/modules/sipdump/sipdump_write.c
> Modified: src/modules/sipdump/sipdump_write.h

What is sipdump module?  Kamailio wiki does not know about it:

http://kamailio.org/docs/modules/devel/

-- Juha

___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:cdafc5a6: core: helper function to print ip address in a buffer with square brackets

2017-10-13 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: cdafc5a6a0a3487101820d608ffa5973d7464d00
URL: 
https://github.com/kamailio/kamailio/commit/cdafc5a6a0a3487101820d608ffa5973d7464d00

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-10-13T12:33:30+02:00

core: helper function to print ip address in a buffer with square brackets

---

Modified: src/core/ip_addr.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/cdafc5a6a0a3487101820d608ffa5973d7464d00.diff
Patch: 
https://github.com/kamailio/kamailio/commit/cdafc5a6a0a3487101820d608ffa5973d7464d00.patch

---

diff --git a/src/core/ip_addr.h b/src/core/ip_addr.h
index 7edb44e679..df23e64c6d 100644
--- a/src/core/ip_addr.h
+++ b/src/core/ip_addr.h
@@ -660,15 +660,39 @@ static inline int ip_addr2sbuf(struct ip_addr* ip, char* 
buff, int len)
}
 }
 
+/* same as ip_addr2sbuf, but with [  ] around IPv6 addresses */
+static inline int ip_addr2sbufz(struct ip_addr* ip, char* buff, int len)
+{
+   char *p;
+   int sz;
+
+   p = buff;
+   switch(ip->af){
+   case AF_INET6:
+   *p++ = '[';
+   sz = ip6tosbuf(ip->u.addr, p, len-2);
+   p += sz;
+   *p++ = ']';
+   *p=0;
+   return sz + 2;
+   break;
+   case AF_INET:
+   return ip4tosbuf(ip->u.addr, buff, len);
+   break;
+   default:
+   LM_CRIT("unknown address family %d\n", ip->af);
+   return 0;
+   }
+}
 
 /* maximum size of a str returned by ip_addr2a (including \0) */
 #define IP_ADDR_MAX_STR_SIZE (IP6_MAX_STR_SIZE+1) /* ip62ascii +  \0*/
+#define IP_ADDR_MAX_STRZ_SIZE (IP6_MAX_STR_SIZE+3) /* ip62ascii + [ + ] + \0*/
 /* fast ip_addr -> string converter;
  * it uses an internal buffer
  */
 static inline char* ip_addr2a(struct ip_addr* ip)
 {
-
static char buff[IP_ADDR_MAX_STR_SIZE];
int len;
 
@@ -683,7 +707,7 @@ static inline char* ip_addr2a(struct ip_addr* ip)
 static inline char* ip_addr2strz(struct ip_addr* ip)
 {
 
-   static char buff[IP_ADDR_MAX_STR_SIZE+2];
+   static char buff[IP_ADDR_MAX_STRZ_SIZE];
char *p;
int len;
 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:f662a625: core: fix for bitwise test in core rpc command

2017-10-13 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: f662a62519f99e046caf03063147104af22ec3c3
URL: 
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104af22ec3c3

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-10-13T12:33:30+02:00

core: fix for bitwise test in core rpc command

---

Modified: src/core/core_cmd.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104af22ec3c3.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f662a62519f99e046caf03063147104af22ec3c3.patch

---

diff --git a/src/core/core_cmd.c b/src/core/core_cmd.c
index a489a8975d..16b36e5a2b 100644
--- a/src/core/core_cmd.c
+++ b/src/core/core_cmd.c
@@ -944,7 +944,7 @@ static void core_sockets_list(rpc_t* rpc, void* c)
rpc->struct_add(ha, "ss",
"proto", get_proto_name(proto),
"address", si->name.s);
-   if (!si->flags & SI_IS_IP)
+   if (!(si->flags & SI_IS_IP))
rpc->struct_add(ha, "s",
"ipaddress", si->address_str.s);
rpc->struct_add(ha, "sss",


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:18b99626: core: fix bitwise test for priting socket details

2017-10-13 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 18b996262fb1c7bde94b494ce837754dc82c9e7e
URL: 
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754dc82c9e7e

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-10-13T12:33:30+02:00

core: fix bitwise test for priting socket details

---

Modified: src/core/socket_info.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754dc82c9e7e.diff
Patch: 
https://github.com/kamailio/kamailio/commit/18b996262fb1c7bde94b494ce837754dc82c9e7e.patch

---

diff --git a/src/core/socket_info.c b/src/core/socket_info.c
index a50cfe3e59..424c5d83e8 100644
--- a/src/core/socket_info.c
+++ b/src/core/socket_info.c
@@ -1913,7 +1913,7 @@ void print_all_socket_lists()
printf(" %s: %s",
get_valid_proto_name(proto),
si->name.s);
-   if (!si->flags & SI_IS_IP)
+   if (!(si->flags & SI_IS_IP))
printf(" [%s]", si->address_str.s);
printf( ":%s%s%s",
si->port_no_str.s, 


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


Re: [sr-dev] [kamailio/kamailio] registrar: function "registered(...)" different workers integrity (#1267)

2017-10-13 Thread Dmitri Savolainen
It seems not startup issue. I add [usrloc:contact-expired] hook
11:58:31 kamailio started, then i register/unregister my endpoint and check it 
status for all workers. After one of unregister integrity was missed and 
continued up to [usrloc:contact-expired] fire ("usrloc", "timer_interval")
```
Oct 13 12:31:24 kamailio[32018] registered
Oct 13 12:31:24 kamailio[32016] registered
Oct 13 12:31:24 kamailio[32022] NOT registered
Oct 13 12:31:24 kamailio[32025] NOT registered
Oct 13 12:31:26 kamailio[32023] registered
Oct 13 12:31:26 kamailio[32022] NOT registered
Oct 13 12:31:26 kamailio[32016] registered
Oct 13 12:31:26 kamailio[32020] NOT registered
Oct 13 12:31:26 kamailio[32015] registered
Oct 13 12:31:26 kamailio[32025] NOT registered
Oct 13 12:31:26 kamailio[32018] registered
Oct 13 12:31:26 kamailio[32028] registered
Oct 13 12:31:28 kamailio[32015] registered
Oct 13 12:31:28 kamailio[32018] registered
Oct 13 12:31:28 kamailio[32022] NOT registered
Oct 13 12:31:28 kamailio[32028] registered
Oct 13 12:31:28 kamailio[32025] NOT registered
Oct 13 12:31:28 kamailio[32020] NOT registered
Oct 13 12:31:28 kamailio[32023] registered
Oct 13 12:31:28 kamailio[32016] registered
Oct 13 12:31:30 kamailio[32023] registered
Oct 13 12:31:30 kamailio[32025] NOT registered
Oct 13 12:31:30 kamailio[32018] registered
Oct 13 12:31:30 kamailio[32015] registered
Oct 13 12:31:30 kamailio[32020] NOT registered
Oct 13 12:31:30 kamailio[32022] NOT registered
Oct 13 12:31:30 kamailio[32028] registered
Oct 13 12:31:30 kamailio[32016] registered
Oct 13 12:31:32 kamailio[32022] NOT registered
Oct 13 12:31:32 kamailio[32020] NOT registered
Oct 13 12:31:32 kamailio[32016] registered
Oct 13 12:31:32 kamailio[32025] NOT registered
Oct 13 12:31:32 kamailio[32018] registered
Oct 13 12:31:32 kamailio[32015] registered
Oct 13 12:31:32 kamailio[32028] registered
Oct 13 12:31:32 kamailio[32023] registered
Oct 13 12:31:33 kamailio[32030] INFO: 

[sr-dev] git:master:9c3958e7: modules: readme files regenerated - nat_traversal ... [skip ci]

2017-10-13 Thread Kamailio Dev
Module: kamailio
Branch: master
Commit: 9c3958e77c2f6bfcf7a66e36b05a163447f33c5b
URL: 
https://github.com/kamailio/kamailio/commit/9c3958e77c2f6bfcf7a66e36b05a163447f33c5b

Author: Kamailio Dev 
Committer: Kamailio Dev 
Date: 2017-10-13T11:01:45+02:00

modules: readme files regenerated - nat_traversal ... [skip ci]

---

Modified: src/modules/nat_traversal/README

---

Diff:  
https://github.com/kamailio/kamailio/commit/9c3958e77c2f6bfcf7a66e36b05a163447f33c5b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/9c3958e77c2f6bfcf7a66e36b05a163447f33c5b.patch

---

diff --git a/src/modules/nat_traversal/README b/src/modules/nat_traversal/README
index 9b37228d60..c3054862e4 100644
--- a/src/modules/nat_traversal/README
+++ b/src/modules/nat_traversal/README
@@ -50,7 +50,7 @@ Dan Pascu
   6.3. subscribed_endpoints
   6.4. dialog_endpoints
 
-7. Exported pseudo-variables
+7. Pseudo Variables
 
   7.1. $keepalive.socket(nat_endpoint)
   7.2. $source_uri
@@ -113,7 +113,7 @@ Chapter 1. Admin Guide
 6.3. subscribed_endpoints
 6.4. dialog_endpoints
 
-   7. Exported pseudo-variables
+   7. Pseudo Variables
 
 7.1. $keepalive.socket(nat_endpoint)
 7.2. $source_uri
@@ -605,7 +605,7 @@ if ((method=="REGISTER" || method=="SUBSCRIBE" ||
Indicates how many of the NAT endpoints are kept alive for taking part
in an INVITE dialog.
 
-7. Exported pseudo-variables
+7. Pseudo Variables
 
7.1. $keepalive.socket(nat_endpoint)
7.2. $source_uri


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:c7f40f8a: sipdump: new module saving sip traffic and additional details into local files

2017-10-13 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: c7f40f8a2acbfad5c755aa32bdbb39a491899e2b
URL: 
https://github.com/kamailio/kamailio/commit/c7f40f8a2acbfad5c755aa32bdbb39a491899e2b

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-10-13T10:57:19+02:00

sipdump: new module saving sip traffic and additional details into local files

- aiming to help troubleshooting during development or testing,
  especially when dealing with SIP over TLS with forward privacy

---

Added: src/modules/sipdump/Makefile
Added: src/modules/sipdump/README
Added: src/modules/sipdump/doc/Makefile
Added: src/modules/sipdump/doc/sipdump.xml
Added: src/modules/sipdump/doc/sipdump_admin.xml
Added: src/modules/sipdump/sipdump_mod.c
Added: src/modules/sipdump/sipdump_write.c
Added: src/modules/sipdump/sipdump_write.h

---

Diff:  
https://github.com/kamailio/kamailio/commit/c7f40f8a2acbfad5c755aa32bdbb39a491899e2b.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c7f40f8a2acbfad5c755aa32bdbb39a491899e2b.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] git:master:642dcef1: nat_traversal: added section ids in docs

2017-10-13 Thread Daniel-Constantin Mierla
Module: kamailio
Branch: master
Commit: 642dcef14271bc1376a54f8afe3a159d4e831ba6
URL: 
https://github.com/kamailio/kamailio/commit/642dcef14271bc1376a54f8afe3a159d4e831ba6

Author: Daniel-Constantin Mierla 
Committer: Daniel-Constantin Mierla 
Date: 2017-10-13T09:34:59+02:00

nat_traversal: added section ids in docs

---

Modified: src/modules/nat_traversal/doc/nat_traversal_admin.xml

---

Diff:  
https://github.com/kamailio/kamailio/commit/642dcef14271bc1376a54f8afe3a159d4e831ba6.diff
Patch: 
https://github.com/kamailio/kamailio/commit/642dcef14271bc1376a54f8afe3a159d4e831ba6.patch


___
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev


[sr-dev] [kamailio/kamailio] pua_dialoginfo: segfault after setting pubruri_caller_dlg_var/pubruri_callee_dlg_var (#1271)

2017-10-13 Thread Sebastian Denz


### Description

Kamailio is segfaulting after activating pubruri_caller_dlg_var and 
pubruri_callee_dlg_var from pua_dialoginfo.

modparam("pua_dialoginfo", "use_pubruri_avps", 1)
//modparam("pua_dialoginfo", "pubruri_caller_avp", "$avp(s:pubruris_caller)")
//modparam("pua_dialoginfo", "pubruri_callee_avp", "$avp(s:pubruris_callee)")
modparam("pua_dialoginfo", "pubruri_caller_dlg_var", "pubruri_caller")
modparam("pua_dialoginfo", "pubruri_callee_dlg_var", "pubruri_callee")

When i comment the corresponding lines and switch back to the regular avps 
Kamailio runs without problems.

### Troubleshooting

 Reproduction

In my setup it seems to be sufficient to just set the module parameters to 
provoke the segfault.
I dont have to wait for any SIP-Traffic or accessing the dlg_vars. Kamailio 
segfaults while starting.

 Debugging Data



```
[root@kamroute ~]# gdb /usr/sbin/kamailio /core.6547
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-100.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/sbin/kamailio...Reading symbols from 
/usr/lib/debug/usr/sbin/kamailio.debug...done.
done.
[New LWP 6547]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f 
/etc/kamailio/kamailio_'.
Program terminated with signal 11, Segmentation fault.
#0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:31
31  movdqu  (%rdi), %xmm1
(gdb) bt full
#0  __strlen_sse2 () at ../sysdeps/x86_64/strlen.S:31
No locals.
#1  0x7fc7c61786c4 in mod_init () at pua_dialoginfo.c:692
bind_pua = 0x7fc7c6396b88 
s = {s = 0x0, len = -969002120}
avp_spec = {type = 397561584, getf = 0x7fc7ce3b8827 <__fprintf+135>, 
setf = 0x3, pvp = {pvn = {type = 48, nfree = 0x7ffd17b24e80, u = {isname = 
{type = 397561264, name = {n = 7976200, s = {s = 0x79b508 "DEBUG", 
  len = 397562576}, re = 0x79b508}}, dname = 
0x7ffd17b24db0}}, pvi = {type = 0, u = {ival = 6547, dval = 0x1993}}}, trans = 
0x79b508}
__FUNCTION__ = "mod_init"
#2  0x005661e2 in init_mod (m=0x7fc7cdbd3ac0) at core/sr_module.c:966
__FUNCTION__ = "init_mod"
#3  0x00565f1e in init_mod (m=0x7fc7cdbd3e50) at core/sr_module.c:963
__FUNCTION__ = "init_mod"
#4  0x00566519 in init_modules () at core/sr_module.c:995
t = 0x2003e4
i = 994
__FUNCTION__ = "init_modules"
#5  0x004293e1 in main (argc=13, argv=0x7ffd17b252d8) at main.c:2584
cfg_stream = 0x254c010
c = -1
r = 397562176
tmp = 0x7ffd17b256e0 ""
tmp_len = 0
port = 0
proto = 0
options = 0x737a20 
":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
ret = -1
seed = 286186509
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0x0
p = 0x0
st = {st_dev = 18, st_ino = 37027, st_nlink = 2, st_mode = 16832, 
st_uid = 996, st_gid = 2, __pad0 = 0, st_rdev = 0, st_size = 60, st_blksize = 
4096, st_blocks = 0, st_atim = {tv_sec = 1507876455, tv_nsec = 469604021}, 
  st_mtim = {tv_sec = 1507878072, tv_nsec = 553083864}, st_ctim = 
{tv_sec = 1507878072, tv_nsec = 553083864}, __unused = {0, 0, 0}}
__FUNCTION__ = "main"
(gdb) info locals
cfg_stream = 0x254c010
c = -1
r = 397562176
tmp = 0x7ffd17b256e0 ""
tmp_len = 0
port = 0
proto = 0
options = 0x737a20 ":f:cm:M:dVIhEeb:l:L:n:vKrRDTN:W:w:t:u:g:P:G:SQ:O:a:A:x:X:Y:"
ret = -1
seed = 286186509
rfd = 4
debug_save = 0
debug_flag = 0
dont_fork_cnt = 0
n_lst = 0x0
p = 0x0
st = {st_dev = 18, st_ino = 37027, st_nlink = 2, st_mode = 16832, st_uid = 996, 
st_gid = 2, __pad0 = 0, st_rdev = 0, st_size = 60, st_blksize = 4096, st_blocks 
= 0, st_atim = {tv_sec = 1507876455, tv_nsec = 469604021}, st_mtim = {
tv_sec = 1507878072, tv_nsec = 553083864}, st_ctim = {tv_sec = 1507878072, 
tv_nsec = 553083864}, __unused = {0, 0, 0}}
__FUNCTION__ = "main"
(gdb) list
26  mov %edi, %ecx
27  and $0x3f, %ecx
28  pxor%xmm0, %xmm0
29  cmp $0x30, %ecx
30  ja  L(next)
31  movdqu  (%rdi), %xmm1
32  pcmpeqb %xmm1, %xmm0
33  pmovmskb %xmm0, %edx
34  test%edx, %edx
35  jnz L(exit_less16)
(gdb)
```

 Log Messages


Nothing which seems to be interesting. Kamailios last words are:
```
 0(7450) DEBUG:  [core/sr_module.c:965]: init_mod():