Hi,
Just quick question, before sending some more debug info.
I just figured out that issue is related to dispatcher list, I'm using text
file. Following dispatcher list do not work:
1 sip:1.1.1.1;transport=udp 0 0 bla
1 sip:2.2.2.2;transport=udp 0 0 blabla
But if I use below one, it works without any issue:
1 sip:1.1.1.1;transport=udp 0 0
1 sip:2.2.2.2;transport=udp 0 0
Maybe my attributes are incorrect?
With kind regards,
Jurijs
2015-12-17 10:45 GMT+02:00 Daniel-Constantin Mierla <miconda(a)gmail.com>om>:
Hello,
reproduce the case with 'ulimit -c unlimited' executed in the terminal
before starting kamailio. You should get a corefile and then get the output
of 'bt full' in the gdb (gdb /path/to/kamailio /path/to/corefile). Send the
output here to investigate it.
Cheers,
Daniel
On 17/12/15 09:41, Jurijs Ivolga wrote:
Hi,
I have weird behavior, when I'm trying to compare AVP with string:
if ($avp(AVP_ATTRS) != "bla") {
ds_next_dst();
}
$avp(AVP_ATTRS) contains Dispatcher attribute.
Kamailio crashes:
Dec 17 03:39:30 /usr/local/sbin/kamailio[4844]: CRITICAL: <core>
[pass_fd.c:275]: receive_fd(): EOF on 15
Dec 17 03:39:30 /usr/local/sbin/kamailio[4810]: ALERT: <core>
[main.c:728]: handle_sigs(): child process 4816 exited by a signal 11
Dec 17 03:39:30 /usr/local/sbin/kamailio[4810]: ALERT: <core>
[main.c:731]: handle_sigs(): core was not generated
Dec 17 03:39:30 /usr/local/sbin/kamailio[4810]: INFO: <core> [main.c:743]:
handle_sigs(): terminating due to SIGCHLD
Dec 17 03:39:30 /usr/local/sbin/kamailio[4843]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4842]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4841]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4840]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4839]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4838]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4837]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4836]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4835]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4834]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4829]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4814]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4815]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4823]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4813]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4821]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4812]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4818]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4825]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4819]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4822]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4844]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Dec 17 03:39:30 /usr/local/sbin/kamailio[4830]: INFO: <core> [main.c:798]:
sig_usr(): signal 15 received
Following code works fine:
if ($avp(AVP_ATTRS) == "bla") {
ds_next_dst();
}
Kamailio version:
version: kamailio 4.3.4 (x86_64/linux) a56227
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,
DBG_QM_MALLOC, 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: a56227
compiled on 03:29:23 Dec 17 2015 with gcc 4.4.7
Thak you!
With kind regards,
Jurijs
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
listsr-users@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin
Mierlahttp://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio -
http://www.asipto.comhttp://miconda.eu
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users