Re: [OpenSIPS-Devel] [OpenSIPS-Users] OpenSIPS 3.1 release - the final countdown

2020-05-14 Thread Ben Newlin
I don’t think it is possible to process a REFER locally like you describe without being a B2BUA. The two legs of the resulting call would be separate SIP calls, bridged by OpenSIPS. That is a B2BUA! Ben Newlin From: Users on behalf of Johan De Clercq Reply-To: OpenSIPS users mailling list

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-07-22 Thread Ben Newlin
, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 4e258b17f main.c compiled on 18:21:00 Jun 26 2019 with gcc 7 Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 9:12 AM To: Ben Newlin , OpenSIPS devel mailling list

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-07-22 Thread Ben Newlin
65535 poll method support: poll, epoll, sigio_rt, select. git revision: 4e258b17f main.c compiled on 13:16:44 Jul 11 2019 with gcc 7 Ben Newlin From: Ben Newlin Date: Thursday, July 11, 2019 at 4:14 PM To: OpenSIPS devel mailling list , Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Devel

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-07-22 Thread Ben Newlin
Any updates on this TLS crash? I see there is a ticket open on Github for a TLS crash. I wonder if that is the same issue? Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Thursday, June 27, 2019 at 6:42 AM To: Bogdan-Andrei Iancu , OpenSIPS devel

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-07-09 Thread Ben Newlin
Any updates on this? Would you like me to open a ticket or does one already exist for the issue? Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Wednesday, June 26, 2019 at 11:58 AM To: Bogdan-Andrei Iancu , OpenSIPS devel mailling list Subject

Re: [OpenSIPS-Devel] Erroneous Retransmissions

2019-07-08 Thread Ben Newlin
Bogdan, Yes, a race condition is what I suspected as well. In these cases OpenSIPS is running in Docker. Ben Newlin On 7/8/19, 7:42 AM, "Bogdan-Andrei Iancu" wrote: Hi Ben, What I see form the logs is a race between the process sending out the request (

Re: [OpenSIPS-Devel] Erroneous Retransmissions

2019-07-02 Thread Ben Newlin
and relayed again. I have logs, packet captures, and anything else necessary to debug this issue. I can reproduce it very easily. Ben Newlin On 5/20/19, 8:50 AM, "Devel on behalf of Ben Newlin" wrote: Razvan, I realize the microsecond stamp is not on each line, but I d

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-27 Thread Ben Newlin
=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 714afb97f main.c compiled on 17:22:40 Jun 26 2019 with gcc 7 Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 11:34 AM

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-27 Thread Ben Newlin
I see now. The commit you linked was against another branch. This fix was only backported to 2.4 after the 2.4.6 release. I will test with that. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Wednesday, June 26, 2019 at 11:49 AM To: Bogdan-Andrei

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Bogdan, I am glad the cause is known at least. :) Is there a ticket I can follow for more information and to be notified of resolution? Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 7:37 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Bogdan, Strange, I got no notification of your update on that ticket. Still I cannot see how it was fixed a month ago? I was using the 2.4.6 release when I encountered the crash. 2.4.6 was only released 15 days ago. Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 11:34

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 10:56 AM To: OpenSIPS devel mailling list , Ben Newlin Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Hi Ben, While re-checking some of some data related to your report, I noticed that your opensips version (revision d025b4f61

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-26 Thread Ben Newlin
async support in this proxy, none of our current TLS traffic is using any async functions. Do you think other calls using async could be interfering with the TLS calls? Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, June 26, 2019 at 5:25 AM To: Ben Newlin , OpenSIPS devel mailling list

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-25 Thread Ben Newlin
Bogdan, I have now been able to reproduce this crash reliably, I believe. Please see the backtrace [1]. Is there some other information you would like me to collect when this occurs? [1] https://pastebin.com/n0Ph8XH5 Ben Newlin From: Bogdan-Andrei Iancu Date: Friday, June 7, 2019 at 9:15 AM

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-25 Thread Ben Newlin
applications which : support various cryptographic algorithms and protocols. Ben Newlin From: Bogdan-Andrei Iancu Date: Tuesday, June 25, 2019 at 2:54 PM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Thank you Ben :) The backtraces report

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-25 Thread Ben Newlin
://pastebin.com/hptH9yiA [4] https://pastebin.com/GfYYZxzB [5] https://pastebin.com/CzYiNAch Ben Newlin From: Bogdan-Andrei Iancu Date: Tuesday, June 25, 2019 at 11:39 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Hi Ben, The backtrace + corefile

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-20 Thread Ben Newlin
Bogdan, Yes I will enable those. This seems to be reproducing fairly often so hopefully we will get some more info quickly. Is there anything else I need to collect at time of the crash with this enabled or is the core dump sufficient? Ben Newlin From: Bogdan-Andrei Iancu Date: Thursday

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-20 Thread Ben Newlin
We have had another crash this morning: https://pastebin.com/dmXYbhzC OpenSIPS version is the same as below. Ben Newlin From: Ben Newlin Date: Wednesday, June 19, 2019 at 2:38 PM To: OpenSIPS devel mailling list , Bogdan-Andrei Iancu Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash The Github

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-20 Thread Ben Newlin
262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 60097425d main.c compiled on 18:06:35 Jun 13 2019 with gcc 7 Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Wednesday, June

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-19 Thread Ben Newlin
://pastebin.com/0VaQfX5B [9] https://pastebin.com/LYUW0AqH Ben Newlin From: Bogdan-Andrei Iancu Date: Monday, June 10, 2019 at 2:41 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Ben, With what we have so far it is too less data to get to a conclusion

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-07 Thread Ben Newlin
then it is not just traced twice it was actually sent twice. But what scenario would cause retransmission of a hop-by-hop ACK? I can’t think of one. So it still seems strange. But it may be a symptom of the issue and not a cause. Ben Newlin From: Bogdan-Andrei Iancu Date: Friday, June 7, 2019 at 9:15 AM

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-07 Thread Ben Newlin
e is a SIP trace of the exchange here: https://pastebin.com/6bttsSVD. One oddity I saw is that the crashed process appears to send (or at least siptrace) the ACK twice. Ben Newlin From: Bogdan-Andrei Iancu Date: Thursday, June 6, 2019 at 11:42 AM To: OpenSIPS devel mailling list , Ben Newlin S

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-06-05 Thread Ben Newlin
We have had another crash today. Backtrace is here: https://pastebin.com/q4RQC7kS I found this in the log at the time of the crash: Jun 5 17:54:10 [4978] CRITICAL:core:sig_usr: segfault in process pid: 4978, id: 8 Please let me know if any further information can be useful. Ben Newlin

Re: [OpenSIPS-Devel] Erroneous Retransmissions

2019-05-20 Thread Ben Newlin
provided clearly show retransmissions being sent after replies for the request have already been processed. No time stamps are necessary to see that; the retransmission logs are printing after the reply processing logs. It is very clear. Ben Newlin On 5/20/19, 3:51 AM, "Devel on behalf of R

Re: [OpenSIPS-Devel] Erroneous Retransmissions

2019-05-17 Thread Ben Newlin
tcpdump traces confirming the retransmission of the BYE actually occurred at 124ms, this is not just an issue internal to OpenSIPS. Any insight our troubleshooting assistance with these issues would be greatly appreciated. This issue reproduces very regularly. Ben Newlin From: Devel on behalf

Re: [OpenSIPS-Devel] OpenSIPS Crash

2019-05-10 Thread Ben Newlin
I found this in the log at the time of the crash: kernel: opensips[5003]: segfault at 30 ip 7fbd4c8f59d0 sp 7ffcaa850c80 error 6 in tm.so[7fbd4c887000+8e000] Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Friday, May 10, 2019 at 5:44 PM

[OpenSIPS-Devel] OpenSIPS Crash

2019-05-10 Thread Ben Newlin
, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: d025b4f61 main.c compiled on 20:58:31 May 9 2019 with gcc 7 Ben Newlin ___ Devel mailing list Devel@lists.opensips.org

Re: [OpenSIPS-Devel] Erroneous Retransmissions

2019-05-08 Thread Ben Newlin
be happy to open an issue on Github as well if that is desired. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Thursday, April 25, 2019 at 11:46 AM To: OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] Erroneous Retransmissions I have found

[OpenSIPS-Devel] Statistics module concurrency issue

2019-04-25 Thread Ben Newlin
y: T_state=4, branch=0, save=0, relay=0, cancel_BM=0 It this intended? I know the cfg_utils module contains some functionality for script-level locking that could potentially help here, but it seems like the statistics module should internally prevent this sort of data consistency error.

Re: [OpenSIPS-Devel] Erroneous Retransmissions

2019-04-25 Thread Ben Newlin
seem to be a workaround. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Friday, April 19, 2019 at 8:47 AM To: OpenSIPS devel mailling list Subject: [OpenSIPS-Devel] Erroneous Retransmissions Resending the issue described below to the devel mailing

[OpenSIPS-Devel] Erroneous Retransmissions

2019-04-19 Thread Ben Newlin
Resending the issue described below to the devel mailing list as I believe this is a bug, not a configuration issue. Ben Newlin From: Users on behalf of Ben Newlin Reply-To: OpenSIPS users mailling list Date: Monday, April 15, 2019 at 7:20 PM To: OpenSIPS users mailling list Subject: Re

Re: [OpenSIPS-Devel] Accounting enhancement proposal

2019-04-15 Thread Ben Newlin
uture. It is a good policy in many programming languages; OpenSIPS is no different!" Ben Newlin On 4/15/19, 5:26 AM, "Devel on behalf of Dan Pascu" wrote: On 12 Apr 2019, at 15:42, Ben Newlin wrote: > Dan, > > Yes and I was agreeing with your propos

Re: [OpenSIPS-Devel] Accounting enhancement proposal

2019-04-12 Thread Ben Newlin
cript move it somewhere else later. It may not be obvious to anyone reading the script how or why that copy was occurring. Storing the value in acc_extra makes it immediately clear that the value will be used for accounting, in a way that was not even possible in the old accounting method. Ben Newl

Re: [OpenSIPS-Devel] Accounting enhancement proposal

2019-04-10 Thread Ben Newlin
s, while "dir", "from", and "to" would be expected to be in acc_extra(dir), acc_extra(from), and acc_extra(to) respectively. This would allow accounting to be much simpler for those who do not have complicated multi-leg requirements, while providing flexibility to those wh

Re: [OpenSIPS-Devel] PROTO numbers

2019-04-08 Thread Ben Newlin
, unless I am very confused: https://github.com/OpenSIPS/opensips/blob/master/ip_addr.h#L52 Ben Newlin From: Devel on behalf of Donat Zenichev Reply-To: OpenSIPS devel mailling list Date: Monday, April 8, 2019 at 10:17 AM To: OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] PROTO

Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction

2019-03-27 Thread Ben Newlin
Bogdan, Thanks. I have created https://github.com/OpenSIPS/opensips/issues/1648. Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, March 27, 2019 at 9:33 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction Yes Ben, please do

Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction

2019-03-26 Thread Ben Newlin
Bogdan, Would you like me to open a github issue to track this? Ben Newlin From: Bogdan-Andrei Iancu Date: Monday, March 11, 2019 at 4:50 AM To: OpenSIPS devel mailling list , Ben Newlin Subject: Re: [OpenSIPS-Devel] t_on_reply for CANCEL transaction Hi Ben, Let me check what the history

[OpenSIPS-Devel] t_on_reply for CANCEL transaction

2019-03-10 Thread Ben Newlin
, are there other methods that also do not work? [1] - https://github.com/OpenSIPS/opensips/issues/1630 Ben Newlin ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Re: [OpenSIPS-Devel] OpenSIPS Crashes

2019-02-25 Thread Ben Newlin
Hello, Was anything useful able to be extracted from these crashes? I think the Pastebin links have expired by now, but I can re-post the information if it is desired. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Tuesday, February 5, 2019

[OpenSIPS-Devel] OpenSIPS Crashes

2019-02-05 Thread Ben Newlin
, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 52ff74af8 main.c compiled on 14:26:40 Jan 28 2019 with gcc 7 Ben Newlin ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-20 Thread Ben Newlin
Yes, Liviu provided the specific commit in another message and I have upgraded. Thanks again! Ben Newlin From: Bogdan-Andrei Iancu Date: Tuesday, November 20, 2018 at 7:38 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Hi Ben, The fix is now

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-19 Thread Ben Newlin
Bogdan, That is excellent news! Thank you very much for your work on this and Liviu as well! Ben Newlin From: Bogdan-Andrei Iancu Date: Monday, November 19, 2018 at 9:03 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Hi Ben, With some

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-19 Thread Ben Newlin
Bogdan, The one I provided is the only one I have with the memory debugging compiled in. I’m going to re-enable that and push it so that we will have that info when it recurs. Ben Newlin From: Bogdan-Andrei Iancu Date: Thursday, November 15, 2018 at 11:08 AM To: Ben Newlin , OpenSIPS devel

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-15 Thread Ben Newlin
Bogdan, It’s happening every few days, so it is pretty frequent. There was another one yesterday but the DBG compile flags had been temporarily removed for that one. We have not been able to determine a sequence to reproduce it yet. Ben Newlin From: Bogdan-Andrei Iancu Date: Thursday

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-15 Thread Ben Newlin
that branch_route then it will stop accounting for that call, right? We need to have accounting records for the call, so I’m not sure how that would resolve the issue? Ben Newlin From: Bogdan-Andrei Iancu Date: Tuesday, November 13, 2018 at 9:13 AM To: Ben Newlin , OpenSIPS devel mailling list Subject

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-13 Thread Ben Newlin
Bogdan, We upgraded to 2.4.3 and the crash reproduced today. Backtrace is available here: https://pastebin.com/CZxQnZdR. Ben Newlin From: Bogdan-Andrei Iancu Date: Wednesday, November 7, 2018 at 6:18 AM To: OpenSIPS devel mailling list , Ben Newlin Subject: Re: [OpenSIPS-Devel] OpenSIPS

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-11-06 Thread Ben Newlin
, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535 poll method support: poll, epoll, sigio_rt, select. git revision: 5d042cffc main.c compiled on 23:38:55 Nov 5 2018 with gcc 7 Backtrace is available here: https://pastebin.com/KTQjkCwq Ben Newlin From: Bogdan-Andrei Iancu

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-10-31 Thread Ben Newlin
if that is expected or not. Ben Newlin From: Bogdan-Andrei Iancu Date: Monday, October 29, 2018 at 8:11 AM To: Ben Newlin , OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Hi Ben, You can change the compile flags via the Makefile.conf file - the menuconfig is also

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-10-26 Thread Ben Newlin
settings we can change ourselves and bypass menuconfig? Ben Newlin From: Bogdan-Andrei Iancu Date: Friday, October 26, 2018 at 4:59 AM To: OpenSIPS devel mailling list , Ben Newlin Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Hi Ben, all the BT's points to crashes while doing memory ops. I suspect

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-10-23 Thread Ben Newlin
/Gmk1m4NT This crash follows the pattern of the original crash I reported. Ben Newlin From: Devel on behalf of Ben Newlin Reply-To: OpenSIPS devel mailling list Date: Monday, October 22, 2018 at 4:45 PM To: OpenSIPS devel mailling list Subject: Re: [OpenSIPS-Devel] OpenSIPS Crash Here is a better

Re: [OpenSIPS-Devel] OpenSIPS Crash

2018-10-22 Thread Ben Newlin
Here is a better trace of the call: https://pastebin.com/gWpQR8E7 Ben Newlin From: Ben Newlin Date: Monday, October 22, 2018 at 4:34 PM To: OpenSIPS devel mailling list Subject: OpenSIPS Crash Hello, We have been having sporadic crashes and I was recently able to recover a core dump for one

[OpenSIPS-Devel] OpenSIPS Crash

2018-10-22 Thread Ben Newlin
to one of these responses. Ben Newlin ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel