Re: [OpenSIPS-Users] Register timeout question.

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Rodrigo, I meant 40 mins from the registration time (out for the overall 60). And yes, yous suspicion is correct. As said, the "opensipsctl online" only shows the registered contacts, without actually checking their current status. The patch I mentioned will be available in the next days

Re: [OpenSIPS-Users] NOTIFY and TLS issue

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Bogdan, If the conn with B is still alive (the one created by SUBSCRIBE requests), it should be reused when OpenSIPS has to send the NOTIFY. Have you enabled the tcp aliases ? If still a problem, can you make a log (with debug 6) when the NOTIFY is to be send + a listing from list_tcp_con

Re: [OpenSIPS-Users] TLS discrepancy between 1.7.1 and 1.11.5

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Matt, Can you post of pastebin (or similar) the SIP capture showing the incoming NOTIFY (via UDP) from Asterisk and the outgoing NOTIFY (supposedly via TLS) to UAC ? Also the SUBSCRIBE request going from OpenSIPS to Asterisk will help alot. Regards, Bogdan-Andrei Iancu OpenSIPS Founder an

Re: [OpenSIPS-Users] How to check SIP trace of calls in TLS

2015-08-31 Thread Bogdan-Andrei Iancu
Or you can use siptrace module to capture the SIP messages at the OpenSIPS level. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.08.2015 08:32, Giovanni Maruzzelli wrote: With ngrep you cant. You must use sngrep or sipgrep2, with certific

Re: [OpenSIPS-Users] core generated by opensips

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Rahul, Could you do in gdb: p *req to see all the field of the request structure. Thanks, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 30.08.2015 23:31, Gupta, Rahul wrote: Hi, I am using opensips-1.11.5-tls and the opensips crashed with th

Re: [OpenSIPS-Users] NOTIFY and TLS issue

2015-08-31 Thread Damien Sandras
Hi Bogdan, I'm not sure about that (see our previous discussions about connection reuse). It will only reuse the active SUBSCRIBE TCP connection if the Contact header of the SUBSCRIBE indicates the same IP/port than the one used to create the outbound SUBSCRIBE TCP connection. That is rarely the ca

Re: [OpenSIPS-Users] OpenSIPS Control Panel 6.1

2015-08-31 Thread Alex Ionescu
Hi Bill, Sorry for my late answer, I was on holiday. If you can attach a patch I can take a look over it and if it is good for the project I can submit the code. Regards, Alex On 14.08.2015 10:32, Bill Shirley wrote: Sorry Alex; I didn't mean to rile you. Remember I DID say I was grateful

Re: [OpenSIPS-Users] core generated by opensips

2015-08-31 Thread Gupta, Rahul
Hi Bogdan, here are the details you requested (gdb) bt #0 0x7f2095572e2c in vfprintf () from /lib64/libc.so.6 #1 0x7f209560fed0 in __vsyslog_chk () from /lib64/libc.so.6 #2 0x7f2095610100 in syslog () from /lib64/libc.so.6 #3 0x004c4202 in tcp_read_req (con=0x7f2081a933c0,

[OpenSIPS-Users] OpenSIPS crash

2015-08-31 Thread Stas Kobzar
Hello list, We had OpenSIPS crashed. Please, find attached crash full stack trace from core file attached. OpenSIPS version: version: opensips 1.11.5-notls (x86_64/linux) flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT

Re: [OpenSIPS-Users] OpenSIPS crash

2015-08-31 Thread Stas Kobzar
Hello, Another crash just happened. Please, find attached gdb bt full. Thank you, On Mon, Aug 31, 2015 at 11:32 AM, Stas Kobzar wrote: > Hello list, > > We had OpenSIPS crashed. Please, find attached crash full stack trace from > core file attached. > OpenSIPS version: > version: opensips 1.11

Re: [OpenSIPS-Users] TLS discrepancy between 1.7.1 and 1.11.5

2015-08-31 Thread Matt Hamilton
Hi Bogdan, Pastebin link is http://pastebin.com/tM7zqTKX I included both 1.7.1 and 1.11 captures. I don't see a difference between them other than 1.11 sending the NOTIFY to UAC unencrypted. Btw, INVITEs seems to be behaving the same way as NOTIFY (don't have a capture for those - I assume t

[OpenSIPS-Users] Invite no repsonse timer

2015-08-31 Thread bluerain
Just curious, I am using opensips 1.11 and have the tm module set as: modparam("tm", "fr_timer", 5) modparam("tm", "fr_inv_timer", 120) modparam("tm", "restart_fr_on_each_reply", 0) modparam("tm", "onreply_avp_mode", 1) When I do wireshark on a call that the far end device is not responding (or d

Re: [OpenSIPS-Users] OpenSIPS crash

2015-08-31 Thread Stas Kobzar
Hello, We had a couple another crashes which looks very much the same. Please, see attached. Thank you, On Mon, Aug 31, 2015 at 12:00 PM, Stas Kobzar wrote: > Hello, > Another crash just happened. > Please, find attached gdb bt full. > > Thank you, > > > On Mon, Aug 31, 2015 at 11:32 AM, Stas K

Re: [OpenSIPS-Users] Register timeout question.

2015-08-31 Thread Bogdan-Andrei Iancu
Rodrigo, The feature I mentioned was just pushed to GIT : https://github.com/OpenSIPS/opensips/commit/a1992cd14fe393ca3b3fba0dac0a423e28764966 It relies on some heavy changes on the usrloc (available only on trunk), so you cannot simply copy only the above commit. Regards, Bogdan-Andrei Ianc

Re: [OpenSIPS-Users] core generated by opensips

2015-08-31 Thread Bogdan-Andrei Iancu
Thank you Rahul, the whole req variable seems to be garbage :(. Could you additionally print ingdb: con->con_req ¤t_req req Also, does this crash happens on the first TCP read ? or after a while, after several read ops? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer

[OpenSIPS-Users] Question regarding TLS

2015-08-31 Thread Gupta, Rahul
Hi, I am using opensips-1.11.5-tls and trying to figure out which TLS versions are supported >From the documentation I see that either 1.0 or 1.2 are supported. Is it >possible to have all the tls version support (1.0, 1.1 and 1.2) within the >same instance of opensips ? *TLSv1_2 - mea

Re: [OpenSIPS-Users] core generated by opensips

2015-08-31 Thread Gupta, Rahul
Hi Bogdan, following is the info you requested. This is not the first tcp read, this server is been running for a while and taking calls. (gdb) bt #0 0x7f2095572e2c in vfprintf () from /lib64/libc.so.6 #1 0x7f209560fed0 in __vsyslog_chk () from /lib64/libc.so.6 #2 0x7f2095610100 in

Re: [OpenSIPS-Users] OpenSIPS crash

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Stas, In frame 0, please print in gdb: _c->callid _ci->callid *_ci->callid Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.08.2015 18:32, Stas Kobzar wrote: Hello list, We had OpenSIPS crashed. Please, find attached crash ful

Re: [OpenSIPS-Users] Invite no repsonse timer

2015-08-31 Thread Bogdan-Andrei Iancu
Hi, The fr_timer does not have steps for retransmissions, but after how long the retransmissions should stop. Retransmissions do have a predefined stepping of 0.5, 1, 2, 4 , 4, 4 seconds until the expire is reached. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www

Re: [OpenSIPS-Users] Question regarding TLS

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Rahul, For a TLS domain you can use a single TLS method. But you can use different values for different TLS domains. For 1.11, see the example here: http://www.opensips.org/html/docs/tutorials/tls-1.4.x.html#AEN345 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.open

Re: [OpenSIPS-Users] TLS discrepancy between 1.7.1 and 1.11.5

2015-08-31 Thread Bogdan-Andrei Iancu
Hi Matt, Indeed, the SIP messages do look ok. Could you post the OpenSIPS logs (in debug 4) for processing the NOTIFY request ? Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.08.2015 20:07, Matt Hamilton wrote: Hi Bogdan, Pastebin lin

Re: [OpenSIPS-Users] core generated by opensips

2015-08-31 Thread Bogdan-Andrei Iancu
And printing : *con Thanks, Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 31.08.2015 22:50, Gupta, Rahul wrote: Hi Bogdan, following is the info you requested. This is not the first tcp read, this server is been running for a while and taking cal

Re: [OpenSIPS-Users] B2BUA marketting scenario

2015-08-31 Thread Sebastian Sastre
Bodgan, Did you have a change to look into this? just curious to know if you replicated the problem. thanks ! On Tue, Aug 18, 2015 at 12:16 PM, Sebastian Sastre < sastre.sebast...@gmail.com> wrote: > Bogdan, > > it appears to be broken as of 1.11 and 2.1 yes. I couldn't find any more > indicat

Re: [OpenSIPS-Users] core generated by opensips

2015-08-31 Thread Gupta, Rahul
Hi Bogdan, following is the info you requested. #0 0x7f2095572e2c in vfprintf () from /lib64/libc.so.6 #1 0x7f209560fed0 in __vsyslog_chk () from /lib64/libc.so.6 #2 0x7f2095610100 in syslog () from /lib64/libc.so.6 #3 0x004c4202 in tcp_read_req (con=0x7f2081a933c0, bytes_