]> git.ipfire.org Git - thirdparty/asterisk.git/log
thirdparty/asterisk.git
5 years agoUpdate for 17.0.1 17.0 17.0.1
Asterisk Development Team [Thu, 21 Nov 2019 21:18:51 +0000 (16:18 -0500)] 
Update for 17.0.1

5 years agoUpdate CHANGES and UPGRADE.txt for 17.0.1
Asterisk Development Team [Thu, 21 Nov 2019 21:17:34 +0000 (16:17 -0500)] 
Update CHANGES and UPGRADE.txt for 17.0.1

5 years agoMerge "manager.c: Prevent the Originate action from running the Originate app" into...
Benjamin Keith Ford [Thu, 21 Nov 2019 20:45:31 +0000 (14:45 -0600)] 
Merge "manager.c:  Prevent the Originate action from running the Originate app" into 17.0

5 years agomanager.c: Prevent the Originate action from running the Originate app
George Joseph [Thu, 24 Oct 2019 17:41:23 +0000 (11:41 -0600)] 
manager.c:  Prevent the Originate action from running the Originate app

If an AMI user without the "system" authorization calls the
Originate AMI command with the Originate application,
the second Originate could run the "System" command.

Action: Originate
Channel: Local/1111
Application: Originate
Data: Local/2222,app,System,touch /tmp/owned

If the "system" authorization isn't set, we now block the
Originate app as well as the System, Exec, etc. apps.

ASTERISK-28580
Reported by: Eliel Sardañons

Change-Id: Ic4c9dedc34c426f03c8c14fce334a71386d8a5fa
(cherry picked from commit 1b9281a5ded62e5d30af2959e5aa33bc5a0fc285)

5 years agochan_sip.c: Prevent address change on unauthenticated SIP request.
Ben Ford [Mon, 21 Oct 2019 19:55:06 +0000 (14:55 -0500)] 
chan_sip.c: Prevent address change on unauthenticated SIP request.

If the name of a peer is known and a SIP request is sent using that
peer's name, the address of the peer will change even if the request
fails the authentication challenge. This means that an endpoint can
be altered and even rendered unusuable, even if it was in a working
state previously. This can only occur when the nat option is set to the
default, or auto_force_rport.

This change checks the result of authentication first to ensure it is
successful before setting the address and the nat option.

ASTERISK-28589 #close

Change-Id: I581c5ed1da60ca89f590bd70872de2b660de02df
(cherry picked from commit c2279540bade208dad35f7760ebd4a7cc94731fe)

5 years agoUpdate for 17.0.0 17.0.0
Asterisk Development Team [Fri, 25 Oct 2019 14:44:25 +0000 (09:44 -0500)] 
Update for 17.0.0

5 years agores_rtp_asterisk: Remove a log message that slipped in.
Joshua Colp [Thu, 17 Oct 2019 10:50:28 +0000 (07:50 -0300)] 
res_rtp_asterisk: Remove a log message that slipped in.

This was only supposed to be for testing, so now it can be
removed.

Change-Id: I3dfc2e776e70b3196aeed5688372ea80c0214b59

5 years agoUpdate for 17.0.0-rc3 17.0.0-rc3
Asterisk Development Team [Wed, 16 Oct 2019 17:29:13 +0000 (12:29 -0500)] 
Update for 17.0.0-rc3

5 years agoMerge "res_pjsip_mwi: potential double unref, and potential unwanted double link...
George Joseph [Mon, 14 Oct 2019 17:01:06 +0000 (12:01 -0500)] 
Merge "res_pjsip_mwi: potential double unref, and potential unwanted double link" into 17.0

5 years agopbx: deadlock when outgoing dialed channel hangs up too quickly
Kevin Harwell [Wed, 9 Oct 2019 20:17:59 +0000 (15:17 -0500)] 
pbx: deadlock when outgoing dialed channel hangs up too quickly

Here's the basic scenario that occurred when executing an AMI fast originate
while at the same time something else locks the channels container, and also
wants a lock on the dialed channel:

1. pbx_outgoing_attempt obtains a lock on a dialed channel
2. concurrently another thread obtains a lock on the channels container, and
   subsequently requests a lock on the dialed channel. It waits on #1. For
   instance, "core show channel <dialed channel"
3. the outgoing call does not fail, but ends before the pbx_outgoing_attempt
   function exits
4. pbx_outgoing_attempt function exits, the outgoing structure destructs, and
   attempts to hang up the dialed channel
5. hang up tries to obtain the channels container lock, but can't due to #2.
6. Asterisk is deadlocked.

The solution was to allow the pbx_outgoing_exec function to "steal" ownership
of the dialed channel, and handle hanging it up. The channel now is either hung
up prior to it being potentially locked by the initiating thread, or if locked
the hang up takes place in a different thread, thus alleviating the deadlock.

ASTERISK-28561
patches:
  iliketrains.diff submitted by Joshua Colp (license 5000)

Change-Id: I51b42b92dde8f2215b69bb509e28667ee3a3853a

5 years agores_pjsip_mwi: potential double unref, and potential unwanted double link
Kevin Harwell [Thu, 10 Oct 2019 20:30:06 +0000 (15:30 -0500)] 
res_pjsip_mwi: potential double unref, and potential unwanted double link

When creating an unsolicited MWI aggregate subscription it was possible for
the subscription object to be double unref'ed. This patch removes the explicit
unref as it is not needed since the RAII_VAR will handle it at function end.

Less concerning there was also a bug that could potentially allow the aggregate
subscription object to be added to the unsolicited container twice. This patch
ensures it is added only once.

ASTERISK-28575

Change-Id: I9ccfdb5ea788bc0c3618db183aae235e53c12763

5 years agopjproject_bundled: Replace earlier reverts with official fixes.
George Joseph [Wed, 9 Oct 2019 14:32:45 +0000 (08:32 -0600)] 
pjproject_bundled:  Replace earlier reverts with official fixes.

Issues in pjproject 2.9 caused us to revert some of their changes
as a work around.  This introduced another issue where pjproject
wouldn't build with older gcc versions such as that found on
CentOS 6.  This commit replaces the reverts with the official
fixes for the original issues and allows pjproject to be built
on CentOS 6 again.

ASTERISK-28574
Reported-by: Niklas Larsson
Change-Id: I06f8507bea553d1a01b0b8874197d35b9d47ec4c

5 years agoUpdate for 17.0.0-rc2 17.0.0-rc2
Asterisk Development Team [Wed, 25 Sep 2019 17:27:15 +0000 (12:27 -0500)] 
Update for 17.0.0-rc2

5 years agoMerge "pjproject_bundled: Revert pjproject 2.9 commits causing leaks" into 17.0
George Joseph [Tue, 24 Sep 2019 20:37:48 +0000 (15:37 -0500)] 
Merge "pjproject_bundled:  Revert pjproject 2.9 commits causing leaks" into 17.0

5 years agopjproject_bundled: Revert pjproject 2.9 commits causing leaks
George Joseph [Thu, 19 Sep 2019 14:50:07 +0000 (08:50 -0600)] 
pjproject_bundled:  Revert pjproject 2.9 commits causing leaks

We've found a connection re-use regression in pjproject 2.9
introduced by commit
"Close #1019: Support for multiple listeners."
https://trac.pjsip.org/repos/changeset/6002
https://trac.pjsip.org/repos/ticket/1019

Normally, multiple SSL requests should reuse the same connection
if one already exists to the remote server.  When a transport
error occurs, the next request should establish a new connection
and any following requests should use that same one.  With this
patch, when a transport error occurs, every new request creates
a new connection so you can wind up with thousands of open tcp
sockets, possibly exhausting file handles, and increasing memory
usage.

Reverting pjproject commit 6002 (and related 6021) restores the
expected behavior.

We also found a memory leak in SSL processing that was introduced by
commit
"Fixed #2204: Add OpenSSL remote certificate chain info"
https://trac.pjsip.org/repos/changeset/6014
https://trac.pjsip.org/repos/ticket/2204

Apparently the remote certificate chain is continually recreated
causing the leak.

Reverting pjproject commit 6014 (and related 6022) restores the
expected behavior.

Both of these issues have been acknowledged by Teluu.

ASTERISK-28521

Change-Id: I8ae7233c3ac4ec29a3b991f738e655dabcaba9f1

5 years agores_sorcery_memory_cache: stale item update leak
Kevin Harwell [Mon, 23 Sep 2019 16:01:36 +0000 (11:01 -0500)] 
res_sorcery_memory_cache: stale item update leak

When a stale item was being updated the object was being retrieved, but its
reference was not being decremented after the update. This patch makes it so
the object is now appropriately de-referenced.

ASTERISK-28523

Change-Id: I9d8173d3a0416a242f4eba92fa0853279c500ec7

5 years agochan_pjsip: Relock correct channel during "fax" redirect.
Joshua Colp [Sun, 15 Sep 2019 19:35:45 +0000 (19:35 +0000)] 
chan_pjsip: Relock correct channel during "fax" redirect.

When fax detection occurs on an outbound PJSIP channel the
redirect operation will result in a masquerade occurring and
the underlying channel on the session changing. The code
incorrectly relocked the new channel instead of the old
channel when returning. This resulted in the new channel
being locked indefinitely. The code now always acts on the
expected channel.

ASTERISK-28538

Change-Id: I2b2e60d07e74383ae7e90d752c036c4b02d6b3a3

5 years agochan_dahdi: Fix build with clang/llvm
Guido Falsi [Sat, 14 Sep 2019 15:05:23 +0000 (17:05 +0200)] 
chan_dahdi: Fix build with clang/llvm

On FreeBSD using the clang/llvm compiler build fails to build due
to the switch statement argument being a non integer type expression.
Switch to an if/else if/else construct to sidestep the issue.

ASTERISK-28536 #close

Change-Id: Idf4a82cc1e94580a2d017fe9e351c226f23e20c8

5 years agochan_sip: Update links referenced in deprecation notice
George Joseph [Tue, 10 Sep 2019 12:32:49 +0000 (06:32 -0600)] 
chan_sip:  Update links referenced in deprecation notice

The links in the deprecation notice were the shortened
variety but it makes better sense to show the unshortened
links as they're more descriptive.

I.E.
wiki.asterisk.org/wiki/display/AST/Migrating+from+chan_sip+to+res_pjsip
rather than
wiki.asterisk.org/wiki/x/tAHOAQ

Change-Id: If2da5d5243e2d4a6f193b15691d23e7e5a7c57a9

5 years agoMerge "AST-2019-005 - translate: Don't assume all frames will have a src." into 17.0
George Joseph [Thu, 5 Sep 2019 12:52:40 +0000 (07:52 -0500)] 
Merge "AST-2019-005 - translate: Don't assume all frames will have a src." into 17.0

5 years agoAST-2019-005 - translate: Don't assume all frames will have a src.
Joshua Colp [Mon, 26 Aug 2019 12:53:27 +0000 (09:53 -0300)] 
AST-2019-005 - translate: Don't assume all frames will have a src.

This change removes the assumption that a frame will always have
a src set on it. This assumption is incorrect.

Given a scenario where an RTP packet is received with no payload
the resulting audio frame will have no samples. If this frame goes
through a signed linear translation path an interpolated frame can
be created (if generic packet loss concealment is enabled) that has
minimal data on it, including no src. If this frame is given to a
translation path a crash will occur due to the lack of src.

ASTERISK-28499

Change-Id: I024d10dd98207eb8a6b35b59880bcdf1090538f8

5 years agoAST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media
Kevin Harwell [Tue, 20 Aug 2019 20:05:45 +0000 (15:05 -0500)] 
AST-2019-004 - res_pjsip_t38.c: Add NULL checks before using session media

After receiving a 200 OK with a declined stream in response to a T.38
initiated re-invite Asterisk would crash when attempting to dereference
a NULL session media object.

This patch checks to make sure the session media object is not NULL before
attempting to use it.

ASTERISK-28495
patches:
  ast-2019-004.patch submitted by Alexei Gradinari (license 5691)

Change-Id: I168f45f4da29cfe739acf87e597baa2aae7aa572

5 years agores_pjsip_mwi: add better handling of solicited vs unsolicited subscriptions
Kevin Harwell [Fri, 23 Aug 2019 22:03:07 +0000 (17:03 -0500)] 
res_pjsip_mwi: add better handling of solicited vs unsolicited subscriptions

res_pjsip_mwi allows both solicited and unsolicited MWI subscription types.
While both can be set in the configuration for a given endpoint/aor, only
one is allowed. Precedence is given to unsolicited. Meaning if an endpoint/aor
is configured to allow both types then the solicited subscription is rejected
when it comes in. However, there is a configuration option to override that
behavior:

mwi_subscribe_replaces_unsolicited

When set to "yes" then when a solicited subscription comes in instead of
rejecting it Asterisk is suppose to replace the unsolicited one if it exists.
Prior to this patch there was a bug in Asterisk that allowed the solicted one
to be added, but did not remove the unsolicited. As a matter of fact a new
unsolicited subscription got added everytime a SIP register was received.
Over time this eventually could "flood" a phone with SIP notifies.

This patch fixes that behavior to now make it work as expected. If configured
to do so a solicited subscription now properly replaces the unsolicited one.
As well when an unsubscribe is received the unsolicited subscription is
restored. Logic was also put in to handle reloads, and any configuration changes
that might result from that. For instance, if a solicited subscription had
previously replaced an unsolicited one, but after reload it was configured to
not allow that then the solicited one needs to be shutdown, and the unsolicited
one added.

ASTERISK-28488

Change-Id: Iec2ec12d9431097e97ed5f37119963aee41af7b1

5 years agoUpdate for 17.0.0-rc1 17.0.0-rc1
Asterisk Development Team [Wed, 28 Aug 2019 15:58:25 +0000 (10:58 -0500)] 
Update for 17.0.0-rc1

5 years agoMerge "Fix misname 'res_external_mwi' to 'res_mwi_external' in comments." into 17.0
Joshua Colp [Fri, 23 Aug 2019 13:01:36 +0000 (08:01 -0500)] 
Merge "Fix misname 'res_external_mwi' to 'res_mwi_external' in comments." into 17.0

5 years agoFix misname 'res_external_mwi' to 'res_mwi_external' in comments.
Alexei Gradinari [Thu, 22 Aug 2019 18:19:51 +0000 (14:19 -0400)] 
Fix misname 'res_external_mwi' to 'res_mwi_external' in comments.

Change-Id: Ic784be8500e5cb75dcb34bae9f03cfd93b6b34fb

5 years agopjproject: Configurable setting for cnonce to include hyphens or not
Dan Cropp [Wed, 21 Aug 2019 15:58:00 +0000 (10:58 -0500)] 
pjproject: Configurable setting for cnonce to include hyphens or not

NEC SIP Station interface with authenticated registration only supports cnonce
up to 32 characters.  In Linux, PJSIP would generate 36 character cnonce
which included hyphens.  Teluu developed this patch adding a compile time
setting to default to not include the hyphens.  They felt it best to still
generate the UUID and strip the hyphens.
They have indicated it will be part of PJSIP 2.10.

ASTERISK-28509
Reported-by: Dan Cropp
Change-Id: Ibdfcf845d4f8c0a14df09fd983b11f2d72c5f470

5 years agores_ari.c: Prefer exact handler match over wildcard
George Joseph [Tue, 20 Aug 2019 18:04:56 +0000 (12:04 -0600)] 
res_ari.c:  Prefer exact handler match over wildcard

Given the following request path and 2 handler paths...
Request: /channels/externalMedia
Handler: /channels/{channelId}      "wildcard"
Handler: /channels/externalmedia    "non-wildcard"

...if /channels/externalMedia was registered as a handler after
/channels/{channelId} as shown above, the request would automatically
match the wildcard handler and attempt to parse "externalMedia" into
the channelId variable which isn't what was intended.  It'd work
if the non-wildard entry was defined in rest-api/api-docs/channels.json
before the wildcard entry but that makes the json files
order-dependent which isn't a good thing.

To combat this issue, the search loop saves any wildcard match but
continues looking for exact matches at the same level.  If it finds
one, it's used.  If it hasn't found an exact match at the end of
the current level, the wildcard is used.  Regardless, after
searching the current level, the wildcard is cleared so it won't
accidentally match for a different object or a higher level.

BTW, it's currently not possible for more than 1 wildcard entry
to be defined for a level.  For instance, there couldn't be:
Handler: /channels/{channelId}
Handler: /channels/{channelName}
We wouldn't know which one to match.

Change-Id: I574aa3cbe4249c92c30f74b9b40e750e9002f925

5 years agoapp_voicemail/IMAP: check mailstream not NULL in leave_voicemail
Alexei Gradinari [Wed, 14 Aug 2019 19:52:01 +0000 (15:52 -0400)] 
app_voicemail/IMAP: check mailstream not NULL in leave_voicemail

The function leave_voicemail checks if expungeonhangup is set,
but does not check if IMAP stream is closed,
so it could call imap function with NULL stream.
This leads to segfault.

ASTERISK-28505 #close

Change-Id: Ib66c57c1f1ba97774e447b36349198e2626a8d7c

5 years agomenuselect: Fix curses build on Gentoo Linux
Sean Bright [Fri, 9 Aug 2019 10:51:28 +0000 (06:51 -0400)] 
menuselect: Fix curses build on Gentoo Linux

Because keypad() is exported by libtinfo, it needs to be explicitly
added to the linker options.

ASTERISK-28487 #close

Change-Id: I6c2ad5b95f422c263d078b5c0e84c111807dffc6

5 years agoMerge "srtp: Fix possible race condition, and add NULL checks" into 17.0
George Joseph [Fri, 9 Aug 2019 12:52:00 +0000 (07:52 -0500)] 
Merge "srtp: Fix possible race condition, and add NULL checks" into 17.0

5 years agoMerge "cdr / cel: Use event time at event creation instead of processing." into 17.0
Friendly Automation [Thu, 8 Aug 2019 18:27:27 +0000 (13:27 -0500)] 
Merge "cdr / cel: Use event time at event creation instead of processing." into 17.0

5 years agosrtp: Fix possible race condition, and add NULL checks
Kevin Harwell [Wed, 7 Aug 2019 22:54:34 +0000 (17:54 -0500)] 
srtp: Fix possible race condition, and add NULL checks

Somehow it's possible for the srtp session object to be NULL even though the
Asterisk srtp object itself is valid. When this happened it would cause a
crash down in the srtp code when attempting to protect or unprotect data.

After looking at the code there is at least one spot that makes this situation
possible. If Asterisk fails to unprotect the data, and after several retries
it still can't then the srtp->session gets freed, and set to NULL while still
leaving the Asterisk srtp object around. However, according to the original
issue reporter this does not appear to be their situation since they found
no errors logged stating the above happened (which Asterisk does for that
situation).

An issue was found however, where a possible race condition could occur between
the pjsip incoming negotiation, and the receiving of RTP packets. Both places
could attempt to create/setup srtp for the same rtp instance at the same time.
This potentially could be the cause of the problem as well.

Given the above this patch adds locking around srtp setup for a given rtp, or
rtcp instance. NULL checks for the session have also been added within the
protect and unprotect functions as a precaution. These checks should at least
stop Asterisk from crashing if it gets in this situation again.

This patch also fixes one other issue noticed during investigation. When doing
a replace the old object was freed before creating the replacement. If the new
replacement object failed to create then the rtp/rtcp instance would now point
to freed srtp data which could potentially cause a crash as well when the next
attempt to reference it was made. This is now fixed so the old srtp object is
kept upon replacement failure.

Lastly, more logging has been added to help diagnose future issues.

ASTERISK-28472

Change-Id: I240e11cbb1e9ea8083d59d50db069891228fe5cc

5 years agoCI: Escape backslashes in printenv/sort/tr
George Joseph [Thu, 8 Aug 2019 17:10:11 +0000 (11:10 -0600)] 
CI: Escape backslashes in printenv/sort/tr

Change-Id: I52be64c8f6af2bbe15148a856d1f10cb113e1e94
(cherry picked from commit c6558e09af3ac15b31377de735cc96d8df0275a7)

5 years agoCI: Add "throttle" label and "skip_gate" capability
George Joseph [Thu, 8 Aug 2019 12:12:18 +0000 (06:12 -0600)] 
CI:  Add "throttle" label and "skip_gate" capability

To make throttling by label fully active, the "throttle" option
has to be specified with a specific label.

You can now specify "skip_gate" in the Gerrit comments when you
do a +2 code review to tell Jenkins not to actually run the
gate.  You'd do this if you plan to manually merge the change.

Also updated the "printenv" debug output to better sort multi-line
comments.

Change-Id: I4c0b1085acec4805f2ca207eebac50aad81f27e2

5 years agoMerge "app_voicemail: Remove extra menuselect build options" into 17.0
George Joseph [Thu, 8 Aug 2019 12:25:54 +0000 (07:25 -0500)] 
Merge "app_voicemail: Remove extra menuselect build options" into 17.0

5 years agocdr / cel: Use event time at event creation instead of processing.
Joshua Colp [Mon, 5 Aug 2019 12:23:53 +0000 (09:23 -0300)] 
cdr / cel: Use event time at event creation instead of processing.

When updating times on CDR or CEL records using the time at which
it is done can result in times being incorrect if the system is
heavily loaded and stasis message processing is delayed.

This change instead makes it so CDR and CEL use the time at which
the stasis messages that drive the systems are created. This allows
them to be backed up while still producing correct records.

ASTERISK-28498

Change-Id: I6829227e67aefa318efe5e183a94d4a1b4e8500a

5 years agoCI: Make node labels job-specific
George Joseph [Tue, 6 Aug 2019 15:40:54 +0000 (09:40 -0600)] 
CI:  Make node labels job-specific

Originally, the eligible nodes for a job were labelled only by
"swdev-docker".  So basically any node could run any job.  We had
found that allowing a node to run more than 1 gate at a time was
problematic so we limited the nodes to processing 1 job at a time.
With the creation of the Asterisk 17 branches however, we now have
so many active branches that getting checks and gates through in
a timely manner is problematic when a node can run only 1 job
at a time.

Now the nodes are also labelled by the job type they can run.
For instance: "asterisk-check", "asterisk-gate", etc.  With the
"Throttle Concurrent Builds" plugin, we can now allow a node to
run more than 1 job BUT throttle by job type.  For instance:
  Allow 2 jobs but only 1 asterisk-gate at a time.
Now a node can run 2 checks or 1 check and 1 gate or 1 gate but
not 2 gates at a time.

Change-Id: I2032bf6afbcec5c341d9b852214c0c812d3d6db5

5 years agoMerge "various modules: json integer overflow" into 17.0
Friendly Automation [Tue, 6 Aug 2019 15:29:52 +0000 (10:29 -0500)] 
Merge "various modules: json integer overflow" into 17.0

5 years agoMerge "main/udptl.c: correctly handle udptl sequence wrap around" into 17.0
George Joseph [Tue, 6 Aug 2019 14:47:34 +0000 (09:47 -0500)] 
Merge "main/udptl.c: correctly handle udptl sequence wrap around" into 17.0

5 years agovarious modules: json integer overflow
Kevin Harwell [Thu, 1 Aug 2019 21:22:01 +0000 (16:22 -0500)] 
various modules: json integer overflow

There were still a few places in the code that could overflow when "packing"
a json object with a value outside the base type integer's range. For instance:

unsigned int value = INT_MAX + 1
ast_json_pack("{s: i}", value);

would result in a negative number being "packed". In those situations this patch
alters those values to a ast_json_int_t, which widens the value up to a long or
long long.

ASTERISK-28480

Change-Id: Ied530780d83e6f1772adba0e28d8938ef30c49a1

5 years agoapp_voicemail: Remove extra menuselect build options
Sean Bright [Tue, 6 Aug 2019 13:20:02 +0000 (09:20 -0400)] 
app_voicemail: Remove extra menuselect build options

You now select voicemail backends like normal dialplan applications, so
there is no longer a need for their own menuselect category.

Reported by snuff-work in #asterisk-dev

Change-Id: Idfa4c9c8349726074318a9e6b68d24c374521005

6 years agores_pjsip: Fix multiple of the same contact in "pjsip show contacts".
Joshua Colp [Thu, 1 Aug 2019 10:07:45 +0000 (10:07 +0000)] 
res_pjsip: Fix multiple of the same contact in "pjsip show contacts".

The code for gathering contacts could result in the same contact
being retrieved and added to the list multiple times. The container
which stores the contacts to display will now only allow a contact
to be added to it once instead of multiple times.

ASTERISK-28228

Change-Id: I805185cfcec03340f57d2b9e6cc43c49401812df

6 years agoMerge "loader.c: Fix possible SEGV when a module fails to register" into 17.0
George Joseph [Wed, 31 Jul 2019 13:56:40 +0000 (08:56 -0500)] 
Merge "loader.c:  Fix possible SEGV when a module fails to register" into 17.0

6 years agomain/udptl.c: correctly handle udptl sequence wrap around
Torrey Searle [Wed, 17 Jul 2019 12:35:50 +0000 (14:35 +0200)] 
main/udptl.c: correctly handle udptl sequence wrap around

incorrect handling of UDPTL squence number wrap arounds causes
loss of packets every time the wrap around occurs

ASTERISK-28483 #close

Change-Id: I33caeb2bf13c574a1ebb81714b58907091d64234

6 years agoUpdate CHANGES and UPGRADE.txt for 17.0.0
Asterisk Development Team [Mon, 29 Jul 2019 16:46:38 +0000 (11:46 -0500)] 
Update CHANGES and UPGRADE.txt for 17.0.0

6 years agodoc: Add "master-only" flag back to the CHANGES and UPGRADE files
George Joseph [Mon, 29 Jul 2019 16:10:28 +0000 (10:10 -0600)] 
doc:  Add "master-only" flag back to the CHANGES and UPGRADE files

In order to run the documentation scripts the flags needs to be
added back to the staging files.

Change-Id: Ia10a153c50c970cfa1e85815208dfaddb3f2ccd4

6 years agoloader.c: Fix possible SEGV when a module fails to register
George Joseph [Mon, 29 Jul 2019 13:31:56 +0000 (07:31 -0600)] 
loader.c:  Fix possible SEGV when a module fails to register

When a module fails to register itself (usually a coding error
in the module), dlerror() can return NULL.  We weren't checking
for that in load_dlopen() before trying to strdup the error message
so a SEGV was thrown.  dlerror() is now surrounded with an S_OR
so we don't SEGV.

Change-Id: Ie0fb9316f08a321434f3f85aecf3c7d2ede8b956

6 years agoPrepare Asterisk 17 Branch
George Joseph [Fri, 26 Jul 2019 18:06:57 +0000 (12:06 -0600)] 
Prepare Asterisk 17 Branch

Change-Id: Idb79a69646d2511e7bf1573b9b0322cc22ea54e8

6 years agoMerge "contrib/scripts: Make spandspflow2pcap.py Python 2.7+/3.3+ compatible"
George Joseph [Fri, 26 Jul 2019 17:03:04 +0000 (12:03 -0500)] 
Merge "contrib/scripts: Make spandspflow2pcap.py Python 2.7+/3.3+ compatible"

6 years agoMerge "CI: Don't enable non-core modules in Certified branches"
George Joseph [Fri, 26 Jul 2019 14:47:18 +0000 (09:47 -0500)] 
Merge "CI:  Don't enable non-core modules in Certified branches"

6 years agoCI: Don't enable non-core modules in Certified branches
George Joseph [Wed, 24 Jul 2019 20:15:27 +0000 (14:15 -0600)] 
CI:  Don't enable non-core modules in Certified branches

We don't support non-core modules for Certified releases but we
were enabling them for CI builds which was causing lots of test
failures.  Now we don't.

Change-Id: I0b3254c08a2479f3d39151690350cce5ce5ad766

6 years agores_config_sqlite3: Only join threads that we started
Sean Bright [Tue, 23 Jul 2019 17:58:31 +0000 (13:58 -0400)] 
res_config_sqlite3: Only join threads that we started

ASTERISK-28477 #close
Reported by: Dennis

ASTERISK-28478 #close
Reported by: Dennis

Change-Id: I77347ad46a86dc5b35ed68270cee56acefb4f475

6 years agoMerge "openr2(6/6): Set hangup cause"
Friendly Automation [Wed, 24 Jul 2019 00:32:57 +0000 (19:32 -0500)] 
Merge "openr2(6/6): Set hangup cause"

6 years agoMerge "openr2(5/6): added cli command -- mfcr2 destroy link <index>"
George Joseph [Tue, 23 Jul 2019 23:43:00 +0000 (18:43 -0500)] 
Merge "openr2(5/6): added cli command -- mfcr2 destroy link <index>"

6 years agoMerge "openr2(4/6): added new cli command -- mfcr2 show links"
George Joseph [Tue, 23 Jul 2019 22:28:59 +0000 (17:28 -0500)] 
Merge "openr2(4/6): added new cli command -- mfcr2 show links"

6 years agoMerge "openr2(3/6): Convert r2links to standard Asterisk AST_LIST*"
Friendly Automation [Tue, 23 Jul 2019 20:26:30 +0000 (15:26 -0500)] 
Merge "openr2(3/6): Convert r2links to standard Asterisk AST_LIST*"

6 years agoMerge "openr2(2/6): Stop polling channels when DAHDI returns -ENODEV (e.g: plug-out)"
George Joseph [Tue, 23 Jul 2019 19:26:00 +0000 (14:26 -0500)] 
Merge "openr2(2/6): Stop polling channels when DAHDI returns -ENODEV (e.g: plug-out)"

6 years agoMerge "openr2(1/6): bugfix in configuration saving"
George Joseph [Tue, 23 Jul 2019 18:02:42 +0000 (13:02 -0500)] 
Merge "openr2(1/6): bugfix in configuration saving"

6 years agoMerge "chan_pjsip: Transmit REFER waits for the REFER result setting TRANSFERSTATUS"
George Joseph [Tue, 23 Jul 2019 14:18:42 +0000 (09:18 -0500)] 
Merge "chan_pjsip:  Transmit REFER waits for the REFER result setting TRANSFERSTATUS"

6 years agoopenr2(6/6): Set hangup cause
Leonid Fainshtein [Sun, 12 May 2019 18:29:40 +0000 (21:29 +0300)] 
openr2(6/6): Set hangup cause

Change-Id: I94dc38920e6e77cc73062648f62fdd613d0d1452
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
6 years agoopenr2(5/6): added cli command -- mfcr2 destroy link <index>
Tzafrir Cohen [Mon, 22 Apr 2019 19:14:32 +0000 (22:14 +0300)] 
openr2(5/6): added cli command -- mfcr2 destroy link <index>

Change-Id: I452d6a853bcd8c6e194455b19e5e017713e9c0fe
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
6 years agoopenr2(4/6): added new cli command -- mfcr2 show links
Tzafrir Cohen [Mon, 22 Apr 2019 15:27:23 +0000 (18:27 +0300)] 
openr2(4/6): added new cli command -- mfcr2 show links

* This command show the MFC/R2 links

Change-Id: I213822e1b7ef9c05bd89a2ba62df8e0856ce9f84
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
6 years agoopenr2(3/6): Convert r2links to standard Asterisk AST_LIST*
Tzafrir Cohen [Mon, 22 Apr 2019 12:27:52 +0000 (15:27 +0300)] 
openr2(3/6): Convert r2links to standard Asterisk AST_LIST*

Change-Id: Ibcb2401515a58782a1488c0b9efbed201c3f3a17
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
6 years agoopenr2(2/6): Stop polling channels when DAHDI returns -ENODEV (e.g: plug-out)
Tzafrir Cohen [Mon, 22 Apr 2019 12:33:16 +0000 (15:33 +0300)] 
openr2(2/6): Stop polling channels when DAHDI returns -ENODEV (e.g: plug-out)

Otherwise, OpenR2 threads go crazy and consume almost all CPU resources

Change-Id: I10a41f617613fe7399c5bdced5c64a2751173f28
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
6 years agoopenr2(1/6): bugfix in configuration saving
Tzafrir Cohen [Mon, 22 Apr 2019 15:02:23 +0000 (18:02 +0300)] 
openr2(1/6): bugfix in configuration saving

Details:
  - The memcpy() call copied part of "dahdi_conf" and not "dahdi_conf.mfcr2"
  - As a result, the memcmp() in dahdi_r2_get_link() always fails
  - This cause dahdi_r2_get_link() to create new link for every channel
    (instead of a new link for every ~30 channels)
  - With the fix, far less links are generated -- so we use far less threads

Change-Id: I7259dd6272f5e46e8a6c7f5bf3e8c2ec01b8c132
Signed-off-by: Oron Peled <oron.peled@xorcom.com>
6 years agocontrib/scripts: Make spandspflow2pcap.py Python 2.7+/3.3+ compatible
Walter Doekes [Mon, 22 Jul 2019 15:43:48 +0000 (17:43 +0200)] 
contrib/scripts: Make spandspflow2pcap.py Python 2.7+/3.3+ compatible

Change-Id: Ica182a891743017ff3cda16de3d95335fffd9a91

6 years agoCI: Add cleanWs to cleanup steps in jenkinsfiles
George Joseph [Fri, 19 Jul 2019 16:20:38 +0000 (10:20 -0600)] 
CI: Add cleanWs to cleanup steps in jenkinsfiles

We're at the point where there are enough Jenkins jobs for
Asterisk branches than even cleaned checkouts of Asterisk
will add up to more disk space than is available on the
in-memory workspace mount.  Since we archive all relevent
artifacts anyway, there's no need to keep the workspace
around after the job finishes, whether it succeeds or fails.

Change-Id: I1cd3b73ebb045a987df0f62526d152a510210c39

6 years agoMerge "CI: Add install-headers to the install make targets"
George Joseph [Fri, 19 Jul 2019 16:04:50 +0000 (11:04 -0500)] 
Merge "CI:  Add install-headers to the install make targets"

6 years agoMerge "README.md: Update year"
George Joseph [Fri, 19 Jul 2019 14:48:27 +0000 (09:48 -0500)] 
Merge "README.md: Update year"

6 years agoMerge "sched: Don't allow ast_sched_del to deadlock ast_sched_runq from same thread"
George Joseph [Fri, 19 Jul 2019 13:46:21 +0000 (08:46 -0500)] 
Merge "sched: Don't allow ast_sched_del to deadlock ast_sched_runq from same thread"

6 years agoCI: Add install-headers to the install make targets
George Joseph [Fri, 19 Jul 2019 13:38:39 +0000 (07:38 -0600)] 
CI:  Add install-headers to the install make targets

The testsuite actually needs the headers installed to run
it's self_test.

Change-Id: Ice41d331131b876ad4a9c056085fe6aac34b32b2

6 years agoMerge "Build: Separate header install/uninstall"
George Joseph [Fri, 19 Jul 2019 12:54:28 +0000 (07:54 -0500)] 
Merge "Build: Separate header install/uninstall"

6 years agoMerge "manager: Log AMI actions"
Joshua Colp [Fri, 19 Jul 2019 12:42:07 +0000 (07:42 -0500)] 
Merge "manager: Log AMI actions"

6 years agosched: Don't allow ast_sched_del to deadlock ast_sched_runq from same thread
Walter Doekes [Wed, 17 Jul 2019 13:06:12 +0000 (15:06 +0200)] 
sched: Don't allow ast_sched_del to deadlock ast_sched_runq from same thread

When fixing ASTERISK~24212, a change was done so a scheduled callback could not
be removed while it was running. The caller of ast_sched_del would have to wait.

However, when the caller of ast_sched_del is the callback itself (however wrong
this might be), this new check would cause a deadlock: it would wait forever
for itself.

This changeset introduces an additional check: if ast_sched_del is called
by the callback itself, it is immediately rejected (along with an ERROR log and
a backtrace). Additionally, the AST_SCHED_DEL_UNREF macro is adjusted so the
after-ast_sched_del-refcall function is only run if ast_sched_del returned
success.

This should fix the following spurious race condition found in chan_sip:
- thread 1: schedule sip_poke_peer_now (using AST_SCHED_REPLACE)
- thread 2: run sip_poke_peer_now
- thread 2: blank out sched-ID (too soon!)
- thread 1: set sched-ID (too late!)
- thread 2: try to delete the currently running sched-ID

After this fix, an ERROR would be logged, but no deadlocks (in do_monitor) nor
excess calls to sip_unref_peer(peer) (causing double frees of rtp_instances and
other madness) should occur.

(Thanks Richard Mudgett for reviewing/improving this "scary" change.)

Note that this change does not fix the observed race condition: unlocked
access to peer->pokeexpire (and potentially other scheduled items in chan_sip),
causing AST_SCHED_DEL_UNREF to look at a changing id. But it will make the
deadlock go away. And in the observed case, it will not have adverse affects
(like memory leaks) because the scheduled item is removed through a different
path.

ASTERISK-28282

Change-Id: Ic26777fa0732725e6ca7010df17af77a012aa856

6 years agoBuild: Separate header install/uninstall
George Joseph [Tue, 16 Jul 2019 12:55:49 +0000 (06:55 -0600)] 
Build: Separate header install/uninstall

Asterisk headers are no longer installed and uninstalled
automatically when performing a "make install" or a
"make uninstall".  To install/uninstall the headers, use
"make install-headers" and "make uninstall-headers".
The headers also continue to be uninstalled when performing a
"make uninstall-all".

Also corrects an issue where /usr/include/asterisk.h was never
being removed at all.

Change-Id: Ia7399f3a0203a4825fc4a9f43b9034dae9a2b643

6 years agomanager: Log AMI actions
Kevin Harwell [Tue, 9 Jul 2019 19:42:51 +0000 (14:42 -0500)] 
manager: Log AMI actions

When manager debugging is turned on, this patch makes it so incoming AMI actions
are now also logged.

Change-Id: I8047524510e7ac97d99482b2448f8e368f29cd47

6 years agores_rtp_asterisk: Move where DTLS MTU variable is defined.
Joshua Colp [Sun, 14 Jul 2019 18:26:41 +0000 (15:26 -0300)] 
res_rtp_asterisk: Move where DTLS MTU variable is defined.

The DTLS MTU variable is not dependent on pjproject and should
not exist in its block.

Change-Id: I7e97d64dc192f2ac81bfe2b72b8229d321c7d026

6 years agoMerge "app_voicemail: Remove dependency on the stasis cache"
Kevin Harwell [Fri, 12 Jul 2019 14:21:15 +0000 (09:21 -0500)] 
Merge "app_voicemail: Remove dependency on the stasis cache"

6 years agoMerge "MWI: Update modules that subscribe to MWI to use new API calls"
Kevin Harwell [Fri, 12 Jul 2019 14:19:18 +0000 (09:19 -0500)] 
Merge "MWI: Update modules that subscribe to MWI to use new API calls"

6 years agoMerge "mwi: Update the MWI core to use stasis_state API"
Kevin Harwell [Fri, 12 Jul 2019 14:18:15 +0000 (09:18 -0500)] 
Merge "mwi: Update the MWI core to use stasis_state API"

6 years agoMerge "stasis_state: Make unsubscribes NULL tolerant"
Kevin Harwell [Fri, 12 Jul 2019 14:17:55 +0000 (09:17 -0500)] 
Merge "stasis_state: Make unsubscribes NULL tolerant"

6 years agoMerge "chan_sip: Handle invalid SDP answer to T.38 re-invite"
Friendly Automation [Thu, 11 Jul 2019 21:35:03 +0000 (16:35 -0500)] 
Merge "chan_sip: Handle invalid SDP answer to T.38 re-invite"

6 years agores_pjsip_messaging: Check for body in in-dialog message
George Joseph [Wed, 12 Jun 2019 18:03:04 +0000 (12:03 -0600)] 
res_pjsip_messaging:  Check for body in in-dialog message

We now check that a body exists and it has a length > 0 before
attempting to process it.

ASTERISK-28447
Reported-by: Gil Richard
Change-Id: Ic469544b22ab848734636588d4c93426cc6f4b1f

6 years agochan_sip: Handle invalid SDP answer to T.38 re-invite
Francesco Castellano [Fri, 28 Jun 2019 16:15:31 +0000 (18:15 +0200)] 
chan_sip: Handle invalid SDP answer to T.38 re-invite

The chan_sip module performs a T.38 re-invite using a single media
stream of udptl, and expects the SDP answer to be the same.

If an SDP answer is received instead that contains an additional
media stream with no joint codec a crash will occur as the code
assumes that at least one joint codec will exist in this
scenario.

This change removes this assumption.

ASTERISK-28465

Change-Id: I8b02845b53344c6babe867a3f0a5231045c7ac87

6 years agoapp_voicemail: Remove dependency on the stasis cache
Kevin Harwell [Wed, 12 Jun 2019 18:49:30 +0000 (13:49 -0500)] 
app_voicemail: Remove dependency on the stasis cache

app_voicemail utilized the stasis cache when polling mailboxes for MWI. This
caused a memory leak (items were not being appropriately removed from the
cache), and subsequent slowdown in system processing. This patch removes the
stasis cache dependency, thus alleviating the memory leak. It does this by
utilizing the new MWI API that better manages state lifetime.

ASTERISK-28443
ASTERISK-27121

Change-Id: Ie89fedaca81ea1fd03d150d9d3a1ef3d53740e46

6 years agoMWI: Update modules that subscribe to MWI to use new API calls
Kevin Harwell [Wed, 12 Jun 2019 18:11:42 +0000 (13:11 -0500)] 
MWI: Update modules that subscribe to MWI to use new API calls

The MWI core recently got some new API calls that make tracking MWI state
lifetime more reliable. This patch updates those modules that subscribe to
specific MWI topics to use the new API. Specifically, these modules now
subscribe to both MWI topics and MWI state.

ASTERISK-28442

Change-Id: I32bef880b647246823dbccdf44a98d384fcabfbd

6 years agomwi: Update the MWI core to use stasis_state API
Kevin Harwell [Tue, 11 Jun 2019 19:12:12 +0000 (14:12 -0500)] 
mwi: Update the MWI core to use stasis_state API

** Note **

This patch is meant to be the minimum needed in order for the MWI core to use
the now underlying stasis_state module. As such it does not completely remove
its reliance on the stasis_cache. Doing so has allowed current consumers to
not have to change, and update those code paths for this patch. When time
allows, subsequent patches can/will be made to those consumers to take advantage
of some of the new MWI API included here. Thus, eventually and ultimately
removing MWI dependency on the stasis_cache.

** End Note **

This patch makes it so the MWI core now takes advantage of the new stasis_state
API. Consumers of MWI should no longer need to depend upon stasis topic pooling,
and the stasis cache directly. Similar functionality and implementation details
have now been pushed into the stasis_state module. However, all MWI state should
be accessed via the MWI API itself.

As such a few new methods, and constructs have been added to the MWI core that
facilitate consumer publishing, subscribing, and iterating over MWI state data.

* ast_mwi_subscriber *

Created via ast_mwi_add_subscriber, a subscriber subscribes to a given mailbox
in order to receive updates about the given mailbox. Adding a subscriber will
create the underlying topic, and associated state data if those do not already
exist for it. The topic, and last known state data is guaranteed to exist for
the lifetime of the subscriber.

* ast_mwi_publisher *

Before publishing to a particular topic a publisher should be created. This can
be achieved by using ast_mwi_add_publisher. Publishing to a mailbox should then
be done using one of the MWI publish functions. This ensures the message is
published to the appropriate topic, and the last known state is maintained.

* ast_mwi_observer *

Add an observer in order to watch for particular MWI module related events. For
instance if a submodule needs to know when a subscription is added to any
mailbox an observer can be added to watch for that.

* other *

Urgent message count is now part of the published MWI state object. Also state
can be iterated over using defined callbacks.

ASTERISK-28442

Change-Id: I93f935f9090cd5ddff6d4bc80ff90703c05cf776

6 years agostasis_state: Make unsubscribes NULL tolerant
Kevin Harwell [Mon, 8 Jul 2019 23:10:07 +0000 (18:10 -0500)] 
stasis_state: Make unsubscribes NULL tolerant

Regular stasis unsubscribes can handle NULL subscription objects. This patch
makes it so stasis state unsubscribes handles NULL's as well.

ASTERISK-28442

Change-Id: Ic3648e8df043a85b77cff085e9ff10356028e479

6 years agoREADME.md: Update year
Rodrigo Ramírez Norambuena [Fri, 5 Jul 2019 00:46:36 +0000 (20:46 -0400)] 
README.md: Update year

Change-Id: I746fb94d112c7d797e206bca0fd1e13fcd26bae3

6 years agoMerge "stasis_state: Add new stasis_state module"
Friendly Automation [Tue, 2 Jul 2019 14:30:35 +0000 (09:30 -0500)] 
Merge "stasis_state: Add new stasis_state module"

6 years agoMerge "chan_dahdi.c: crash in chan_dahdi"
Joshua Colp [Tue, 2 Jul 2019 13:25:41 +0000 (08:25 -0500)] 
Merge "chan_dahdi.c: crash in chan_dahdi"

6 years agochan_dahdi.c: crash in chan_dahdi
Chris-Savinovich [Mon, 1 Jul 2019 21:57:25 +0000 (16:57 -0500)] 
chan_dahdi.c: crash in chan_dahdi

Fixes a crash in chan_dahdi occurring on 32-bit systems. A previous
patch introduced a variable of type unassigned long long which is 64-bits.
Casting it as 'ast_json_int_t' along with JSON type 'I' makes it work
with 32-bit systems.

ASTERISK-28457

Change-Id: I9cef6b5f2d826fc5c93f2f6a1c997c4e3e6c93fe

6 years agores_pjsip_sdp_rtp: Remove unused variable
Kevin Harwell [Mon, 1 Jul 2019 15:49:56 +0000 (10:49 -0500)] 
res_pjsip_sdp_rtp: Remove unused variable

The variable 'endpoint_caps' in function 'set_caps' is not used, so remove.

ASTERISK-28458

Change-Id: Ia8766d05a0738aecb29dd018302c2dafca5cab34

6 years agoMerge "app_voicemail.c: Build all three variants for app_voicemail at the same time"
George Joseph [Mon, 1 Jul 2019 15:20:43 +0000 (10:20 -0500)] 
Merge "app_voicemail.c: Build all three variants for app_voicemail at the same time"

6 years agoMerge "tcptls.c: Add peer hostname and port to some error messages"
George Joseph [Mon, 1 Jul 2019 15:20:11 +0000 (10:20 -0500)] 
Merge "tcptls.c:  Add peer hostname and port to some error messages"

6 years agoMerge "pjproject_bundled: Add peer information to most SSL/TLS errors"
Friendly Automation [Mon, 1 Jul 2019 15:05:26 +0000 (10:05 -0500)] 
Merge "pjproject_bundled:  Add peer information to most SSL/TLS errors"

6 years agostasis_state: Add new stasis_state module
Kevin Harwell [Tue, 11 Jun 2019 17:30:27 +0000 (12:30 -0500)] 
stasis_state: Add new stasis_state module

This new module describes an API that can be thought of as a combination of
stasis topic pools, and caching. Except, hopefully done in a more efficient
and less memory "leaky" manner.

The API defines methods, and data structures for managing, and tracking
published message state through stasis. By adding a subscriber or publisher,
consumers can more easily track the lifetime of the contained state. For
instance, when no more publishers and/or subscribers have need of the topic,
and associated state its data is removed from the managed container.

* stasis_state_manager *

The manager stores and well, manages state data. Each state is an association
of a unique stasis topic, and the last known published stasis message on that
topic. There is only ever one managed state object per topic. For each topic
all messages are forwarded to an "all" topic also maintained by the manager.

* stasis_state_subscriber *

Topic and state can be created, or referenced within the manager by adding a
stasis_state_subscriber. When adding a subscriber if no state currently exists
new managed state is immediately created. If managed state already exists then
a new subscriber is created referencing that state. The managed state is
guaranteed to live throughout the subscriber's lifetime. State is only removed
from the manager when no other entities require it.

* stasis_state_publisher *

Topic and state can be created, or referenced within the manager by also adding
a stasis_state_publisher. When adding a publisher if no state currently exists
new managed state is created. If managed state already exists then a new
publisher is created referencing that state. The managed state is guaranteed to
live throughout the publisher's lifetime. State is only removed from the
manager when no other entities require it.

* stasis_state_observer *

Some modules may wish to watch for, and react to managed state events. By
registering a state observer, and implementing handlers for the desired
callbacks those modules can do so.

* other *

Callbacks also exist that allow consumers to iterate over all, or some of the
managed state.

ASTERISK-28442

Change-Id: I7a4a06685a96e511da9f5bd23f9601642d7bd8e5

6 years agoapp_voicemail.c: Build all three variants for app_voicemail at the same time
Chris-Savinovich [Thu, 27 Jun 2019 18:50:57 +0000 (13:50 -0500)] 
app_voicemail.c: Build all three variants for app_voicemail at the same time

Changes made to apps/Makefile to optionally build all three app_voicemail
variations at the same time: 1) file (default), 2) odbc, and 3) imap.
This functionality was requested by users. modules.conf.sample warns the
user to make sure only one voicemail is loaded at a time.

Change-Id: Iba3cd8ffb4b7e8b1c64a11dd383e1eafcd3ed0e7

6 years agoMerge "pjproject: Update to 2.9 release"
Kevin Harwell [Thu, 27 Jun 2019 21:52:59 +0000 (16:52 -0500)] 
Merge "pjproject: Update to 2.9 release"