Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Klaus Darilion
Seems like Kamailio is configured to require a client certificate, but the client doesn't have one. klaus Am 15.11.2012 15:04, schrieb Denis: Thank you, it worked! I just added listen=tcp:IP:5060 so it probably needs to initialize tcp separately from tls ) Thanks a lot! P.S. now I am havin

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Denis
Thank you, it worked! I just added listen=tcp:IP:5060 so it probably needs to initialize tcp separately from tls ) Thanks a lot! P.S. now I am having another errors though while connecting to tls port but I believe it is certificates problems: $ openssl s_client -connect IP:5061 -tls1 -CAfil

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Daniel-Constantin Mierla
Copy and paste typo, overlapping port use: listen=tcp:127.0.0.1:5060 Cheers, Daniel On 11/15/12 7:54 AM, Denis wrote: Thanks for looking at that, Daniel. If I start all together with tls: and tcp: (both lines order) then I see this: /opt/kamailio/sbin/kamailio[1008]: ERROR: [tcp_main.c:2

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Denis
Thanks for looking at that, Daniel. If I start all together with tls: and tcp: (both lines order) then I see this: /opt/kamailio/sbin/kamailio[1008]: ERROR: [tcp_main.c:2918]: ERROR: tcp_init: bind(9, 0x7f3fa8eb7d64, 16) on IP_ADDRESS:5061 : Address already in use /opt/kamailio/sbin/kamai

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Daniel-Constantin Mierla
Reviewing the previous email, I probably spotted the issues. You said you added: listen=tls:IP.ADDRESS:5061 that forces Kamailio to listen only on tls. But tls is on top of tcp, so add: listen=tcp:127.0.0.1:5061 It was reported couple of days ago, I had no time to look at it yet, traveling

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Denis
Only during kamailio start: ... /opt/kamailio/sbin/kamailio[752]: INFO: rtpproxy [rtpproxy.c:1413]: rtp proxy found, support for it enabled /opt/kamailio/sbin/kamailio[759]: INFO: ctl [io_listener.c:225]: io_listen_loop: using epoll_lt io watch method (config) as soon as I send a request on

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Daniel-Constantin Mierla
Hello, On 11/15/12 4:52 AM, Denis wrote: [...] /opt/kamailio/sbin/kamailio[30278]: ALERT: [main.c:785]: child process 30293 exited by a signal 11 Before this line, do you have any other error messages printed by pid 30278? Cheers, Daniel -- Daniel-Constantin Mierla - http://www.asipto.com h

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Denis
- can you enable core dumping per process, just to be sure this core is not caused by a kill or children processes? I enabled core dump per process and can see that the only 1 core.pidnumber file generated with kamailio PID ___ SIP Express Router

Re: [SR-Users] segfault when phone registers on TLS

2012-11-15 Thread Denis
Hi Daniel, Thanks for your reply. - what is the ssl lib version? OpenSSL 0.9.8o - it is happening all the time you try? as soon as the phone send package on port 5061 the server crashes. openssl s_client -debug -connect HOSTNAME:5061 -tls1 crashes Kamailio as well. - what are the log mess

Re: [SR-Users] segfault when phone registers on TLS

2012-11-14 Thread Daniel-Constantin Mierla
Hello, few questions: - what is the ssl lib version? - it is happening all the time you try? - what are the log messages printed in syslog before the crash? - can you enable core dumping per process, just to be sure this core is not caused by a kill or children processes? Can you try with the

[SR-Users] segfault when phone registers on TLS

2012-11-14 Thread Denis
Hi, I am using kamailio-3.3.2 on Ubuntu 11.04 x64 and when trying to connect via TLS from my Yealink phone kamailio crashes with the following backtrace: Loaded symbols for /lib/x86_64-linux-gnu/libnss_files.so.2 Core was generated by `/opt/kamailio/sbin/kamailio'. Program terminated with signa