Page 1 of 1

Asterisk 11 patch that resolves issue with crashing

PostPosted: Thu Oct 05, 2017 3:17 am
by chornyi_taras
Hi Kumba,is it possible to apply following patch for asterisk 11.
Code: Select all
diff -uNr asterisk-11.25.1/res/pjproject/pjnath/src/pjnath/stun_session.c asterisk-11.25.1p/res/pjproject/pjnath/src/pjnath/stun_session.c
--- asterisk-11.25.1/res/pjproject/pjnath/src/pjnath/stun_session.c   2016-12-08 12:23:53.000000000 -0500
+++ asterisk-11.25.1p/res/pjproject/pjnath/src/pjnath/stun_session.c   2017-03-15 19:33:40.616723889 -0400
@@ -867,6 +867,8 @@
 {
     pj_status_t status;
 
+    cache_res=PJ_FALSE;
+
     PJ_ASSERT_RETURN(sess && addr_len && server && tdata, PJ_EINVAL);
 
     pj_log_push_indent();

I've tested in on 8 servers cluster with up to 3000 CC and 50 agents using webrtc based webphone

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Thu Oct 05, 2017 8:16 pm
by Kumba
Where did this patch come from? I just need a little more information on what is actually being corrected here.

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Fri Oct 06, 2017 1:32 am
by chornyi_taras

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Fri Oct 06, 2017 11:03 am
by Kumba
It's been added

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Fri Mar 09, 2018 1:33 pm
by sadikhov
how to apply this patch?

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Wed Nov 16, 2022 12:52 pm
by rustynail
Same question here... how can I safely apply to my production servers. Thanks.

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Fri Nov 18, 2022 1:42 am
by alo
If I recall on this its included in the package. so if you update asterisk with the vicidial:asterisk11 repo it should be there

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Mon Jun 12, 2023 12:17 pm
by rustynail
Hi Guys,

We still experienced this issue on one of our TEL server in cluster installed with vicibox 8.0.1 ISO. Do we still need to look for any patch or was it made part of the installer?

Vicibox-8.0.1
asterisk: 11.25.1-vici
svn: 3727
VERSION: 2.14-885a
BUILD: 230522-0903

Calls were almost 200 at that time and there was no other load observed on server.

Below is the error:

Jun 12 12:36:13 Server-T6 kernel: asterisk[1352]: segfault at 3c ip 00007f7aef06a9ad sp 00007f7911e72c70 error 4 in res_rtp_asterisk.so[7f7aef049000+51000]

Re: Asterisk 11 patch that resolves issue with crashing

PostPosted: Mon Jun 12, 2023 2:50 pm
by mflorell
Asterisk 11 went End-of-Life in 2017 and it has several serious issues that were never fixed. I would strongly recommend upgrading to Asteirsk 16 if possible.